@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.916Z") @Stability(value=Stable) public interface CfnAssetProps extends software.amazon.jsii.JsiiSerializable
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
.resourceId("resourceId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAssetProps.Builder
A builder for
CfnAssetProps |
static class |
CfnAssetProps.Jsii$Proxy
An implementation for
CfnAssetProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAssetProps.Builder |
builder() |
String |
getId()
Unique identifier that you assign to the asset.
|
String |
getPackagingGroupId()
The ID of the packaging group associated with this asset.
|
default String |
getResourceId()
Unique identifier for this asset, as it's configured in the key provider service.
|
String |
getSourceArn()
The ARN for the source content in Amazon S3.
|
String |
getSourceRoleArn()
The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored.
|
default List<CfnTag> |
getTags()
The tags to assign to the asset.
|
@Stability(value=Stable) @NotNull String getId()
@Stability(value=Stable) @NotNull String getPackagingGroupId()
@Stability(value=Stable) @NotNull String getSourceArn()
@Stability(value=Stable) @NotNull String getSourceRoleArn()
Valid format: arn:aws:iam::{accountID}:role/{name}
@Stability(value=Stable) @Nullable default String getResourceId()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) static CfnAssetProps.Builder builder()
CfnAssetProps.Builder of CfnAssetPropsCopyright © 2022. All rights reserved.