Package com.pulumi.aws.ec2
Class VpcBlockPublicAccessExclusionArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.VpcBlockPublicAccessExclusionArgs.Builder
-
- Enclosing class:
- VpcBlockPublicAccessExclusionArgs
public static final class VpcBlockPublicAccessExclusionArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(VpcBlockPublicAccessExclusionArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VpcBlockPublicAccessExclusionArgs defaults)
-
-
Method Detail
-
internetGatewayExclusionMode
public VpcBlockPublicAccessExclusionArgs.Builder internetGatewayExclusionMode(com.pulumi.core.Output<java.lang.String> internetGatewayExclusionMode)
- Parameters:
internetGatewayExclusionMode- Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. The following arguments are optional:- Returns:
- builder
-
internetGatewayExclusionMode
public VpcBlockPublicAccessExclusionArgs.Builder internetGatewayExclusionMode(java.lang.String internetGatewayExclusionMode)
- Parameters:
internetGatewayExclusionMode- Mode of exclusion from Block Public Access. The allowed values are `allow-egress` and `allow-bidirectional`. The following arguments are optional:- Returns:
- builder
-
region
public VpcBlockPublicAccessExclusionArgs.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 VpcBlockPublicAccessExclusionArgs.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
-
subnetId
public VpcBlockPublicAccessExclusionArgs.Builder subnetId(@Nullable com.pulumi.core.Output<java.lang.String> subnetId)
- Parameters:
subnetId- ID of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided.- Returns:
- builder
-
subnetId
public VpcBlockPublicAccessExclusionArgs.Builder subnetId(java.lang.String subnetId)
- Parameters:
subnetId- ID of the subnet to which this exclusion applies. Either this or the vpcId needs to be provided.- Returns:
- builder
-
tags
public VpcBlockPublicAccessExclusionArgs.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the exclusion. 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 VpcBlockPublicAccessExclusionArgs.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the exclusion. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
timeouts
public VpcBlockPublicAccessExclusionArgs.Builder timeouts(@Nullable com.pulumi.core.Output<VpcBlockPublicAccessExclusionTimeoutsArgs> timeouts)
-
timeouts
public VpcBlockPublicAccessExclusionArgs.Builder timeouts(VpcBlockPublicAccessExclusionTimeoutsArgs timeouts)
-
vpcId
public VpcBlockPublicAccessExclusionArgs.Builder vpcId(@Nullable com.pulumi.core.Output<java.lang.String> vpcId)
- Parameters:
vpcId- ID of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided.- Returns:
- builder
-
vpcId
public VpcBlockPublicAccessExclusionArgs.Builder vpcId(java.lang.String vpcId)
- Parameters:
vpcId- ID of the VPC to which this exclusion applies. Either this or the subnetId needs to be provided.- Returns:
- builder
-
build
public VpcBlockPublicAccessExclusionArgs build()
-
-