1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. mediapackage
  5. Asset

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.mediapackage.Asset

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource schema for AWS::MediaPackage::Asset

    Create Asset Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Asset(name: string, args: AssetArgs, opts?: CustomResourceOptions);
    @overload
    def Asset(resource_name: str,
              args: AssetArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Asset(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              aws_id: Optional[str] = None,
              packaging_group_id: Optional[str] = None,
              source_arn: Optional[str] = None,
              source_role_arn: Optional[str] = None,
              egress_endpoints: Optional[Sequence[AssetEgressEndpointArgs]] = None,
              resource_id: Optional[str] = None,
              tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewAsset(ctx *Context, name string, args AssetArgs, opts ...ResourceOption) (*Asset, error)
    public Asset(string name, AssetArgs args, CustomResourceOptions? opts = null)
    public Asset(String name, AssetArgs args)
    public Asset(String name, AssetArgs args, CustomResourceOptions options)
    
    type: aws-native:mediapackage:Asset
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AssetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Asset Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Asset resource accepts the following input properties:

    AwsId string
    The unique identifier for the Asset.
    PackagingGroupId string
    The ID of the PackagingGroup for the Asset.
    SourceArn string
    ARN of the source object in S3.
    SourceRoleArn string
    The IAM role_arn used to access the source S3 bucket.
    EgressEndpoints List<Pulumi.AwsNative.MediaPackage.Inputs.AssetEgressEndpoint>
    The list of egress endpoints available for the Asset.
    ResourceId string
    The resource ID to include in SPEKE key requests.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    A collection of tags associated with a resource
    AwsId string
    The unique identifier for the Asset.
    PackagingGroupId string
    The ID of the PackagingGroup for the Asset.
    SourceArn string
    ARN of the source object in S3.
    SourceRoleArn string
    The IAM role_arn used to access the source S3 bucket.
    EgressEndpoints []AssetEgressEndpointArgs
    The list of egress endpoints available for the Asset.
    ResourceId string
    The resource ID to include in SPEKE key requests.
    Tags TagArgs
    A collection of tags associated with a resource
    awsId String
    The unique identifier for the Asset.
    packagingGroupId String
    The ID of the PackagingGroup for the Asset.
    sourceArn String
    ARN of the source object in S3.
    sourceRoleArn String
    The IAM role_arn used to access the source S3 bucket.
    egressEndpoints List<AssetEgressEndpoint>
    The list of egress endpoints available for the Asset.
    resourceId String
    The resource ID to include in SPEKE key requests.
    tags List<Tag>
    A collection of tags associated with a resource
    awsId string
    The unique identifier for the Asset.
    packagingGroupId string
    The ID of the PackagingGroup for the Asset.
    sourceArn string
    ARN of the source object in S3.
    sourceRoleArn string
    The IAM role_arn used to access the source S3 bucket.
    egressEndpoints AssetEgressEndpoint[]
    The list of egress endpoints available for the Asset.
    resourceId string
    The resource ID to include in SPEKE key requests.
    tags Tag[]
    A collection of tags associated with a resource
    aws_id str
    The unique identifier for the Asset.
    packaging_group_id str
    The ID of the PackagingGroup for the Asset.
    source_arn str
    ARN of the source object in S3.
    source_role_arn str
    The IAM role_arn used to access the source S3 bucket.
    egress_endpoints Sequence[AssetEgressEndpointArgs]
    The list of egress endpoints available for the Asset.
    resource_id str
    The resource ID to include in SPEKE key requests.
    tags Sequence[TagArgs]
    A collection of tags associated with a resource
    awsId String
    The unique identifier for the Asset.
    packagingGroupId String
    The ID of the PackagingGroup for the Asset.
    sourceArn String
    ARN of the source object in S3.
    sourceRoleArn String
    The IAM role_arn used to access the source S3 bucket.
    egressEndpoints List<Property Map>
    The list of egress endpoints available for the Asset.
    resourceId String
    The resource ID to include in SPEKE key requests.
    tags List<Property Map>
    A collection of tags associated with a resource

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Asset resource produces the following output properties:

    Arn string
    The ARN of the Asset.
    CreatedAt string
    The time the Asset was initially submitted for Ingest.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the Asset.
    CreatedAt string
    The time the Asset was initially submitted for Ingest.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the Asset.
    createdAt String
    The time the Asset was initially submitted for Ingest.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the Asset.
    createdAt string
    The time the Asset was initially submitted for Ingest.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the Asset.
    created_at str
    The time the Asset was initially submitted for Ingest.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the Asset.
    createdAt String
    The time the Asset was initially submitted for Ingest.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    AssetEgressEndpoint, AssetEgressEndpointArgs

    PackagingConfigurationId string
    The ID of the PackagingConfiguration being applied to the Asset.
    Url string
    The URL of the parent manifest for the repackaged Asset.
    PackagingConfigurationId string
    The ID of the PackagingConfiguration being applied to the Asset.
    Url string
    The URL of the parent manifest for the repackaged Asset.
    packagingConfigurationId String
    The ID of the PackagingConfiguration being applied to the Asset.
    url String
    The URL of the parent manifest for the repackaged Asset.
    packagingConfigurationId string
    The ID of the PackagingConfiguration being applied to the Asset.
    url string
    The URL of the parent manifest for the repackaged Asset.
    packaging_configuration_id str
    The ID of the PackagingConfiguration being applied to the Asset.
    url str
    The URL of the parent manifest for the repackaged Asset.
    packagingConfigurationId String
    The ID of the PackagingConfiguration being applied to the Asset.
    url String
    The URL of the parent manifest for the repackaged Asset.

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi