Class TargetGroupAttachmentArgs.Builder

  • Enclosing class:
    TargetGroupAttachmentArgs

    public static final class TargetGroupAttachmentArgs.Builder
    extends java.lang.Object
    • Method Detail

      • availabilityZone

        public TargetGroupAttachmentArgs.Builder availabilityZone​(@Nullable
                                                                  com.pulumi.core.Output<java.lang.String> availabilityZone)
        Parameters:
        availabilityZone - The Availability Zone where the IP address of the target is to be registered. If the private IP address is outside of the VPC scope, this value must be set to `all`.
        Returns:
        builder
      • availabilityZone

        public TargetGroupAttachmentArgs.Builder availabilityZone​(java.lang.String availabilityZone)
        Parameters:
        availabilityZone - The Availability Zone where the IP address of the target is to be registered. If the private IP address is outside of the VPC scope, this value must be set to `all`.
        Returns:
        builder
      • port

        public TargetGroupAttachmentArgs.Builder port​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> port)
        Parameters:
        port - The port on which targets receive traffic.
        Returns:
        builder
      • quicServerId

        public TargetGroupAttachmentArgs.Builder quicServerId​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> quicServerId)
        Parameters:
        quicServerId - Server ID for the targets, consisting of the 0x prefix followed by 16 hexadecimal characters. The value must be unique at the listener level. Required if `aws.lb.TargetGroup` protocol is `QUIC` or `TCP_QUIC`. Not valid with other protocols. Forces replacement if modified.
        Returns:
        builder
      • quicServerId

        public TargetGroupAttachmentArgs.Builder quicServerId​(java.lang.String quicServerId)
        Parameters:
        quicServerId - Server ID for the targets, consisting of the 0x prefix followed by 16 hexadecimal characters. The value must be unique at the listener level. Required if `aws.lb.TargetGroup` protocol is `QUIC` or `TCP_QUIC`. Not valid with other protocols. Forces replacement if modified.
        Returns:
        builder
      • region

        public TargetGroupAttachmentArgs.Builder region​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public TargetGroupAttachmentArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • targetGroupArn

        public TargetGroupAttachmentArgs.Builder targetGroupArn​(com.pulumi.core.Output<java.lang.String> targetGroupArn)
        Parameters:
        targetGroupArn - The ARN of the target group with which to register targets.
        Returns:
        builder
      • targetGroupArn

        public TargetGroupAttachmentArgs.Builder targetGroupArn​(java.lang.String targetGroupArn)
        Parameters:
        targetGroupArn - The ARN of the target group with which to register targets.
        Returns:
        builder
      • targetId

        public TargetGroupAttachmentArgs.Builder targetId​(com.pulumi.core.Output<java.lang.String> targetId)
        Parameters:
        targetId - The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is `ip`, specify an IP address. If the target type is `lambda`, specify the Lambda function ARN. If the target type is `alb`, specify the ALB ARN. The following arguments are optional:
        Returns:
        builder
      • targetId

        public TargetGroupAttachmentArgs.Builder targetId​(java.lang.String targetId)
        Parameters:
        targetId - The ID of the target. This is the Instance ID for an instance, or the container ID for an ECS container. If the target type is `ip`, specify an IP address. If the target type is `lambda`, specify the Lambda function ARN. If the target type is `alb`, specify the ALB ARN. The following arguments are optional:
        Returns:
        builder