CfnVerifiedAccessGroupPropsMixin

class aws_cdk.mixins_preview.aws_ec2.mixins.CfnVerifiedAccessGroupPropsMixin(props, *, strategy=None)

Bases: Mixin

An AWS Verified Access group is a collection of AWS Verified Access endpoints who’s associated applications have similar security requirements.

Each instance within a Verified Access group shares an Verified Access policy. For example, you can group all Verified Access instances associated with “sales” applications together and use one common Verified Access policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-verifiedaccessgroup.html

CloudformationResource:

AWS::EC2::VerifiedAccessGroup

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

cfn_verified_access_group_props_mixin = ec2_mixins.CfnVerifiedAccessGroupPropsMixin(ec2_mixins.CfnVerifiedAccessGroupMixinProps(
    description="description",
    policy_document="policyDocument",
    policy_enabled=False,
    sse_specification=ec2_mixins.CfnVerifiedAccessGroupPropsMixin.SseSpecificationProperty(
        customer_managed_key_enabled=False,
        kms_key_arn="kmsKeyArn"
    ),
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    verified_access_instance_id="verifiedAccessInstanceId"
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::EC2::VerifiedAccessGroup.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'policyDocument', 'policyEnabled', 'sseSpecification', 'tags', 'verifiedAccessInstanceId']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

SseSpecificationProperty

class CfnVerifiedAccessGroupPropsMixin.SseSpecificationProperty(*, customer_managed_key_enabled=None, kms_key_arn=None)

Bases: object

AWS Verified Access provides server side encryption by default to data at rest using AWS -owned KMS keys.

You also have the option of using customer managed KMS keys, which can be specified using the options below.

Parameters:
  • customer_managed_key_enabled (Union[bool, IResolvable, None]) – Enable or disable the use of customer managed KMS keys for server side encryption. Valid values: True | False

  • kms_key_arn (Optional[str]) – The ARN of the KMS key.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessgroup-ssespecification.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_ec2 import mixins as ec2_mixins

sse_specification_property = ec2_mixins.CfnVerifiedAccessGroupPropsMixin.SseSpecificationProperty(
    customer_managed_key_enabled=False,
    kms_key_arn="kmsKeyArn"
)

Attributes

customer_managed_key_enabled

Enable or disable the use of customer managed KMS keys for server side encryption.

Valid values: True | False

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessgroup-ssespecification.html#cfn-ec2-verifiedaccessgroup-ssespecification-customermanagedkeyenabled

kms_key_arn

The ARN of the KMS key.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-verifiedaccessgroup-ssespecification.html#cfn-ec2-verifiedaccessgroup-ssespecification-kmskeyarn