Class EncryptionControlState.Builder

  • Enclosing class:
    EncryptionControlState

    public static final class EncryptionControlState.Builder
    extends java.lang.Object
    • 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
      • 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
      • 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