CfnAssetMixinProps

class aws_cdk.mixins_preview.aws_mediapackage.mixins.CfnAssetMixinProps(*, egress_endpoints=None, id=None, packaging_group_id=None, resource_id=None, source_arn=None, source_role_arn=None, tags=None)

Bases: object

Properties for CfnAssetPropsMixin.

Parameters:
  • egress_endpoints (Union[IResolvable, Sequence[Union[IResolvable, EgressEndpointProperty, Dict[str, Any]]], None]) – List of playback endpoints that are available for this asset.

  • id (Optional[str]) – Unique identifier that you assign to the asset.

  • packaging_group_id (Optional[str]) – The ID of the packaging group associated with this asset.

  • resource_id (Optional[str]) – Unique identifier for this asset, as it’s configured in the key provider service.

  • source_arn (Optional[str]) – The ARN for the source content in Amazon S3.

  • source_role_arn (Optional[str]) – The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored. Valid format: arn:aws:iam::{accountID}:role/{name}

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags to assign to the asset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.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_mediapackage import mixins as mediapackage_mixins

cfn_asset_mixin_props = mediapackage_mixins.CfnAssetMixinProps(
    egress_endpoints=[mediapackage_mixins.CfnAssetPropsMixin.EgressEndpointProperty(
        packaging_configuration_id="packagingConfigurationId",
        url="url"
    )],
    id="id",
    packaging_group_id="packagingGroupId",
    resource_id="resourceId",
    source_arn="sourceArn",
    source_role_arn="sourceRoleArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

egress_endpoints

List of playback endpoints that are available for this asset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-egressendpoints

id

Unique identifier that you assign to the asset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-id

packaging_group_id

The ID of the packaging group associated with this asset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-packaginggroupid

resource_id

Unique identifier for this asset, as it’s configured in the key provider service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-resourceid

source_arn

The ARN for the source content in Amazon S3.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-sourcearn

source_role_arn

The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored.

Valid format: arn:aws:iam::{accountID}:role/{name}

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-sourcerolearn

tags

The tags to assign to the asset.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackage-asset.html#cfn-mediapackage-asset-tags