Interface CfnAssetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:00.275Z")
@Stability(Stable)
public interface CfnAssetProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAsset
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.mediapackage.*; CfnAssetProps cfnAssetProps = CfnAssetProps.builder() .id("id") .packagingGroupId("packagingGroupId") .sourceArn("sourceArn") .sourceRoleArn("sourceRoleArn") // the properties below are optional .egressEndpoints(List.of(EgressEndpointProperty.builder() .packagingConfigurationId("packagingConfigurationId") .url("url") .build())) .resourceId("resourceId") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnAssetProps
static final class
An implementation forCfnAssetProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAssetProps.Builder
builder()
default Object
List of playback endpoints that are available for this asset.getId()
Unique identifier that you assign to the asset.The ID of the packaging group associated with this asset.default String
Unique identifier for this asset, as it's configured in the key provider service.The ARN for the source content in Amazon S3.The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored.getTags()
The tags to assign to the asset.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getId
Unique identifier that you assign to the asset. -
getPackagingGroupId
The ID of the packaging group associated with this asset. -
getSourceArn
The ARN for the source content in Amazon S3. -
getSourceRoleArn
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}
-
getEgressEndpoints
List of playback endpoints that are available for this asset. -
getResourceId
Unique identifier for this asset, as it's configured in the key provider service. -
getTags
The tags to assign to the asset. -
builder
- Returns:
- a
CfnAssetProps.Builder
ofCfnAssetProps
-