Modifier and Type | Method and Description |
---|---|
CfnAsset |
build() |
static CfnAsset.Builder |
create(Construct scope,
java.lang.String id) |
CfnAsset.Builder |
id(java.lang.String id)
Unique identifier that you assign to the asset.
|
CfnAsset.Builder |
packagingGroupId(java.lang.String packagingGroupId)
The ID of the packaging group associated with this asset.
|
CfnAsset.Builder |
resourceId(java.lang.String resourceId)
Unique identifier for this asset, as it's configured in the key provider service.
|
CfnAsset.Builder |
sourceArn(java.lang.String sourceArn)
The ARN for the source content in Amazon S3.
|
CfnAsset.Builder |
sourceRoleArn(java.lang.String sourceRoleArn)
The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored.
|
CfnAsset.Builder |
tags(java.util.List<? extends CfnTag> tags)
The tags to assign to the asset.
|
public static CfnAsset.Builder create(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.CfnAsset.EgressEndpointProperty.Builder
.public CfnAsset.Builder id(java.lang.String id)
id
- Unique identifier that you assign to the asset. This parameter is required.this
public CfnAsset.Builder packagingGroupId(java.lang.String packagingGroupId)
packagingGroupId
- The ID of the packaging group associated with this asset. This parameter is required.this
public CfnAsset.Builder sourceArn(java.lang.String sourceArn)
sourceArn
- The ARN for the source content in Amazon S3. This parameter is required.this
public CfnAsset.Builder sourceRoleArn(java.lang.String sourceRoleArn)
Valid format: arn:aws:iam::{accountID}:role/{name}
sourceRoleArn
- The ARN for the IAM role that provides AWS Elemental MediaPackage access to the Amazon S3 bucket where the source content is stored. This parameter is required.this
public CfnAsset.Builder resourceId(java.lang.String resourceId)
resourceId
- Unique identifier for this asset, as it's configured in the key provider service. This parameter is required.this
public CfnAsset.Builder tags(java.util.List<? extends CfnTag> tags)
tags
- The tags to assign to the asset. This parameter is required.this
public CfnAsset build()