Interface CfnAssetProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAssetProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-31T18:43:33.709Z") @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

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for CfnAssetProps
    static final class 
    An implementation for CfnAssetProps
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Object
    List of playback endpoints that are available for this asset.
    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.
    default List<software.amazon.awscdk.core.CfnTag>
    The tags to assign to the asset.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • 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<software.amazon.awscdk.core.CfnTag> getTags()
      The tags to assign to the asset.
    • builder

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