TargetGroupAttachmentArgs constructor
Creates a new TargetGroupAttachmentArgs.
instance EC2 Instance to attach to the Target Group. Exactly 1 of instance, instanceId, lambda or lambdaArn must be provided.
instanceId ID of an EC2 Instance to attach to the Target Group. Exactly 1 of instance, instanceId, lambda or lambdaArn must be provided.
lambda Lambda Function to attach to the Target Group. Exactly 1 of instance, instanceId, lambda or lambdaArn must be provided.
lambdaArn ARN of a Lambda Function to attach to the Target Group. Exactly 1 of instance, instanceId, lambda or lambdaArn must be provided.
targetGroup Target Group to attach to. Exactly one of targetGroup or targetGroupArn must be specified.
targetGroupArn ARN of the Target Group to attach to. Exactly one of targetGroup or targetGroupArn must be specified.
Implementation
const TargetGroupAttachmentArgs({
this.instance,
this.instanceId,
this.lambda,
this.lambdaArn,
this.targetGroup,
this.targetGroupArn,
});