We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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)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:
- Agent
Space stringId - 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<Pulumi.
Aws Native. Dev Ops Agent. Inputs. Asset File> - 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::Assetfor 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 stringId - 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
[]Asset
File Args - 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::Assetfor 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_ stringid - 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::Assetfor 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 StringId - 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<Asset
File> - 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::Assetfor 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 stringId - 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
Asset
File[] - 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::Assetfor 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_ strid - 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[Asset
File Args] - 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::Assetfor 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).
- agent
Space StringId - 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<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::Assetfor 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/.
- 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 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 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/.
- 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 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/.
- 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 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/.
- 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.
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.
- 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 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.
- 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 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.
- 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 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.
- 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 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.
- 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).
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi