@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
53 lines (52 loc) • 1.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Resource schema for AWS::MediaPackage::Asset
*/
export declare function getAsset(args: GetAssetArgs, opts?: pulumi.InvokeOptions): Promise<GetAssetResult>;
export interface GetAssetArgs {
/**
* The unique identifier for the Asset.
*/
id: string;
}
export interface GetAssetResult {
/**
* The ARN of the Asset.
*/
readonly arn?: string;
/**
* The time the Asset was initially submitted for Ingest.
*/
readonly createdAt?: string;
/**
* The list of egress endpoints available for the Asset.
*/
readonly egressEndpoints?: outputs.mediapackage.AssetEgressEndpoint[];
/**
* The ID of the PackagingGroup for the Asset.
*/
readonly packagingGroupId?: string;
/**
* The resource ID to include in SPEKE key requests.
*/
readonly resourceId?: string;
/**
* ARN of the source object in S3.
*/
readonly sourceArn?: string;
/**
* The IAM role_arn used to access the source S3 bucket.
*/
readonly sourceRoleArn?: string;
}
/**
* Resource schema for AWS::MediaPackage::Asset
*/
export declare function getAssetOutput(args: GetAssetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAssetResult>;
export interface GetAssetOutputArgs {
/**
* The unique identifier for the Asset.
*/
id: pulumi.Input<string>;
}