CfnSubscriptionTargetPropsMixin

class aws_cdk.mixins_preview.aws_datazone.mixins.CfnSubscriptionTargetPropsMixin(props, *, strategy=None)

Bases: Mixin

The AWS::DataZone::SubscriptionTarget resource 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-datazone-subscriptiontarget.html

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:

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 = ['applicableAssetTypes', 'authorizedPrincipals', 'domainIdentifier', 'environmentIdentifier', 'manageAccessRole', 'name', 'provider', 'subscriptionTargetConfig', 'type']

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

SubscriptionTargetFormProperty

class CfnSubscriptionTargetPropsMixin.SubscriptionTargetFormProperty(*, content=None, form_name=None)

Bases: object

The 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-subscriptiontarget-subscriptiontargetform.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_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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-subscriptiontarget-subscriptiontargetform.html#cfn-datazone-subscriptiontarget-subscriptiontargetform-content

form_name

The form name included in the subscription target configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-datazone-subscriptiontarget-subscriptiontargetform.html#cfn-datazone-subscriptiontarget-subscriptiontargetform-formname