Interface CfnAssetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:01.842Z")
@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();
- See Also:
-
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.- See Also:
-
getPackagingGroupId
The ID of the packaging group associated with this asset.- See Also:
-
getSourceArn
The ARN for the source content in Amazon S3.- See Also:
-
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}
- See Also:
-
getEgressEndpoints
List of playback endpoints that are available for this asset.- See Also:
-
getResourceId
Unique identifier for this asset, as it's configured in the key provider service.- See Also:
-
getTags
The tags to assign to the asset.- See Also:
-
builder
- Returns:
- a
CfnAssetProps.Builder
ofCfnAssetProps
-