Class CfnAssetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetPropsMixin>
- Enclosing class:
CfnAssetPropsMixin
CfnAssetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionagentSpaceId(String agentSpaceId) The unique identifier of the parent Agent Space.The type of asset.build()static CfnAssetPropsMixin.Buildercreate()static CfnAssetPropsMixin.Buildercreate(CfnPropertyMixinOptions options) Inline file list.files(IResolvable files) Inline file list.Asset metadata document.Base64-encoded zip bundle containing all files for the asset.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnAssetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnAssetPropsMixin.Builder.
-
agentSpaceId
The unique identifier of the parent Agent Space.The asset is created as a child of this agent space.
- Parameters:
agentSpaceId- The unique identifier of the parent Agent Space. This parameter is required.- Returns:
this- See Also:
-
assetType
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.
- Parameters:
assetType- The type of asset. This parameter is required.- Returns:
this- See Also:
-
files
Inline file list.Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
- Parameters:
files- Inline file list. This parameter is required.- Returns:
this- See Also:
-
files
Inline file list.Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
- Parameters:
files- Inline file list. This parameter is required.- Returns:
this- See Also:
-
metadata
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.
- Parameters:
metadata- Asset metadata document. This parameter is required.- Returns:
this- See Also:
-
zip
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).
- Parameters:
zip- Base64-encoded zip bundle containing all files for the asset. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssetPropsMixin>- Returns:
- a newly built instance of
CfnAssetPropsMixin.
-