We recommend new projects start with resources from the AWS provider.
aws-native.mediapackage.Asset
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
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:
- Aws
Id string - The unique identifier for the Asset.
- Packaging
Group stringId - The ID of the PackagingGroup for the Asset.
- Source
Arn string - ARN of the source object in S3.
- Source
Role stringArn - The IAM role_arn used to access the source S3 bucket.
- Egress
Endpoints List<Pulumi.Aws Native. Media Package. Inputs. Asset Egress Endpoint> - The list of egress endpoints available for the Asset.
- Resource
Id string - The resource ID to include in SPEKE key requests.
- List<Pulumi.
Aws Native. Inputs. Tag> - A collection of tags associated with a resource
- Aws
Id string - The unique identifier for the Asset.
- Packaging
Group stringId - The ID of the PackagingGroup for the Asset.
- Source
Arn string - ARN of the source object in S3.
- Source
Role stringArn - The IAM role_arn used to access the source S3 bucket.
- Egress
Endpoints []AssetEgress Endpoint Args - The list of egress endpoints available for the Asset.
- Resource
Id string - The resource ID to include in SPEKE key requests.
- Tag
Args - A collection of tags associated with a resource
- aws
Id String - The unique identifier for the Asset.
- packaging
Group StringId - The ID of the PackagingGroup for the Asset.
- source
Arn String - ARN of the source object in S3.
- source
Role StringArn - The IAM role_arn used to access the source S3 bucket.
- egress
Endpoints List<AssetEgress Endpoint> - The list of egress endpoints available for the Asset.
- resource
Id String - The resource ID to include in SPEKE key requests.
- List<Tag>
- A collection of tags associated with a resource
- aws
Id string - The unique identifier for the Asset.
- packaging
Group stringId - The ID of the PackagingGroup for the Asset.
- source
Arn string - ARN of the source object in S3.
- source
Role stringArn - The IAM role_arn used to access the source S3 bucket.
- egress
Endpoints AssetEgress Endpoint[] - The list of egress endpoints available for the Asset.
- resource
Id string - The resource ID to include in SPEKE key requests.
- Tag[]
- A collection of tags associated with a resource
- aws_
id str - The unique identifier for the Asset.
- packaging_
group_ strid - The ID of the PackagingGroup for the Asset.
- source_
arn str - ARN of the source object in S3.
- source_
role_ strarn - The IAM role_arn used to access the source S3 bucket.
- egress_
endpoints Sequence[AssetEgress Endpoint Args] - The list of egress endpoints available for the Asset.
- resource_
id str - The resource ID to include in SPEKE key requests.
- Sequence[Tag
Args] - A collection of tags associated with a resource
- aws
Id String - The unique identifier for the Asset.
- packaging
Group StringId - The ID of the PackagingGroup for the Asset.
- source
Arn String - ARN of the source object in S3.
- source
Role StringArn - The IAM role_arn used to access the source S3 bucket.
- egress
Endpoints List<Property Map> - The list of egress endpoints available for the Asset.
- resource
Id String - The resource ID to include in SPEKE key requests.
- 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 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.
Supporting Types
AssetEgressEndpoint, AssetEgressEndpointArgs
- Packaging
Configuration stringId - The ID of the PackagingConfiguration being applied to the Asset.
- Url string
- The URL of the parent manifest for the repackaged Asset.
- Packaging
Configuration stringId - The ID of the PackagingConfiguration being applied to the Asset.
- Url string
- The URL of the parent manifest for the repackaged Asset.
- packaging
Configuration StringId - The ID of the PackagingConfiguration being applied to the Asset.
- url String
- The URL of the parent manifest for the repackaged Asset.
- packaging
Configuration stringId - The ID of the PackagingConfiguration being applied to the Asset.
- url string
- The URL of the parent manifest for the repackaged Asset.
- packaging_
configuration_ strid - The ID of the PackagingConfiguration being applied to the Asset.
- url str
- The URL of the parent manifest for the repackaged Asset.
- packaging
Configuration StringId - The ID of the PackagingConfiguration being applied to the Asset.
- url String
- The URL of the parent manifest for the repackaged Asset.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.