CfnEnvironmentPropsMixin
- class aws_cdk.mixins_preview.aws_datazone.mixins.CfnEnvironmentPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DataZone::Environmentresource specifies an Amazon DataZone environment, which is a collection of zero or more configured resources with a given set of IAM principals who can operate on those resources.- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-environment.html
- CloudformationResource:
AWS::DataZone::Environment
- 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_datazone import mixins as datazone_mixins cfn_environment_props_mixin = datazone_mixins.CfnEnvironmentPropsMixin(datazone_mixins.CfnEnvironmentMixinProps( description="description", domain_identifier="domainIdentifier", environment_account_identifier="environmentAccountIdentifier", environment_account_region="environmentAccountRegion", environment_profile_identifier="environmentProfileIdentifier", environment_role_arn="environmentRoleArn", glossary_terms=["glossaryTerms"], name="name", project_identifier="projectIdentifier", user_parameters=[datazone_mixins.CfnEnvironmentPropsMixin.EnvironmentParameterProperty( name="name", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DataZone::Environment.- Parameters:
props (
Union[CfnEnvironmentMixinProps,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', 'domainIdentifier', 'environmentAccountIdentifier', 'environmentAccountRegion', 'environmentProfileIdentifier', 'environmentRoleArn', 'glossaryTerms', 'name', 'projectIdentifier', 'userParameters']
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
EnvironmentParameterProperty
- class CfnEnvironmentPropsMixin.EnvironmentParameterProperty(*, name=None, value=None)
Bases:
objectThe parameter details of the environment.
- Parameters:
name (
Optional[str]) – The name of the environment parameter.value (
Optional[str]) – The value of the environment parameter.
- See:
- 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_datazone import mixins as datazone_mixins environment_parameter_property = datazone_mixins.CfnEnvironmentPropsMixin.EnvironmentParameterProperty( name="name", value="value" )
Attributes
- name
The name of the environment parameter.
- value
The value of the environment parameter.