UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

50 lines (49 loc) 1.77 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource Type definition for AWS::EC2::VPCEncryptionControl */ export declare function getVpcEncryptionControl(args: GetVpcEncryptionControlArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcEncryptionControlResult>; export interface GetVpcEncryptionControlArgs { /** * The VPC encryption control resource id. */ vpcEncryptionControlId: string; } export interface GetVpcEncryptionControlResult { /** * The VPC encryption control mode, either monitor or enforce. */ readonly mode?: enums.ec2.VpcEncryptionControlMode; /** * Enumerates the states of all the VPC encryption control resource exclusions */ readonly resourceExclusions?: outputs.ec2.VpcEncryptionControlResourceExclusions; /** * The current state of the VPC encryption control. */ readonly state?: enums.ec2.VpcEncryptionControlState; /** * Provides additional context on the state of the VPC encryption control. */ readonly stateMessage?: string; /** * The tags to assign to the VPC encryption control. */ readonly tags?: outputs.Tag[]; /** * The VPC encryption control resource id. */ readonly vpcEncryptionControlId?: string; } /** * Resource Type definition for AWS::EC2::VPCEncryptionControl */ export declare function getVpcEncryptionControlOutput(args: GetVpcEncryptionControlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcEncryptionControlResult>; export interface GetVpcEncryptionControlOutputArgs { /** * The VPC encryption control resource id. */ vpcEncryptionControlId: pulumi.Input<string>; }