CfnEnvironmentTemplatePropsMixin

class aws_cdk.mixins_preview.aws_proton.mixins.CfnEnvironmentTemplatePropsMixin(props, *, strategy=None)

Bases: Mixin

Create an environment template for AWS Proton .

For more information, see Environment Templates in the AWS Proton User Guide .

You can create an environment template in one of the two following ways:

  • Register and publish a standard environment template that instructs AWS Proton to deploy and manage environment infrastructure.

  • Register and publish a customer managed environment template that connects AWS Proton to your existing provisioned infrastructure that you manage. AWS Proton doesn’t manage your existing provisioned infrastructure. To create an environment template for customer provisioned and managed infrastructure, include the provisioning parameter and set the value to CUSTOMER_MANAGED . For more information, see Register and publish an environment template in the AWS Proton User Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-proton-environmenttemplate.html

CloudformationResource:

AWS::Proton::EnvironmentTemplate

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_proton import mixins as proton_mixins

cfn_environment_template_props_mixin = proton_mixins.CfnEnvironmentTemplatePropsMixin(proton_mixins.CfnEnvironmentTemplateMixinProps(
    description="description",
    display_name="displayName",
    encryption_key="encryptionKey",
    name="name",
    provisioning="provisioning",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::Proton::EnvironmentTemplate.

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', 'displayName', 'encryptionKey', 'name', 'provisioning', 'tags']

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