interface CfnAssetMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent.CfnAssetMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsdevopsagent#CfnAssetMixinProps |
Java | software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAssetMixinProps |
Python | aws_cdk.cfn_property_mixins.aws_devopsagent.CfnAssetMixinProps |
TypeScript | @aws-cdk/cfn-property-mixins » aws_devopsagent » CfnAssetMixinProps |
Properties for CfnAssetPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-asset.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_devopsagent as devopsagent } from '@aws-cdk/cfn-property-mixins';
declare const metadata: any;
const cfnAssetMixinProps: devopsagent.CfnAssetMixinProps = {
agentSpaceId: 'agentSpaceId',
assetType: 'assetType',
files: [{
contentBytes: 'contentBytes',
contentText: 'contentText',
metadata: metadata,
path: 'path',
}],
metadata: metadata,
zip: 'zip',
};
Properties
| Name | Type | Description |
|---|---|---|
| agent | string | The unique identifier of the parent Agent Space. |
| asset | string | The type of asset. |
| files? | IResolvable | (IResolvable | Asset)[] | Inline file list. |
| metadata? | any | Asset metadata document. |
| zip? | string | Base64-encoded zip bundle containing all files for the asset. |
agentSpaceId?
Type:
string
(optional)
The unique identifier of the parent Agent Space.
The asset is created as a child of this agent space.
assetType?
Type:
string
(optional)
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?
Type:
IResolvable | (IResolvable | Asset)[]
(optional)
Inline file list.
Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
metadata?
Type:
any
(optional)
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.
zip?
Type:
string
(optional)
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).

.NET
Go
Java
Python
TypeScript