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();
 
  • Method Details

    • getId

      @Stability(Stable) @NotNull String getId()
      Unique identifier that you assign to the asset.
    • getPackagingGroupId

      @Stability(Stable) @NotNull String getPackagingGroupId()
      The ID of the packaging group associated with this asset.
    • getSourceArn

      @Stability(Stable) @NotNull String getSourceArn()
      The ARN for the source content in Amazon S3.
    • getSourceRoleArn

      @Stability(Stable) @NotNull 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.

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

    • getEgressEndpoints

      @Stability(Stable) @Nullable default Object getEgressEndpoints()
      List of playback endpoints that are available for this asset.
    • getResourceId

      @Stability(Stable) @Nullable default String getResourceId()
      Unique identifier for this asset, as it's configured in the key provider service.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags to assign to the asset.
    • builder

      @Stability(Stable) static CfnAssetProps.Builder builder()
      Returns:
      a CfnAssetProps.Builder of CfnAssetProps