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:
- AwsId string
- The unique identifier for the Asset.
- PackagingGroup stringId 
- The ID of the PackagingGroup for the Asset.
- SourceArn string
- ARN of the source object in S3.
- SourceRole stringArn 
- The IAM role_arn used to access the source S3 bucket.
- EgressEndpoints List<Pulumi.Aws Native. Media Package. Inputs. Asset Egress Endpoint> 
- The list of egress endpoints available for the Asset.
- ResourceId string
- The resource ID to include in SPEKE key requests.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- A collection of tags associated with a resource
- AwsId string
- The unique identifier for the Asset.
- PackagingGroup stringId 
- The ID of the PackagingGroup for the Asset.
- SourceArn string
- ARN of the source object in S3.
- SourceRole stringArn 
- The IAM role_arn used to access the source S3 bucket.
- EgressEndpoints []AssetEgress Endpoint Args 
- The list of egress endpoints available for the Asset.
- ResourceId string
- The resource ID to include in SPEKE key requests.
- 
TagArgs 
- A collection of tags associated with a resource
- awsId String
- The unique identifier for the Asset.
- packagingGroup StringId 
- The ID of the PackagingGroup for the Asset.
- sourceArn String
- ARN of the source object in S3.
- sourceRole StringArn 
- The IAM role_arn used to access the source S3 bucket.
- egressEndpoints List<AssetEgress Endpoint> 
- The list of egress endpoints available for the Asset.
- resourceId String
- The resource ID to include in SPEKE key requests.
- List<Tag>
- A collection of tags associated with a resource
- awsId string
- The unique identifier for the Asset.
- packagingGroup stringId 
- The ID of the PackagingGroup for the Asset.
- sourceArn string
- ARN of the source object in S3.
- sourceRole stringArn 
- The IAM role_arn used to access the source S3 bucket.
- egressEndpoints AssetEgress Endpoint[] 
- The list of egress endpoints available for the Asset.
- resourceId 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[TagArgs] 
- A collection of tags associated with a resource
- awsId String
- The unique identifier for the Asset.
- packagingGroup StringId 
- The ID of the PackagingGroup for the Asset.
- sourceArn String
- ARN of the source object in S3.
- sourceRole StringArn 
- 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.
- 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      
- PackagingConfiguration stringId 
- The ID of the PackagingConfiguration being applied to the Asset.
- Url string
- The URL of the parent manifest for the repackaged Asset.
- PackagingConfiguration stringId 
- The ID of the PackagingConfiguration being applied to the Asset.
- Url string
- The URL of the parent manifest for the repackaged Asset.
- packagingConfiguration StringId 
- The ID of the PackagingConfiguration being applied to the Asset.
- url String
- The URL of the parent manifest for the repackaged Asset.
- packagingConfiguration 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.
- packagingConfiguration 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.