1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. devopsagent
  6. Asset

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

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
aws-native logo aws-native logo

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

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi

    Resource Type definition for AWS::DevOpsAgent::Asset. An asset attached to an existing AWS DevOps Agent Space. Customer-creatable types include skill, agents_md, and attachment; call ListAssetTypes for the current authoritative set.

    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,
              agent_space_id: Optional[str] = None,
              asset_type: Optional[str] = None,
              files: Optional[Sequence[AssetFileArgs]] = None,
              metadata: Optional[Any] = None,
              zip: Optional[str] = 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:devopsagent:Asset
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_devopsagent_asset" "name" {
        # resource properties
    }

    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:

    AgentSpaceId string
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    AssetType string
    The type of asset. The Asset API treats this as an open string; call ListAssetTypes for the current authoritative set of supported types. As of launch, customer-creatable types include skill, agents_md, and attachment.
    Files List<Pulumi.AwsNative.DevOpsAgent.Inputs.AssetFile>
    Inline file list. Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
    Metadata object

    Asset metadata document. Required and optional keys depend on AssetType. Values may be strings, numbers, booleans, or lists of any of those - validated server-side; see the public Asset API docs for the per-type metadata schema.

    Search the CloudFormation User Guide for AWS::DevOpsAgent::Asset for more information about the expected schema for this property.

    Zip string
    Base64-encoded zip bundle containing all files for the asset. Mutually exclusive with Files; enforced by the handler at Create/Update time. Write-only: not repopulated by Read. Server treats a zip as 'replace all files' (max 6 MiB).
    AgentSpaceId string
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    AssetType string
    The type of asset. The Asset API treats this as an open string; call ListAssetTypes for the current authoritative set of supported types. As of launch, customer-creatable types include skill, agents_md, and attachment.
    Files []AssetFileArgs
    Inline file list. Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
    Metadata interface{}

    Asset metadata document. Required and optional keys depend on AssetType. Values may be strings, numbers, booleans, or lists of any of those - validated server-side; see the public Asset API docs for the per-type metadata schema.

    Search the CloudFormation User Guide for AWS::DevOpsAgent::Asset for more information about the expected schema for this property.

    Zip string
    Base64-encoded zip bundle containing all files for the asset. Mutually exclusive with Files; enforced by the handler at Create/Update time. Write-only: not repopulated by Read. Server treats a zip as 'replace all files' (max 6 MiB).
    agent_space_id string
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    asset_type string
    The type of asset. The Asset API treats this as an open string; call ListAssetTypes for the current authoritative set of supported types. As of launch, customer-creatable types include skill, agents_md, and attachment.
    files list(object)
    Inline file list. Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
    metadata any

    Asset metadata document. Required and optional keys depend on AssetType. Values may be strings, numbers, booleans, or lists of any of those - validated server-side; see the public Asset API docs for the per-type metadata schema.

    Search the CloudFormation User Guide for AWS::DevOpsAgent::Asset for more information about the expected schema for this property.

    zip string
    Base64-encoded zip bundle containing all files for the asset. Mutually exclusive with Files; enforced by the handler at Create/Update time. Write-only: not repopulated by Read. Server treats a zip as 'replace all files' (max 6 MiB).
    agentSpaceId String
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    assetType String
    The type of asset. The Asset API treats this as an open string; call ListAssetTypes for the current authoritative set of supported types. As of launch, customer-creatable types include skill, agents_md, and attachment.
    files List<AssetFile>
    Inline file list. Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
    metadata Object

    Asset metadata document. Required and optional keys depend on AssetType. Values may be strings, numbers, booleans, or lists of any of those - validated server-side; see the public Asset API docs for the per-type metadata schema.

    Search the CloudFormation User Guide for AWS::DevOpsAgent::Asset for more information about the expected schema for this property.

    zip String
    Base64-encoded zip bundle containing all files for the asset. Mutually exclusive with Files; enforced by the handler at Create/Update time. Write-only: not repopulated by Read. Server treats a zip as 'replace all files' (max 6 MiB).
    agentSpaceId string
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    assetType string
    The type of asset. The Asset API treats this as an open string; call ListAssetTypes for the current authoritative set of supported types. As of launch, customer-creatable types include skill, agents_md, and attachment.
    files AssetFile[]
    Inline file list. Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
    metadata any

    Asset metadata document. Required and optional keys depend on AssetType. Values may be strings, numbers, booleans, or lists of any of those - validated server-side; see the public Asset API docs for the per-type metadata schema.

    Search the CloudFormation User Guide for AWS::DevOpsAgent::Asset for more information about the expected schema for this property.

    zip string
    Base64-encoded zip bundle containing all files for the asset. Mutually exclusive with Files; enforced by the handler at Create/Update time. Write-only: not repopulated by Read. Server treats a zip as 'replace all files' (max 6 MiB).
    agent_space_id str
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    asset_type str
    The type of asset. The Asset API treats this as an open string; call ListAssetTypes for the current authoritative set of supported types. As of launch, customer-creatable types include skill, agents_md, and attachment.
    files Sequence[AssetFileArgs]
    Inline file list. Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
    metadata Any

    Asset metadata document. Required and optional keys depend on AssetType. Values may be strings, numbers, booleans, or lists of any of those - validated server-side; see the public Asset API docs for the per-type metadata schema.

    Search the CloudFormation User Guide for AWS::DevOpsAgent::Asset for more information about the expected schema for this property.

    zip str
    Base64-encoded zip bundle containing all files for the asset. Mutually exclusive with Files; enforced by the handler at Create/Update time. Write-only: not repopulated by Read. Server treats a zip as 'replace all files' (max 6 MiB).
    agentSpaceId String
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    assetType String
    The type of asset. The Asset API treats this as an open string; call ListAssetTypes for the current authoritative set of supported types. As of launch, customer-creatable types include skill, agents_md, and attachment.
    files List<Property Map>
    Inline file list. Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
    metadata Any

    Asset metadata document. Required and optional keys depend on AssetType. Values may be strings, numbers, booleans, or lists of any of those - validated server-side; see the public Asset API docs for the per-type metadata schema.

    Search the CloudFormation User Guide for AWS::DevOpsAgent::Asset for more information about the expected schema for this property.

    zip String
    Base64-encoded zip bundle containing all files for the asset. Mutually exclusive with Files; enforced by the handler at Create/Update time. Write-only: not repopulated by Read. Server treats a zip as 'replace all files' (max 6 MiB).

    Outputs

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

    Arn string
    The Amazon Resource Name (ARN) of the asset. Nested under the parent Agent Space: arn::aidevops:::agentspace//asset/.
    AssetId string
    The unique identifier of the asset (assigned by the service on Create).
    CreatedAt string
    The timestamp when the asset was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The timestamp when the asset was last updated.
    Version int
    The current asset version. Server-managed; bumps on every successful Update (including no-op updates). This is the drift signal for change detection.
    Arn string
    The Amazon Resource Name (ARN) of the asset. Nested under the parent Agent Space: arn::aidevops:::agentspace//asset/.
    AssetId string
    The unique identifier of the asset (assigned by the service on Create).
    CreatedAt string
    The timestamp when the asset was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The timestamp when the asset was last updated.
    Version int
    The current asset version. Server-managed; bumps on every successful Update (including no-op updates). This is the drift signal for change detection.
    arn string
    The Amazon Resource Name (ARN) of the asset. Nested under the parent Agent Space: arn::aidevops:::agentspace//asset/.
    asset_id string
    The unique identifier of the asset (assigned by the service on Create).
    created_at string
    The timestamp when the asset was created.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    The timestamp when the asset was last updated.
    version number
    The current asset version. Server-managed; bumps on every successful Update (including no-op updates). This is the drift signal for change detection.
    arn String
    The Amazon Resource Name (ARN) of the asset. Nested under the parent Agent Space: arn::aidevops:::agentspace//asset/.
    assetId String
    The unique identifier of the asset (assigned by the service on Create).
    createdAt String
    The timestamp when the asset was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The timestamp when the asset was last updated.
    version Integer
    The current asset version. Server-managed; bumps on every successful Update (including no-op updates). This is the drift signal for change detection.
    arn string
    The Amazon Resource Name (ARN) of the asset. Nested under the parent Agent Space: arn::aidevops:::agentspace//asset/.
    assetId string
    The unique identifier of the asset (assigned by the service on Create).
    createdAt string
    The timestamp when the asset was created.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    The timestamp when the asset was last updated.
    version number
    The current asset version. Server-managed; bumps on every successful Update (including no-op updates). This is the drift signal for change detection.
    arn str
    The Amazon Resource Name (ARN) of the asset. Nested under the parent Agent Space: arn::aidevops:::agentspace//asset/.
    asset_id str
    The unique identifier of the asset (assigned by the service on Create).
    created_at str
    The timestamp when the asset was created.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    The timestamp when the asset was last updated.
    version int
    The current asset version. Server-managed; bumps on every successful Update (including no-op updates). This is the drift signal for change detection.
    arn String
    The Amazon Resource Name (ARN) of the asset. Nested under the parent Agent Space: arn::aidevops:::agentspace//asset/.
    assetId String
    The unique identifier of the asset (assigned by the service on Create).
    createdAt String
    The timestamp when the asset was created.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The timestamp when the asset was last updated.
    version Number
    The current asset version. Server-managed; bumps on every successful Update (including no-op updates). This is the drift signal for change detection.

    Supporting Types

    AssetFile, AssetFileArgs

    A single file inside an Asset's bundle. Path is the diff key on update; Content is write-only and not repopulated by Read.
    Path string
    Path of this file within the asset bundle.
    ContentBytes string
    Base64-encoded binary contents of the file. Mutually exclusive with ContentText (max 6 MiB).
    ContentText string
    UTF-8 text contents of the file. Mutually exclusive with ContentBytes (max 1.5 MiB).
    Metadata object
    Per-file metadata document. Values may be strings, numbers, booleans, or lists of any of those (validated server-side).
    Path string
    Path of this file within the asset bundle.
    ContentBytes string
    Base64-encoded binary contents of the file. Mutually exclusive with ContentText (max 6 MiB).
    ContentText string
    UTF-8 text contents of the file. Mutually exclusive with ContentBytes (max 1.5 MiB).
    Metadata interface{}
    Per-file metadata document. Values may be strings, numbers, booleans, or lists of any of those (validated server-side).
    path string
    Path of this file within the asset bundle.
    content_bytes string
    Base64-encoded binary contents of the file. Mutually exclusive with ContentText (max 6 MiB).
    content_text string
    UTF-8 text contents of the file. Mutually exclusive with ContentBytes (max 1.5 MiB).
    metadata any
    Per-file metadata document. Values may be strings, numbers, booleans, or lists of any of those (validated server-side).
    path String
    Path of this file within the asset bundle.
    contentBytes String
    Base64-encoded binary contents of the file. Mutually exclusive with ContentText (max 6 MiB).
    contentText String
    UTF-8 text contents of the file. Mutually exclusive with ContentBytes (max 1.5 MiB).
    metadata Object
    Per-file metadata document. Values may be strings, numbers, booleans, or lists of any of those (validated server-side).
    path string
    Path of this file within the asset bundle.
    contentBytes string
    Base64-encoded binary contents of the file. Mutually exclusive with ContentText (max 6 MiB).
    contentText string
    UTF-8 text contents of the file. Mutually exclusive with ContentBytes (max 1.5 MiB).
    metadata any
    Per-file metadata document. Values may be strings, numbers, booleans, or lists of any of those (validated server-side).
    path str
    Path of this file within the asset bundle.
    content_bytes str
    Base64-encoded binary contents of the file. Mutually exclusive with ContentText (max 6 MiB).
    content_text str
    UTF-8 text contents of the file. Mutually exclusive with ContentBytes (max 1.5 MiB).
    metadata Any
    Per-file metadata document. Values may be strings, numbers, booleans, or lists of any of those (validated server-side).
    path String
    Path of this file within the asset bundle.
    contentBytes String
    Base64-encoded binary contents of the file. Mutually exclusive with ContentText (max 6 MiB).
    contentText String
    UTF-8 text contents of the file. Mutually exclusive with ContentBytes (max 1.5 MiB).
    metadata Any
    Per-file metadata document. Values may be strings, numbers, booleans, or lists of any of those (validated server-side).

    Package Details

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

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

    Viewing docs for AWS Cloud Control v1.79.0
    published on Monday, Sep 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial