1. Packages
  2. AWS Native
  3. API Docs
  4. mediapackage
  5. getAsset

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi

aws-native.mediapackage.getAsset

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi

    Resource schema for AWS::MediaPackage::Asset

    Using getAsset

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAsset(args: GetAssetArgs, opts?: InvokeOptions): Promise<GetAssetResult>
    function getAssetOutput(args: GetAssetOutputArgs, opts?: InvokeOptions): Output<GetAssetResult>
    def get_asset(id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetAssetResult
    def get_asset_output(id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetAssetResult]
    func LookupAsset(ctx *Context, args *LookupAssetArgs, opts ...InvokeOption) (*LookupAssetResult, error)
    func LookupAssetOutput(ctx *Context, args *LookupAssetOutputArgs, opts ...InvokeOption) LookupAssetResultOutput

    > Note: This function is named LookupAsset in the Go SDK.

    public static class GetAsset 
    {
        public static Task<GetAssetResult> InvokeAsync(GetAssetArgs args, InvokeOptions? opts = null)
        public static Output<GetAssetResult> Invoke(GetAssetInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAssetResult> getAsset(GetAssetArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:mediapackage:getAsset
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string

    The unique identifier for the Asset.

    Id string

    The unique identifier for the Asset.

    id String

    The unique identifier for the Asset.

    id string

    The unique identifier for the Asset.

    id str

    The unique identifier for the Asset.

    id String

    The unique identifier for the Asset.

    getAsset Result

    The following output properties are available:

    Arn string

    The ARN of the Asset.

    CreatedAt string

    The time the Asset was initially submitted for Ingest.

    EgressEndpoints List<Pulumi.AwsNative.MediaPackage.Outputs.AssetEgressEndpoint>

    The list of egress endpoints available for the Asset.

    Id string

    The unique identifier for the Asset.

    PackagingGroupId string

    The ID of the PackagingGroup for the Asset.

    ResourceId string

    The resource ID to include in SPEKE key requests.

    SourceArn string

    ARN of the source object in S3.

    SourceRoleArn string

    The IAM role_arn used to access the source S3 bucket.

    Tags List<Pulumi.AwsNative.MediaPackage.Outputs.AssetTag>

    A collection of tags associated with a resource

    Arn string

    The ARN of the Asset.

    CreatedAt string

    The time the Asset was initially submitted for Ingest.

    EgressEndpoints []AssetEgressEndpoint

    The list of egress endpoints available for the Asset.

    Id string

    The unique identifier for the Asset.

    PackagingGroupId string

    The ID of the PackagingGroup for the Asset.

    ResourceId string

    The resource ID to include in SPEKE key requests.

    SourceArn string

    ARN of the source object in S3.

    SourceRoleArn string

    The IAM role_arn used to access the source S3 bucket.

    Tags []AssetTag

    A collection of tags associated with a resource

    arn String

    The ARN of the Asset.

    createdAt String

    The time the Asset was initially submitted for Ingest.

    egressEndpoints List<AssetEgressEndpoint>

    The list of egress endpoints available for the Asset.

    id String

    The unique identifier for the Asset.

    packagingGroupId String

    The ID of the PackagingGroup for the Asset.

    resourceId String

    The resource ID to include in SPEKE key requests.

    sourceArn String

    ARN of the source object in S3.

    sourceRoleArn String

    The IAM role_arn used to access the source S3 bucket.

    tags List<AssetTag>

    A collection of tags associated with a resource

    arn string

    The ARN of the Asset.

    createdAt string

    The time the Asset was initially submitted for Ingest.

    egressEndpoints AssetEgressEndpoint[]

    The list of egress endpoints available for the Asset.

    id string

    The unique identifier for the Asset.

    packagingGroupId string

    The ID of the PackagingGroup for the Asset.

    resourceId string

    The resource ID to include in SPEKE key requests.

    sourceArn string

    ARN of the source object in S3.

    sourceRoleArn string

    The IAM role_arn used to access the source S3 bucket.

    tags AssetTag[]

    A collection of tags associated with a resource

    arn str

    The ARN of the Asset.

    created_at str

    The time the Asset was initially submitted for Ingest.

    egress_endpoints Sequence[AssetEgressEndpoint]

    The list of egress endpoints available for the Asset.

    id str

    The unique identifier for the Asset.

    packaging_group_id str

    The ID of the PackagingGroup for the Asset.

    resource_id str

    The resource ID to include in SPEKE key requests.

    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.

    tags Sequence[AssetTag]

    A collection of tags associated with a resource

    arn String

    The ARN of the Asset.

    createdAt String

    The time the Asset was initially submitted for Ingest.

    egressEndpoints List<Property Map>

    The list of egress endpoints available for the Asset.

    id String

    The unique identifier for the Asset.

    packagingGroupId String

    The ID of the PackagingGroup for the Asset.

    resourceId String

    The resource ID to include in SPEKE key requests.

    sourceArn String

    ARN of the source object in S3.

    sourceRoleArn String

    The IAM role_arn used to access the source S3 bucket.

    tags List<Property Map>

    A collection of tags associated with a resource

    Supporting Types

    AssetEgressEndpoint

    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.

    AssetTag

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.77.0 published on Wednesday, Sep 20, 2023 by Pulumi