1. Packages
  2. AWS
  3. API Docs
  4. ec2
  5. VpcEncryptionControl
AWS v7.13.0 published on Tuesday, Dec 9, 2025 by Pulumi
aws logo
AWS v7.13.0 published on Tuesday, Dec 9, 2025 by Pulumi

    Manages a VPC Encryption Control.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const exampleVpc = new aws.ec2.Vpc("example", {cidrBlock: "10.1.0.0/16"});
    const example = new aws.ec2.VpcEncryptionControl("example", {
        vpcId: exampleVpc.id,
        mode: "monitor",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example_vpc = aws.ec2.Vpc("example", cidr_block="10.1.0.0/16")
    example = aws.ec2.VpcEncryptionControl("example",
        vpc_id=example_vpc.id,
        mode="monitor")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/ec2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleVpc, err := ec2.NewVpc(ctx, "example", &ec2.VpcArgs{
    			CidrBlock: pulumi.String("10.1.0.0/16"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ec2.NewVpcEncryptionControl(ctx, "example", &ec2.VpcEncryptionControlArgs{
    			VpcId: exampleVpc.ID(),
    			Mode:  pulumi.String("monitor"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleVpc = new Aws.Ec2.Vpc("example", new()
        {
            CidrBlock = "10.1.0.0/16",
        });
    
        var example = new Aws.Ec2.VpcEncryptionControl("example", new()
        {
            VpcId = exampleVpc.Id,
            Mode = "monitor",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ec2.Vpc;
    import com.pulumi.aws.ec2.VpcArgs;
    import com.pulumi.aws.ec2.VpcEncryptionControl;
    import com.pulumi.aws.ec2.VpcEncryptionControlArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var exampleVpc = new Vpc("exampleVpc", VpcArgs.builder()
                .cidrBlock("10.1.0.0/16")
                .build());
    
            var example = new VpcEncryptionControl("example", VpcEncryptionControlArgs.builder()
                .vpcId(exampleVpc.id())
                .mode("monitor")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:ec2:VpcEncryptionControl
        properties:
          vpcId: ${exampleVpc.id}
          mode: monitor
      exampleVpc:
        type: aws:ec2:Vpc
        name: example
        properties:
          cidrBlock: 10.1.0.0/16
    

    Create VpcEncryptionControl Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcEncryptionControl(name: string, args: VpcEncryptionControlArgs, opts?: CustomResourceOptions);
    @overload
    def VpcEncryptionControl(resource_name: str,
                             args: VpcEncryptionControlArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcEncryptionControl(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             mode: Optional[str] = None,
                             vpc_id: Optional[str] = None,
                             region: Optional[str] = None,
                             lambda_exclusion: Optional[str] = None,
                             internet_gateway_exclusion: Optional[str] = None,
                             nat_gateway_exclusion: Optional[str] = None,
                             egress_only_internet_gateway_exclusion: Optional[str] = None,
                             tags: Optional[Mapping[str, str]] = None,
                             timeouts: Optional[VpcEncryptionControlTimeoutsArgs] = None,
                             virtual_private_gateway_exclusion: Optional[str] = None,
                             elastic_file_system_exclusion: Optional[str] = None,
                             vpc_lattice_exclusion: Optional[str] = None,
                             vpc_peering_exclusion: Optional[str] = None)
    func NewVpcEncryptionControl(ctx *Context, name string, args VpcEncryptionControlArgs, opts ...ResourceOption) (*VpcEncryptionControl, error)
    public VpcEncryptionControl(string name, VpcEncryptionControlArgs args, CustomResourceOptions? opts = null)
    public VpcEncryptionControl(String name, VpcEncryptionControlArgs args)
    public VpcEncryptionControl(String name, VpcEncryptionControlArgs args, CustomResourceOptions options)
    
    type: aws:ec2:VpcEncryptionControl
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VpcEncryptionControlArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VpcEncryptionControlArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VpcEncryptionControlArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcEncryptionControlArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcEncryptionControlArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vpcEncryptionControlResource = new Aws.Ec2.VpcEncryptionControl("vpcEncryptionControlResource", new()
    {
        Mode = "string",
        VpcId = "string",
        Region = "string",
        LambdaExclusion = "string",
        InternetGatewayExclusion = "string",
        NatGatewayExclusion = "string",
        EgressOnlyInternetGatewayExclusion = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Aws.Ec2.Inputs.VpcEncryptionControlTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        VirtualPrivateGatewayExclusion = "string",
        ElasticFileSystemExclusion = "string",
        VpcLatticeExclusion = "string",
        VpcPeeringExclusion = "string",
    });
    
    example, err := ec2.NewVpcEncryptionControl(ctx, "vpcEncryptionControlResource", &ec2.VpcEncryptionControlArgs{
    	Mode:                               pulumi.String("string"),
    	VpcId:                              pulumi.String("string"),
    	Region:                             pulumi.String("string"),
    	LambdaExclusion:                    pulumi.String("string"),
    	InternetGatewayExclusion:           pulumi.String("string"),
    	NatGatewayExclusion:                pulumi.String("string"),
    	EgressOnlyInternetGatewayExclusion: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &ec2.VpcEncryptionControlTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	VirtualPrivateGatewayExclusion: pulumi.String("string"),
    	ElasticFileSystemExclusion:     pulumi.String("string"),
    	VpcLatticeExclusion:            pulumi.String("string"),
    	VpcPeeringExclusion:            pulumi.String("string"),
    })
    
    var vpcEncryptionControlResource = new VpcEncryptionControl("vpcEncryptionControlResource", VpcEncryptionControlArgs.builder()
        .mode("string")
        .vpcId("string")
        .region("string")
        .lambdaExclusion("string")
        .internetGatewayExclusion("string")
        .natGatewayExclusion("string")
        .egressOnlyInternetGatewayExclusion("string")
        .tags(Map.of("string", "string"))
        .timeouts(VpcEncryptionControlTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .virtualPrivateGatewayExclusion("string")
        .elasticFileSystemExclusion("string")
        .vpcLatticeExclusion("string")
        .vpcPeeringExclusion("string")
        .build());
    
    vpc_encryption_control_resource = aws.ec2.VpcEncryptionControl("vpcEncryptionControlResource",
        mode="string",
        vpc_id="string",
        region="string",
        lambda_exclusion="string",
        internet_gateway_exclusion="string",
        nat_gateway_exclusion="string",
        egress_only_internet_gateway_exclusion="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        virtual_private_gateway_exclusion="string",
        elastic_file_system_exclusion="string",
        vpc_lattice_exclusion="string",
        vpc_peering_exclusion="string")
    
    const vpcEncryptionControlResource = new aws.ec2.VpcEncryptionControl("vpcEncryptionControlResource", {
        mode: "string",
        vpcId: "string",
        region: "string",
        lambdaExclusion: "string",
        internetGatewayExclusion: "string",
        natGatewayExclusion: "string",
        egressOnlyInternetGatewayExclusion: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        virtualPrivateGatewayExclusion: "string",
        elasticFileSystemExclusion: "string",
        vpcLatticeExclusion: "string",
        vpcPeeringExclusion: "string",
    });
    
    type: aws:ec2:VpcEncryptionControl
    properties:
        egressOnlyInternetGatewayExclusion: string
        elasticFileSystemExclusion: string
        internetGatewayExclusion: string
        lambdaExclusion: string
        mode: string
        natGatewayExclusion: string
        region: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
            update: string
        virtualPrivateGatewayExclusion: string
        vpcId: string
        vpcLatticeExclusion: string
        vpcPeeringExclusion: string
    

    VpcEncryptionControl Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The VpcEncryptionControl resource accepts the following input properties:

    Mode string
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    VpcId string

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    EgressOnlyInternetGatewayExclusion string
    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.
    ElasticFileSystemExclusion string
    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.
    InternetGatewayExclusion string
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    LambdaExclusion string
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    NatGatewayExclusion string
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts VpcEncryptionControlTimeouts
    VirtualPrivateGatewayExclusion string
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    VpcLatticeExclusion string
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    VpcPeeringExclusion string
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    Mode string
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    VpcId string

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    EgressOnlyInternetGatewayExclusion string
    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.
    ElasticFileSystemExclusion string
    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.
    InternetGatewayExclusion string
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    LambdaExclusion string
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    NatGatewayExclusion string
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts VpcEncryptionControlTimeoutsArgs
    VirtualPrivateGatewayExclusion string
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    VpcLatticeExclusion string
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    VpcPeeringExclusion string
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    mode String
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    vpcId String

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    egressOnlyInternetGatewayExclusion String
    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.
    elasticFileSystemExclusion String
    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.
    internetGatewayExclusion String
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    lambdaExclusion String
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    natGatewayExclusion String
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts VpcEncryptionControlTimeouts
    virtualPrivateGatewayExclusion String
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcLatticeExclusion String
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcPeeringExclusion String
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    mode string
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    vpcId string

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    egressOnlyInternetGatewayExclusion string
    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.
    elasticFileSystemExclusion string
    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.
    internetGatewayExclusion string
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    lambdaExclusion string
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    natGatewayExclusion string
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts VpcEncryptionControlTimeouts
    virtualPrivateGatewayExclusion string
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcLatticeExclusion string
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcPeeringExclusion string
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    mode str
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    vpc_id str

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    egress_only_internet_gateway_exclusion str
    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.
    elastic_file_system_exclusion str
    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.
    internet_gateway_exclusion str
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    lambda_exclusion str
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    nat_gateway_exclusion str
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts VpcEncryptionControlTimeoutsArgs
    virtual_private_gateway_exclusion str
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpc_lattice_exclusion str
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpc_peering_exclusion str
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    mode String
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    vpcId String

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    egressOnlyInternetGatewayExclusion String
    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.
    elasticFileSystemExclusion String
    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.
    internetGatewayExclusion String
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    lambdaExclusion String
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    natGatewayExclusion String
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts Property Map
    virtualPrivateGatewayExclusion String
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcLatticeExclusion String
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcPeeringExclusion String
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpcEncryptionControl resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceExclusions VpcEncryptionControlResourceExclusions
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    Id string
    The provider-assigned unique ID for this managed resource.
    ResourceExclusions VpcEncryptionControlResourceExclusions
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceExclusions VpcEncryptionControlResourceExclusions
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    id string
    The provider-assigned unique ID for this managed resource.
    resourceExclusions VpcEncryptionControlResourceExclusions
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    id str
    The provider-assigned unique ID for this managed resource.
    resource_exclusions VpcEncryptionControlResourceExclusions
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    id String
    The provider-assigned unique ID for this managed resource.
    resourceExclusions Property Map
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Look up Existing VpcEncryptionControl Resource

    Get an existing VpcEncryptionControl resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VpcEncryptionControlState, opts?: CustomResourceOptions): VpcEncryptionControl
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            egress_only_internet_gateway_exclusion: Optional[str] = None,
            elastic_file_system_exclusion: Optional[str] = None,
            internet_gateway_exclusion: Optional[str] = None,
            lambda_exclusion: Optional[str] = None,
            mode: Optional[str] = None,
            nat_gateway_exclusion: Optional[str] = None,
            region: Optional[str] = None,
            resource_exclusions: Optional[VpcEncryptionControlResourceExclusionsArgs] = None,
            state: Optional[str] = None,
            state_message: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            timeouts: Optional[VpcEncryptionControlTimeoutsArgs] = None,
            virtual_private_gateway_exclusion: Optional[str] = None,
            vpc_id: Optional[str] = None,
            vpc_lattice_exclusion: Optional[str] = None,
            vpc_peering_exclusion: Optional[str] = None) -> VpcEncryptionControl
    func GetVpcEncryptionControl(ctx *Context, name string, id IDInput, state *VpcEncryptionControlState, opts ...ResourceOption) (*VpcEncryptionControl, error)
    public static VpcEncryptionControl Get(string name, Input<string> id, VpcEncryptionControlState? state, CustomResourceOptions? opts = null)
    public static VpcEncryptionControl get(String name, Output<String> id, VpcEncryptionControlState state, CustomResourceOptions options)
    resources:  _:    type: aws:ec2:VpcEncryptionControl    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    EgressOnlyInternetGatewayExclusion string
    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.
    ElasticFileSystemExclusion string
    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.
    InternetGatewayExclusion string
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    LambdaExclusion string
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    Mode string
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    NatGatewayExclusion string
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ResourceExclusions VpcEncryptionControlResourceExclusions
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    Tags Dictionary<string, string>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    Timeouts VpcEncryptionControlTimeouts
    VirtualPrivateGatewayExclusion string
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    VpcId string

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    VpcLatticeExclusion string
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    VpcPeeringExclusion string
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    EgressOnlyInternetGatewayExclusion string
    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.
    ElasticFileSystemExclusion string
    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.
    InternetGatewayExclusion string
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    LambdaExclusion string
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    Mode string
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    NatGatewayExclusion string
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    ResourceExclusions VpcEncryptionControlResourceExclusionsArgs
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    Tags map[string]string
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    Timeouts VpcEncryptionControlTimeoutsArgs
    VirtualPrivateGatewayExclusion string
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    VpcId string

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    VpcLatticeExclusion string
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    VpcPeeringExclusion string
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    egressOnlyInternetGatewayExclusion String
    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.
    elasticFileSystemExclusion String
    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.
    internetGatewayExclusion String
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    lambdaExclusion String
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    mode String
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    natGatewayExclusion String
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceExclusions VpcEncryptionControlResourceExclusions
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    tags Map<String,String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    timeouts VpcEncryptionControlTimeouts
    virtualPrivateGatewayExclusion String
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcId String

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    vpcLatticeExclusion String
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcPeeringExclusion String
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    egressOnlyInternetGatewayExclusion string
    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.
    elasticFileSystemExclusion string
    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.
    internetGatewayExclusion string
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    lambdaExclusion string
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    mode string
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    natGatewayExclusion string
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceExclusions VpcEncryptionControlResourceExclusions
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    tags {[key: string]: string}
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    timeouts VpcEncryptionControlTimeouts
    virtualPrivateGatewayExclusion string
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcId string

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    vpcLatticeExclusion string
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcPeeringExclusion string
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    egress_only_internet_gateway_exclusion str
    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.
    elastic_file_system_exclusion str
    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.
    internet_gateway_exclusion str
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    lambda_exclusion str
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    mode str
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    nat_gateway_exclusion str
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resource_exclusions VpcEncryptionControlResourceExclusionsArgs
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    tags Mapping[str, str]
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    timeouts VpcEncryptionControlTimeoutsArgs
    virtual_private_gateway_exclusion str
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpc_id str

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    vpc_lattice_exclusion str
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpc_peering_exclusion str
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    egressOnlyInternetGatewayExclusion String
    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.
    elasticFileSystemExclusion String
    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.
    internetGatewayExclusion String
    Whether to exclude Internet Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    lambdaExclusion String
    Whether to exclude Lambda Functions from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    mode String
    Mode to enable for VPC Encryption Control. Valid values are monitor or enforce.
    natGatewayExclusion String
    Whether to exclude NAT Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    resourceExclusions Property Map
    State of exclusions from encryption enforcement. Will be nil if mode is monitor. See resource_exclusions below
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    tags Map<String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    timeouts Property Map
    virtualPrivateGatewayExclusion String
    Whether to exclude Virtual Private Gateways from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcId String

    The ID of the VPC the VPC Encryption Control is linked to.

    The following arguments are optional:

    vpcLatticeExclusion String
    Whether to exclude VPC Lattice from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.
    vpcPeeringExclusion String
    Whether to exclude peered VPCs from encryption enforcement. Valid values are disable or enable. Default is disable. Only valid when mode is enforce.

    Supporting Types

    VpcEncryptionControlResourceExclusions, VpcEncryptionControlResourceExclusionsArgs

    EgressOnlyInternetGateway VpcEncryptionControlResourceExclusionsEgressOnlyInternetGateway
    state and state_message describing encryption enforcement state for Egress-Only Internet Gateways.
    ElasticFileSystem VpcEncryptionControlResourceExclusionsElasticFileSystem
    state and state_message describing encryption enforcement state for Elastic File System (EFS).
    InternetGateway VpcEncryptionControlResourceExclusionsInternetGateway
    state and state_message describing encryption enforcement state for Internet Gateways.
    Lambda VpcEncryptionControlResourceExclusionsLambda
    state and state_message describing encryption enforcement state for Lambda Functions.
    NatGateway VpcEncryptionControlResourceExclusionsNatGateway
    state and state_message describing encryption enforcement state for NAT Gateways.
    VirtualPrivateGateway VpcEncryptionControlResourceExclusionsVirtualPrivateGateway
    state and state_message describing encryption enforcement state for Virtual Private Gateways.
    VpcLattice VpcEncryptionControlResourceExclusionsVpcLattice
    state and state_message describing encryption enforcement state for VPC Lattice.
    VpcPeering VpcEncryptionControlResourceExclusionsVpcPeering
    state and state_message describing encryption enforcement state for peered VPCs.
    EgressOnlyInternetGateway VpcEncryptionControlResourceExclusionsEgressOnlyInternetGateway
    state and state_message describing encryption enforcement state for Egress-Only Internet Gateways.
    ElasticFileSystem VpcEncryptionControlResourceExclusionsElasticFileSystem
    state and state_message describing encryption enforcement state for Elastic File System (EFS).
    InternetGateway VpcEncryptionControlResourceExclusionsInternetGateway
    state and state_message describing encryption enforcement state for Internet Gateways.
    Lambda VpcEncryptionControlResourceExclusionsLambda
    state and state_message describing encryption enforcement state for Lambda Functions.
    NatGateway VpcEncryptionControlResourceExclusionsNatGateway
    state and state_message describing encryption enforcement state for NAT Gateways.
    VirtualPrivateGateway VpcEncryptionControlResourceExclusionsVirtualPrivateGateway
    state and state_message describing encryption enforcement state for Virtual Private Gateways.
    VpcLattice VpcEncryptionControlResourceExclusionsVpcLattice
    state and state_message describing encryption enforcement state for VPC Lattice.
    VpcPeering VpcEncryptionControlResourceExclusionsVpcPeering
    state and state_message describing encryption enforcement state for peered VPCs.
    egressOnlyInternetGateway VpcEncryptionControlResourceExclusionsEgressOnlyInternetGateway
    state and state_message describing encryption enforcement state for Egress-Only Internet Gateways.
    elasticFileSystem VpcEncryptionControlResourceExclusionsElasticFileSystem
    state and state_message describing encryption enforcement state for Elastic File System (EFS).
    internetGateway VpcEncryptionControlResourceExclusionsInternetGateway
    state and state_message describing encryption enforcement state for Internet Gateways.
    lambda VpcEncryptionControlResourceExclusionsLambda
    state and state_message describing encryption enforcement state for Lambda Functions.
    natGateway VpcEncryptionControlResourceExclusionsNatGateway
    state and state_message describing encryption enforcement state for NAT Gateways.
    virtualPrivateGateway VpcEncryptionControlResourceExclusionsVirtualPrivateGateway
    state and state_message describing encryption enforcement state for Virtual Private Gateways.
    vpcLattice VpcEncryptionControlResourceExclusionsVpcLattice
    state and state_message describing encryption enforcement state for VPC Lattice.
    vpcPeering VpcEncryptionControlResourceExclusionsVpcPeering
    state and state_message describing encryption enforcement state for peered VPCs.
    egressOnlyInternetGateway VpcEncryptionControlResourceExclusionsEgressOnlyInternetGateway
    state and state_message describing encryption enforcement state for Egress-Only Internet Gateways.
    elasticFileSystem VpcEncryptionControlResourceExclusionsElasticFileSystem
    state and state_message describing encryption enforcement state for Elastic File System (EFS).
    internetGateway VpcEncryptionControlResourceExclusionsInternetGateway
    state and state_message describing encryption enforcement state for Internet Gateways.
    lambda VpcEncryptionControlResourceExclusionsLambda
    state and state_message describing encryption enforcement state for Lambda Functions.
    natGateway VpcEncryptionControlResourceExclusionsNatGateway
    state and state_message describing encryption enforcement state for NAT Gateways.
    virtualPrivateGateway VpcEncryptionControlResourceExclusionsVirtualPrivateGateway
    state and state_message describing encryption enforcement state for Virtual Private Gateways.
    vpcLattice VpcEncryptionControlResourceExclusionsVpcLattice
    state and state_message describing encryption enforcement state for VPC Lattice.
    vpcPeering VpcEncryptionControlResourceExclusionsVpcPeering
    state and state_message describing encryption enforcement state for peered VPCs.
    egress_only_internet_gateway VpcEncryptionControlResourceExclusionsEgressOnlyInternetGateway
    state and state_message describing encryption enforcement state for Egress-Only Internet Gateways.
    elastic_file_system VpcEncryptionControlResourceExclusionsElasticFileSystem
    state and state_message describing encryption enforcement state for Elastic File System (EFS).
    internet_gateway VpcEncryptionControlResourceExclusionsInternetGateway
    state and state_message describing encryption enforcement state for Internet Gateways.
    lambda_ VpcEncryptionControlResourceExclusionsLambda
    state and state_message describing encryption enforcement state for Lambda Functions.
    nat_gateway VpcEncryptionControlResourceExclusionsNatGateway
    state and state_message describing encryption enforcement state for NAT Gateways.
    virtual_private_gateway VpcEncryptionControlResourceExclusionsVirtualPrivateGateway
    state and state_message describing encryption enforcement state for Virtual Private Gateways.
    vpc_lattice VpcEncryptionControlResourceExclusionsVpcLattice
    state and state_message describing encryption enforcement state for VPC Lattice.
    vpc_peering VpcEncryptionControlResourceExclusionsVpcPeering
    state and state_message describing encryption enforcement state for peered VPCs.
    egressOnlyInternetGateway Property Map
    state and state_message describing encryption enforcement state for Egress-Only Internet Gateways.
    elasticFileSystem Property Map
    state and state_message describing encryption enforcement state for Elastic File System (EFS).
    internetGateway Property Map
    state and state_message describing encryption enforcement state for Internet Gateways.
    lambda Property Map
    state and state_message describing encryption enforcement state for Lambda Functions.
    natGateway Property Map
    state and state_message describing encryption enforcement state for NAT Gateways.
    virtualPrivateGateway Property Map
    state and state_message describing encryption enforcement state for Virtual Private Gateways.
    vpcLattice Property Map
    state and state_message describing encryption enforcement state for VPC Lattice.
    vpcPeering Property Map
    state and state_message describing encryption enforcement state for peered VPCs.

    VpcEncryptionControlResourceExclusionsEgressOnlyInternetGateway, VpcEncryptionControlResourceExclusionsEgressOnlyInternetGatewayArgs

    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.

    VpcEncryptionControlResourceExclusionsElasticFileSystem, VpcEncryptionControlResourceExclusionsElasticFileSystemArgs

    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.

    VpcEncryptionControlResourceExclusionsInternetGateway, VpcEncryptionControlResourceExclusionsInternetGatewayArgs

    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.

    VpcEncryptionControlResourceExclusionsLambda, VpcEncryptionControlResourceExclusionsLambdaArgs

    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.

    VpcEncryptionControlResourceExclusionsNatGateway, VpcEncryptionControlResourceExclusionsNatGatewayArgs

    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.

    VpcEncryptionControlResourceExclusionsVirtualPrivateGateway, VpcEncryptionControlResourceExclusionsVirtualPrivateGatewayArgs

    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.

    VpcEncryptionControlResourceExclusionsVpcLattice, VpcEncryptionControlResourceExclusionsVpcLatticeArgs

    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.

    VpcEncryptionControlResourceExclusionsVpcPeering, VpcEncryptionControlResourceExclusionsVpcPeeringArgs

    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    State string
    The current state of the VPC Encryption Control.
    StateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.
    state string
    The current state of the VPC Encryption Control.
    stateMessage string
    A message providing additional information about the state of the VPC Encryption Control.
    state str
    The current state of the VPC Encryption Control.
    state_message str
    A message providing additional information about the state of the VPC Encryption Control.
    state String
    The current state of the VPC Encryption Control.
    stateMessage String
    A message providing additional information about the state of the VPC Encryption Control.

    VpcEncryptionControlTimeouts, VpcEncryptionControlTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Using pulumi import, import VPC Encryption Control using the id. For example:

    $ pulumi import aws:ec2/vpcEncryptionControl:VpcEncryptionControl example vpcec-12345678901234567
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.13.0 published on Tuesday, Dec 9, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate