# AWS::VpcLattice::Listener WeightedTargetGroup ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "TargetGroupIdentifier" : String,
    "Weight" : Integer
}
### YAML
TargetGroupIdentifier: String
Weight: Integer
## Properties #### TargetGroupIdentifier _Required_: Yes _Type_: String _Minimum Length_: 20 _Maximum Length_: 2048 _Pattern_: ^((tg-[0-9a-z]{17})|(arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:targetgroup/tg-[0-9a-z]{17}))$ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Weight _Required_: No _Type_: Integer _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)