VpcEncryptionControlExclusionProperty Struct
Describes an exclusion configuration for VPC Encryption Control.
For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const vpcEncryptionControlExclusionProperty: ec2.CfnVPC.VpcEncryptionControlExclusionProperty = {
state: 'state',
stateMessage: 'stateMessage',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2
vpc_encryption_control_exclusion_property = ec2.CfnVPC.VpcEncryptionControlExclusionProperty(
state="state",
state_message="stateMessage"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
VpcEncryptionControlExclusionProperty vpcEncryptionControlExclusionProperty = VpcEncryptionControlExclusionProperty.builder()
.state("state")
.stateMessage("stateMessage")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var vpcEncryptionControlExclusionProperty = new VpcEncryptionControlExclusionProperty {
State = "state",
StateMessage = "stateMessage"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
vpcEncryptionControlExclusionProperty := &VpcEncryptionControlExclusionProperty{
State: jsii.String("state"),
StateMessage: jsii.String("stateMessage"),
}
Properties
The current state of the exclusion configuration.
stateMessageoptionalstringstate_messageoptionalstrstateMessageoptionalStringStateMessageoptionalstringStateMessageoptional*string #A message providing additional information about the exclusion state.