CfnSubscriptionTargetPropsMixin
- class aws_cdk.mixins_preview.aws_datazone.mixins.CfnSubscriptionTargetPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DataZone::SubscriptionTargetresource specifies an Amazon DataZone subscription target.Subscription targets enable you to access the data to which you have subscribed in your projects. A subscription target specifies the location (for example, a database or a schema) and the required permissions (for example, an IAM role) that Amazon DataZone can use to establish a connection with the source data and to create the necessary grants so that members of the Amazon DataZone project can start querying the data to which they have subscribed.
- See:
- CloudformationResource:
AWS::DataZone::SubscriptionTarget
- 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_subscription_target_props_mixin = datazone_mixins.CfnSubscriptionTargetPropsMixin(datazone_mixins.CfnSubscriptionTargetMixinProps( applicable_asset_types=["applicableAssetTypes"], authorized_principals=["authorizedPrincipals"], domain_identifier="domainIdentifier", environment_identifier="environmentIdentifier", manage_access_role="manageAccessRole", name="name", provider="provider", subscription_target_config=[datazone_mixins.CfnSubscriptionTargetPropsMixin.SubscriptionTargetFormProperty( content="content", form_name="formName" )], type="type" ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DataZone::SubscriptionTarget.- Parameters:
props (
Union[CfnSubscriptionTargetMixinProps,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 = ['applicableAssetTypes', 'authorizedPrincipals', 'domainIdentifier', 'environmentIdentifier', 'manageAccessRole', 'name', 'provider', 'subscriptionTargetConfig', 'type']
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
SubscriptionTargetFormProperty
- class CfnSubscriptionTargetPropsMixin.SubscriptionTargetFormProperty(*, content=None, form_name=None)
Bases:
objectThe details of the subscription target configuration.
- Parameters:
content (
Optional[str]) – The content of the subscription target configuration.form_name (
Optional[str]) – The form name included in the subscription target configuration.
- 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 subscription_target_form_property = datazone_mixins.CfnSubscriptionTargetPropsMixin.SubscriptionTargetFormProperty( content="content", form_name="formName" )
Attributes
- content
The content of the subscription target configuration.
- form_name
The form name included in the subscription target configuration.