Class VpcAttachmentState.Builder

  • Enclosing class:
    VpcAttachmentState

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

      • applianceModeSupport

        public VpcAttachmentState.Builder applianceModeSupport​(@Nullable
                                                               com.pulumi.core.Output<java.lang.String> applianceModeSupport)
        Parameters:
        applianceModeSupport - Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • applianceModeSupport

        public VpcAttachmentState.Builder applianceModeSupport​(java.lang.String applianceModeSupport)
        Parameters:
        applianceModeSupport - Whether Appliance Mode support is enabled. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • arn

        public VpcAttachmentState.Builder arn​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the attachment.
        Returns:
        builder
      • dnsSupport

        public VpcAttachmentState.Builder dnsSupport​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> dnsSupport)
        Parameters:
        dnsSupport - Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder
      • dnsSupport

        public VpcAttachmentState.Builder dnsSupport​(java.lang.String dnsSupport)
        Parameters:
        dnsSupport - Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.
        Returns:
        builder
      • ipv6Support

        public VpcAttachmentState.Builder ipv6Support​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> ipv6Support)
        Parameters:
        ipv6Support - Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • ipv6Support

        public VpcAttachmentState.Builder ipv6Support​(java.lang.String ipv6Support)
        Parameters:
        ipv6Support - Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`.
        Returns:
        builder
      • region

        public VpcAttachmentState.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 VpcAttachmentState.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
      • securityGroupReferencingSupport

        public VpcAttachmentState.Builder securityGroupReferencingSupport​(@Nullable
                                                                          com.pulumi.core.Output<java.lang.String> securityGroupReferencingSupport)
        Parameters:
        securityGroupReferencingSupport - Whether Security Group Referencing Support is enabled. Valid values: `disable`, `enable`.
        Returns:
        builder
      • securityGroupReferencingSupport

        public VpcAttachmentState.Builder securityGroupReferencingSupport​(java.lang.String securityGroupReferencingSupport)
        Parameters:
        securityGroupReferencingSupport - Whether Security Group Referencing Support is enabled. Valid values: `disable`, `enable`.
        Returns:
        builder
      • subnetIds

        public VpcAttachmentState.Builder subnetIds​(@Nullable
                                                    com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
        Parameters:
        subnetIds - Identifiers of EC2 Subnets.
        Returns:
        builder
      • subnetIds

        public VpcAttachmentState.Builder subnetIds​(java.util.List<java.lang.String> subnetIds)
        Parameters:
        subnetIds - Identifiers of EC2 Subnets.
        Returns:
        builder
      • subnetIds

        public VpcAttachmentState.Builder subnetIds​(java.lang.String... subnetIds)
        Parameters:
        subnetIds - Identifiers of EC2 Subnets.
        Returns:
        builder
      • tags

        public VpcAttachmentState.Builder tags​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public VpcAttachmentState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value tags for the EC2 Transit Gateway VPC Attachment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        public VpcAttachmentState.Builder tagsAll​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public VpcAttachmentState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • transitGatewayDefaultRouteTableAssociation

        public VpcAttachmentState.Builder transitGatewayDefaultRouteTableAssociation​(@Nullable
                                                                                     com.pulumi.core.Output<java.lang.Boolean> transitGatewayDefaultRouteTableAssociation)
        Parameters:
        transitGatewayDefaultRouteTableAssociation - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. **Setting this argument to** `false` will cause Terraform to remove the default association if it exists. This argument does not simply “ignore” the association; it actively manages (adds or removes) the association in AWS to match the value in your configuration. Do not attempt to manage the same association with both this resource and `aws.ec2transitgateway.RouteTableAssociation`, as this will cause perpetual diffs and resource churn. Use conditional logic to ensure only one resource manages the association at a time.
        Returns:
        builder
      • transitGatewayDefaultRouteTableAssociation

        public VpcAttachmentState.Builder transitGatewayDefaultRouteTableAssociation​(java.lang.Boolean transitGatewayDefaultRouteTableAssociation)
        Parameters:
        transitGatewayDefaultRouteTableAssociation - Boolean whether the VPC Attachment should be associated with the EC2 Transit Gateway association default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. **Setting this argument to** `false` will cause Terraform to remove the default association if it exists. This argument does not simply “ignore” the association; it actively manages (adds or removes) the association in AWS to match the value in your configuration. Do not attempt to manage the same association with both this resource and `aws.ec2transitgateway.RouteTableAssociation`, as this will cause perpetual diffs and resource churn. Use conditional logic to ensure only one resource manages the association at a time.
        Returns:
        builder
      • transitGatewayDefaultRouteTablePropagation

        public VpcAttachmentState.Builder transitGatewayDefaultRouteTablePropagation​(@Nullable
                                                                                     com.pulumi.core.Output<java.lang.Boolean> transitGatewayDefaultRouteTablePropagation)
        Parameters:
        transitGatewayDefaultRouteTablePropagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. **Setting this argument to** `false` will cause Terraform to remove the default propagation if it exists. This argument does not simply “ignore” the propagation; it actively manages (adds or removes) the propagation in AWS to match the value in your configuration. Do not attempt to manage the same propagation with both this resource and `aws.ec2transitgateway.RouteTablePropagation`, as this will cause perpetual diffs and resource churn. Use conditional logic to ensure only one resource manages the propagation at a time.
        Returns:
        builder
      • transitGatewayDefaultRouteTablePropagation

        public VpcAttachmentState.Builder transitGatewayDefaultRouteTablePropagation​(java.lang.Boolean transitGatewayDefaultRouteTablePropagation)
        Parameters:
        transitGatewayDefaultRouteTablePropagation - Boolean whether the VPC Attachment should propagate routes with the EC2 Transit Gateway propagation default route table. This cannot be configured or perform drift detection with Resource Access Manager shared EC2 Transit Gateways. Default value: `true`. **Setting this argument to** `false` will cause Terraform to remove the default propagation if it exists. This argument does not simply “ignore” the propagation; it actively manages (adds or removes) the propagation in AWS to match the value in your configuration. Do not attempt to manage the same propagation with both this resource and `aws.ec2transitgateway.RouteTablePropagation`, as this will cause perpetual diffs and resource churn. Use conditional logic to ensure only one resource manages the propagation at a time.
        Returns:
        builder
      • transitGatewayId

        public VpcAttachmentState.Builder transitGatewayId​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> transitGatewayId)
        Parameters:
        transitGatewayId - Identifier of EC2 Transit Gateway.
        Returns:
        builder
      • transitGatewayId

        public VpcAttachmentState.Builder transitGatewayId​(java.lang.String transitGatewayId)
        Parameters:
        transitGatewayId - Identifier of EC2 Transit Gateway.
        Returns:
        builder
      • vpcId

        public VpcAttachmentState.Builder vpcId​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> vpcId)
        Parameters:
        vpcId - Identifier of EC2 VPC.
        Returns:
        builder
      • vpcId

        public VpcAttachmentState.Builder vpcId​(java.lang.String vpcId)
        Parameters:
        vpcId - Identifier of EC2 VPC.
        Returns:
        builder
      • vpcOwnerId

        public VpcAttachmentState.Builder vpcOwnerId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> vpcOwnerId)
        Parameters:
        vpcOwnerId - Identifier of the AWS account that owns the EC2 VPC.
        Returns:
        builder
      • vpcOwnerId

        public VpcAttachmentState.Builder vpcOwnerId​(java.lang.String vpcOwnerId)
        Parameters:
        vpcOwnerId - Identifier of the AWS account that owns the EC2 VPC.
        Returns:
        builder