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

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.

    Using getAsset

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAsset(args: GetAssetArgs, opts?: InvokeOptions): Promise<GetAssetResult>
    function getAssetOutput(args: GetAssetOutputArgs, opts?: InvokeOutputOptions): Output<GetAssetResult>
    def get_asset(agent_space_id: Optional[str] = None,
                  asset_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetAssetResult
    def get_asset_output(agent_space_id: pulumi.Input[Optional[str]] = None,
                  asset_id: pulumi.Input[Optional[str]] = None,
                  opts: Optional[InvokeOutputOptions] = None) -> Output[GetAssetResult]
    func LookupAsset(ctx *Context, args *LookupAssetArgs, opts ...InvokeOption) (*LookupAssetResult, error)
    func LookupAssetOutput(ctx *Context, args *LookupAssetOutputArgs, opts ...InvokeOption) LookupAssetResultOutput

    > Note: This function is named LookupAsset in the Go SDK.

    public static class GetAsset 
    {
        public static Task<GetAssetResult> InvokeAsync(GetAssetArgs args, InvokeOptions? opts = null)
        public static Output<GetAssetResult> Invoke(GetAssetInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAssetResult> Invoke(GetAssetInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAssetResult> getAsset(GetAssetArgs args, InvokeOptions options)
    public static Output<GetAssetResult> getAsset(GetAssetArgs args, InvokeOptions options)
    public static Output<GetAssetResult> getAsset(GetAssetArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:devopsagent:getAsset
      arguments:
        # arguments dictionary
    data "aws-native_devopsagent_get_asset" "name" {
        # arguments
    }

    The following arguments are supported:

    AgentSpaceId string
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    AssetId string
    The unique identifier of the asset (assigned by the service on Create).
    AgentSpaceId string
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    AssetId string
    The unique identifier of the asset (assigned by the service on Create).
    agent_space_id string
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    asset_id string
    The unique identifier of the asset (assigned by the service on Create).
    agentSpaceId String
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    assetId String
    The unique identifier of the asset (assigned by the service on Create).
    agentSpaceId string
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    assetId string
    The unique identifier of the asset (assigned by the service on Create).
    agent_space_id str
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    asset_id str
    The unique identifier of the asset (assigned by the service on Create).
    agentSpaceId String
    The unique identifier of the parent Agent Space. The asset is created as a child of this agent space.
    assetId String
    The unique identifier of the asset (assigned by the service on Create).

    getAsset Result

    The following output properties are available:

    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.
    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.

    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.
    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.

    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.
    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.

    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.
    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.

    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.
    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.

    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.
    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.

    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.
    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.

    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.

    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