Interface CfnAssetMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAssetMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.devopsagent.*;
Object metadata;
CfnAssetMixinProps cfnAssetMixinProps = CfnAssetMixinProps.builder()
.agentSpaceId("agentSpaceId")
.assetType("assetType")
.files(List.of(AssetFileProperty.builder()
.contentBytes("contentBytes")
.contentText("contentText")
.metadata(metadata)
.path("path")
.build()))
.metadata(metadata)
.zip("zip")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAssetMixinPropsstatic final classAn implementation forCfnAssetMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAssetMixinProps.Builderbuilder()default StringThe unique identifier of the parent Agent Space.default StringThe type of asset.default ObjectgetFiles()Inline file list.default ObjectAsset metadata document.default StringgetZip()Base64-encoded zip bundle containing all files for the asset.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAgentSpaceId
The unique identifier of the parent Agent Space.The asset is created as a child of this agent space.
- See Also:
-
getAssetType
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.
- See Also:
-
getFiles
Inline file list.Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnAssetPropsMixin.AssetFileProperty>- See Also:
-
getMetadata
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.
- See Also:
-
getZip
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).
- See Also:
-
builder
- Returns:
- a
CfnAssetMixinProps.BuilderofCfnAssetMixinProps
-