Package com.pulumi.aws.ec2.inputs
Class EncryptionControlState.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.EncryptionControlState.Builder
-
- Enclosing class:
- EncryptionControlState
public static final class EncryptionControlState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(EncryptionControlState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EncryptionControlStatebuild()EncryptionControlState.BuilderegressOnlyInternetGatewayExclusion(com.pulumi.core.Output<java.lang.String> egressOnlyInternetGatewayExclusion)EncryptionControlState.BuilderegressOnlyInternetGatewayExclusion(java.lang.String egressOnlyInternetGatewayExclusion)EncryptionControlState.BuilderelasticFileSystemExclusion(com.pulumi.core.Output<java.lang.String> elasticFileSystemExclusion)EncryptionControlState.BuilderelasticFileSystemExclusion(java.lang.String elasticFileSystemExclusion)EncryptionControlState.BuilderinternetGatewayExclusion(com.pulumi.core.Output<java.lang.String> internetGatewayExclusion)EncryptionControlState.BuilderinternetGatewayExclusion(java.lang.String internetGatewayExclusion)EncryptionControlState.BuilderlambdaExclusion(com.pulumi.core.Output<java.lang.String> lambdaExclusion)EncryptionControlState.BuilderlambdaExclusion(java.lang.String lambdaExclusion)EncryptionControlState.Buildermode(com.pulumi.core.Output<java.lang.String> mode)EncryptionControlState.Buildermode(java.lang.String mode)EncryptionControlState.BuildernatGatewayExclusion(com.pulumi.core.Output<java.lang.String> natGatewayExclusion)EncryptionControlState.BuildernatGatewayExclusion(java.lang.String natGatewayExclusion)EncryptionControlState.Builderregion(com.pulumi.core.Output<java.lang.String> region)EncryptionControlState.Builderregion(java.lang.String region)EncryptionControlState.BuilderresourceExclusions(EncryptionControlResourceExclusionsArgs resourceExclusions)EncryptionControlState.BuilderresourceExclusions(com.pulumi.core.Output<EncryptionControlResourceExclusionsArgs> resourceExclusions)EncryptionControlState.Builderstate(com.pulumi.core.Output<java.lang.String> state)EncryptionControlState.Builderstate(java.lang.String state)EncryptionControlState.BuilderstateMessage(com.pulumi.core.Output<java.lang.String> stateMessage)EncryptionControlState.BuilderstateMessage(java.lang.String stateMessage)EncryptionControlState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)EncryptionControlState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)EncryptionControlState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)EncryptionControlState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)EncryptionControlState.Buildertimeouts(EncryptionControlTimeoutsArgs timeouts)EncryptionControlState.Buildertimeouts(com.pulumi.core.Output<EncryptionControlTimeoutsArgs> timeouts)EncryptionControlState.BuildervirtualPrivateGatewayExclusion(com.pulumi.core.Output<java.lang.String> virtualPrivateGatewayExclusion)EncryptionControlState.BuildervirtualPrivateGatewayExclusion(java.lang.String virtualPrivateGatewayExclusion)EncryptionControlState.BuildervpcId(com.pulumi.core.Output<java.lang.String> vpcId)EncryptionControlState.BuildervpcId(java.lang.String vpcId)EncryptionControlState.BuildervpcLatticeExclusion(com.pulumi.core.Output<java.lang.String> vpcLatticeExclusion)EncryptionControlState.BuildervpcLatticeExclusion(java.lang.String vpcLatticeExclusion)EncryptionControlState.BuildervpcPeeringExclusion(com.pulumi.core.Output<java.lang.String> vpcPeeringExclusion)EncryptionControlState.BuildervpcPeeringExclusion(java.lang.String vpcPeeringExclusion)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EncryptionControlState defaults)
-
-
Method Detail
-
egressOnlyInternetGatewayExclusion
public EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.Builder resourceExclusions(@Nullable com.pulumi.core.Output<EncryptionControlResourceExclusionsArgs> resourceExclusions)
- Parameters:
resourceExclusions- State of exclusions from encryption enforcement. Will be `nil` if `mode` is `monitor`. See `resourceExclusions` below.- Returns:
- builder
-
resourceExclusions
public EncryptionControlState.Builder resourceExclusions(EncryptionControlResourceExclusionsArgs resourceExclusions)
- Parameters:
resourceExclusions- State of exclusions from encryption enforcement. Will be `nil` if `mode` is `monitor`. See `resourceExclusions` below.- Returns:
- builder
-
state
public EncryptionControlState.Builder state(@Nullable com.pulumi.core.Output<java.lang.String> state)
- Parameters:
state- Encryption enforcement state for peered VPCs.- Returns:
- builder
-
state
public EncryptionControlState.Builder state(java.lang.String state)
- Parameters:
state- Encryption enforcement state for peered VPCs.- Returns:
- builder
-
stateMessage
public EncryptionControlState.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 EncryptionControlState.Builder stateMessage(java.lang.String stateMessage)
- Parameters:
stateMessage- Message providing additional information about the encryption enforcement state.- Returns:
- builder
-
tags
public EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.Builder timeouts(@Nullable com.pulumi.core.Output<EncryptionControlTimeoutsArgs> timeouts)
-
timeouts
public EncryptionControlState.Builder timeouts(EncryptionControlTimeoutsArgs timeouts)
-
virtualPrivateGatewayExclusion
public EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState.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 EncryptionControlState build()
-
-