CfnEnvironmentTemplatePropsMixin
- class aws_cdk.mixins_preview.aws_proton.mixins.CfnEnvironmentTemplatePropsMixin(props, *, strategy=None)
Bases:
MixinCreate 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
provisioningparameter and set the value toCUSTOMER_MANAGED. For more information, see Register and publish an environment template in the AWS Proton User Guide .
- See:
- 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:
props (
Union[CfnEnvironmentTemplateMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- 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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental