Package com.pulumi.aws.ec2transitgateway
Class VpcAttachmentArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2transitgateway.VpcAttachmentArgs.Builder
-
- Enclosing class:
- VpcAttachmentArgs
public static final class VpcAttachmentArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(VpcAttachmentArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VpcAttachmentArgs.BuilderapplianceModeSupport(com.pulumi.core.Output<java.lang.String> applianceModeSupport)VpcAttachmentArgs.BuilderapplianceModeSupport(java.lang.String applianceModeSupport)VpcAttachmentArgsbuild()VpcAttachmentArgs.BuilderdnsSupport(com.pulumi.core.Output<java.lang.String> dnsSupport)VpcAttachmentArgs.BuilderdnsSupport(java.lang.String dnsSupport)VpcAttachmentArgs.Builderipv6Support(com.pulumi.core.Output<java.lang.String> ipv6Support)VpcAttachmentArgs.Builderipv6Support(java.lang.String ipv6Support)VpcAttachmentArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)VpcAttachmentArgs.Builderregion(java.lang.String region)VpcAttachmentArgs.BuildersecurityGroupReferencingSupport(com.pulumi.core.Output<java.lang.String> securityGroupReferencingSupport)VpcAttachmentArgs.BuildersecurityGroupReferencingSupport(java.lang.String securityGroupReferencingSupport)VpcAttachmentArgs.BuildersubnetIds(com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)VpcAttachmentArgs.BuildersubnetIds(java.lang.String... subnetIds)VpcAttachmentArgs.BuildersubnetIds(java.util.List<java.lang.String> subnetIds)VpcAttachmentArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)VpcAttachmentArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)VpcAttachmentArgs.BuildertransitGatewayDefaultRouteTableAssociation(com.pulumi.core.Output<java.lang.Boolean> transitGatewayDefaultRouteTableAssociation)VpcAttachmentArgs.BuildertransitGatewayDefaultRouteTableAssociation(java.lang.Boolean transitGatewayDefaultRouteTableAssociation)VpcAttachmentArgs.BuildertransitGatewayDefaultRouteTablePropagation(com.pulumi.core.Output<java.lang.Boolean> transitGatewayDefaultRouteTablePropagation)VpcAttachmentArgs.BuildertransitGatewayDefaultRouteTablePropagation(java.lang.Boolean transitGatewayDefaultRouteTablePropagation)VpcAttachmentArgs.BuildertransitGatewayId(com.pulumi.core.Output<java.lang.String> transitGatewayId)VpcAttachmentArgs.BuildertransitGatewayId(java.lang.String transitGatewayId)VpcAttachmentArgs.BuildervpcId(com.pulumi.core.Output<java.lang.String> vpcId)VpcAttachmentArgs.BuildervpcId(java.lang.String vpcId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VpcAttachmentArgs defaults)
-
-
Method Detail
-
applianceModeSupport
public VpcAttachmentArgs.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 VpcAttachmentArgs.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
-
dnsSupport
public VpcAttachmentArgs.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 VpcAttachmentArgs.Builder dnsSupport(java.lang.String dnsSupport)
- Parameters:
dnsSupport- Whether DNS support is enabled. Valid values: `disable`, `enable`. Default value: `enable`.- Returns:
- builder
-
ipv6Support
public VpcAttachmentArgs.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 VpcAttachmentArgs.Builder ipv6Support(java.lang.String ipv6Support)
- Parameters:
ipv6Support- Whether IPv6 support is enabled. Valid values: `disable`, `enable`. Default value: `disable`.- Returns:
- builder
-
region
public VpcAttachmentArgs.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 VpcAttachmentArgs.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 VpcAttachmentArgs.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 VpcAttachmentArgs.Builder securityGroupReferencingSupport(java.lang.String securityGroupReferencingSupport)
- Parameters:
securityGroupReferencingSupport- Whether Security Group Referencing Support is enabled. Valid values: `disable`, `enable`.- Returns:
- builder
-
subnetIds
public VpcAttachmentArgs.Builder subnetIds(com.pulumi.core.Output<java.util.List<java.lang.String>> subnetIds)
- Parameters:
subnetIds- Identifiers of EC2 Subnets.- Returns:
- builder
-
subnetIds
public VpcAttachmentArgs.Builder subnetIds(java.util.List<java.lang.String> subnetIds)
- Parameters:
subnetIds- Identifiers of EC2 Subnets.- Returns:
- builder
-
subnetIds
public VpcAttachmentArgs.Builder subnetIds(java.lang.String... subnetIds)
- Parameters:
subnetIds- Identifiers of EC2 Subnets.- Returns:
- builder
-
tags
public VpcAttachmentArgs.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 VpcAttachmentArgs.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
-
transitGatewayDefaultRouteTableAssociation
public VpcAttachmentArgs.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 VpcAttachmentArgs.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 VpcAttachmentArgs.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 VpcAttachmentArgs.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 VpcAttachmentArgs.Builder transitGatewayId(com.pulumi.core.Output<java.lang.String> transitGatewayId)
- Parameters:
transitGatewayId- Identifier of EC2 Transit Gateway.- Returns:
- builder
-
transitGatewayId
public VpcAttachmentArgs.Builder transitGatewayId(java.lang.String transitGatewayId)
- Parameters:
transitGatewayId- Identifier of EC2 Transit Gateway.- Returns:
- builder
-
vpcId
public VpcAttachmentArgs.Builder vpcId(com.pulumi.core.Output<java.lang.String> vpcId)
- Parameters:
vpcId- Identifier of EC2 VPC.- Returns:
- builder
-
vpcId
public VpcAttachmentArgs.Builder vpcId(java.lang.String vpcId)
- Parameters:
vpcId- Identifier of EC2 VPC.- Returns:
- builder
-
build
public VpcAttachmentArgs build()
-
-