Package com.pulumi.aws.ec2.inputs
Class VpcEncryptionControlState.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.VpcEncryptionControlState.Builder
-
- Enclosing class:
- VpcEncryptionControlState
public static final class VpcEncryptionControlState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(VpcEncryptionControlState defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VpcEncryptionControlState defaults)
-
-
Method Detail
-
egressOnlyInternetGatewayExclusion
public VpcEncryptionControlState.Builder egressOnlyInternetGatewayExclusion(@Nullable com.pulumi.core.Output<java.lang.String> egressOnlyInternetGatewayExclusion)
- Parameters:
egressOnlyInternetGatewayExclusion- Whether to exclude Egress-Only Internet Gateways from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
egressOnlyInternetGatewayExclusion
public VpcEncryptionControlState.Builder egressOnlyInternetGatewayExclusion(java.lang.String egressOnlyInternetGatewayExclusion)
- Parameters:
egressOnlyInternetGatewayExclusion- Whether to exclude Egress-Only Internet Gateways from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
elasticFileSystemExclusion
public VpcEncryptionControlState.Builder elasticFileSystemExclusion(@Nullable com.pulumi.core.Output<java.lang.String> elasticFileSystemExclusion)
- Parameters:
elasticFileSystemExclusion- Whether to exclude Elastic File System (EFS) from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
elasticFileSystemExclusion
public VpcEncryptionControlState.Builder elasticFileSystemExclusion(java.lang.String elasticFileSystemExclusion)
- Parameters:
elasticFileSystemExclusion- Whether to exclude Elastic File System (EFS) from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
internetGatewayExclusion
public VpcEncryptionControlState.Builder internetGatewayExclusion(@Nullable com.pulumi.core.Output<java.lang.String> internetGatewayExclusion)
- Parameters:
internetGatewayExclusion- Whether to exclude Internet Gateways from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
internetGatewayExclusion
public VpcEncryptionControlState.Builder internetGatewayExclusion(java.lang.String internetGatewayExclusion)
- Parameters:
internetGatewayExclusion- Whether to exclude Internet Gateways from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
lambdaExclusion
public VpcEncryptionControlState.Builder lambdaExclusion(@Nullable com.pulumi.core.Output<java.lang.String> lambdaExclusion)
- Parameters:
lambdaExclusion- Whether to exclude Lambda Functions from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
lambdaExclusion
public VpcEncryptionControlState.Builder lambdaExclusion(java.lang.String lambdaExclusion)
- Parameters:
lambdaExclusion- Whether to exclude Lambda Functions from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
mode
public VpcEncryptionControlState.Builder mode(@Nullable com.pulumi.core.Output<java.lang.String> mode)
- Parameters:
mode- Mode to enable for VPC Encryption Control. Valid values are `monitor` or `enforce`.- Returns:
- builder
-
mode
public VpcEncryptionControlState.Builder mode(java.lang.String mode)
- Parameters:
mode- Mode to enable for VPC Encryption Control. Valid values are `monitor` or `enforce`.- Returns:
- builder
-
natGatewayExclusion
public VpcEncryptionControlState.Builder natGatewayExclusion(@Nullable com.pulumi.core.Output<java.lang.String> natGatewayExclusion)
- Parameters:
natGatewayExclusion- Whether to exclude NAT Gateways from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
natGatewayExclusion
public VpcEncryptionControlState.Builder natGatewayExclusion(java.lang.String natGatewayExclusion)
- Parameters:
natGatewayExclusion- Whether to exclude NAT Gateways from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
region
public VpcEncryptionControlState.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 VpcEncryptionControlState.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
-
resourceExclusions
public VpcEncryptionControlState.Builder resourceExclusions(@Nullable com.pulumi.core.Output<VpcEncryptionControlResourceExclusionsArgs> resourceExclusions)
- Parameters:
resourceExclusions- State of exclusions from encryption enforcement. Will be `nil` if `mode` is `monitor`. See `resourceExclusions` below.- Returns:
- builder
-
resourceExclusions
public VpcEncryptionControlState.Builder resourceExclusions(VpcEncryptionControlResourceExclusionsArgs resourceExclusions)
- Parameters:
resourceExclusions- State of exclusions from encryption enforcement. Will be `nil` if `mode` is `monitor`. See `resourceExclusions` below.- Returns:
- builder
-
state
public VpcEncryptionControlState.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state- Encryption enforcement state for peered VPCs.- Returns:
- builder
-
state
public VpcEncryptionControlState.Builder state(java.lang.String state)
- Parameters:
state- Encryption enforcement state for peered VPCs.- Returns:
- builder
-
stateMessage
public VpcEncryptionControlState.Builder stateMessage(@Nullable com.pulumi.core.Output<java.lang.String> stateMessage)
- Parameters:
stateMessage- Message providing additional information about the encryption enforcement state.- Returns:
- builder
-
stateMessage
public VpcEncryptionControlState.Builder stateMessage(java.lang.String stateMessage)
- Parameters:
stateMessage- Message providing additional information about the encryption enforcement state.- Returns:
- builder
-
tags
public VpcEncryptionControlState.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 resource. 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 VpcEncryptionControlState.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the resource. 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 VpcEncryptionControlState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public VpcEncryptionControlState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
timeouts
public VpcEncryptionControlState.Builder timeouts(@Nullable com.pulumi.core.Output<VpcEncryptionControlTimeoutsArgs> timeouts)
-
timeouts
public VpcEncryptionControlState.Builder timeouts(VpcEncryptionControlTimeoutsArgs timeouts)
-
virtualPrivateGatewayExclusion
public VpcEncryptionControlState.Builder virtualPrivateGatewayExclusion(@Nullable com.pulumi.core.Output<java.lang.String> virtualPrivateGatewayExclusion)
- Parameters:
virtualPrivateGatewayExclusion- Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
virtualPrivateGatewayExclusion
public VpcEncryptionControlState.Builder virtualPrivateGatewayExclusion(java.lang.String virtualPrivateGatewayExclusion)
- Parameters:
virtualPrivateGatewayExclusion- Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
vpcId
public VpcEncryptionControlState.Builder vpcId(@Nullable com.pulumi.core.Output<java.lang.String> vpcId)
- Parameters:
vpcId- ID of the VPC the VPC Encryption Control is linked to. The following arguments are optional:- Returns:
- builder
-
vpcId
public VpcEncryptionControlState.Builder vpcId(java.lang.String vpcId)
- Parameters:
vpcId- ID of the VPC the VPC Encryption Control is linked to. The following arguments are optional:- Returns:
- builder
-
vpcLatticeExclusion
public VpcEncryptionControlState.Builder vpcLatticeExclusion(@Nullable com.pulumi.core.Output<java.lang.String> vpcLatticeExclusion)
- Parameters:
vpcLatticeExclusion- Whether to exclude VPC Lattice from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
vpcLatticeExclusion
public VpcEncryptionControlState.Builder vpcLatticeExclusion(java.lang.String vpcLatticeExclusion)
- Parameters:
vpcLatticeExclusion- Whether to exclude VPC Lattice from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
vpcPeeringExclusion
public VpcEncryptionControlState.Builder vpcPeeringExclusion(@Nullable com.pulumi.core.Output<java.lang.String> vpcPeeringExclusion)
- Parameters:
vpcPeeringExclusion- Whether to exclude peered VPCs from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
vpcPeeringExclusion
public VpcEncryptionControlState.Builder vpcPeeringExclusion(java.lang.String vpcPeeringExclusion)
- Parameters:
vpcPeeringExclusion- Whether to exclude peered VPCs from encryption enforcement. Valid values are `disable` or `enable`. Default is `disable`. Only valid when `mode` is `enforce`.- Returns:
- builder
-
build
public VpcEncryptionControlState build()
-
-