Class CfnAssetMixinProps
Properties for CfnAssetPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAssetMixinProps : ICfnAssetMixinProps
Syntax (vb)
Public Class CfnAssetMixinProps Implements ICfnAssetMixinProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-asset.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent;
var metadata;
var cfnAssetMixinProps = new CfnAssetMixinProps {
AgentSpaceId = "agentSpaceId",
AssetType = "assetType",
Files = new [] { new AssetFileProperty {
ContentBytes = "contentBytes",
ContentText = "contentText",
Metadata = metadata,
Path = "path"
} },
Metadata = metadata,
Zip = "zip"
};
Synopsis
Constructors
| CfnAssetMixinProps() | Properties for CfnAssetPropsMixin. |
Properties
| AgentSpaceId | The unique identifier of the parent Agent Space. |
| AssetType | The type of asset. |
| Files | Inline file list. |
| Metadata | Asset metadata document. |
| Zip | Base64-encoded zip bundle containing all files for the asset. |
Constructors
CfnAssetMixinProps()
Properties for CfnAssetPropsMixin.
public CfnAssetMixinProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-devopsagent-asset.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.DevOpsAgent;
var metadata;
var cfnAssetMixinProps = new CfnAssetMixinProps {
AgentSpaceId = "agentSpaceId",
AssetType = "assetType",
Files = new [] { new AssetFileProperty {
ContentBytes = "contentBytes",
ContentText = "contentText",
Metadata = metadata,
Path = "path"
} },
Metadata = metadata,
Zip = "zip"
};
Properties
AgentSpaceId
The unique identifier of the parent Agent Space.
public string? AgentSpaceId { get; set; }
Property Value
Remarks
The asset is created as a child of this agent space.
AssetType
The type of asset.
public string? AssetType { get; set; }
Property Value
Remarks
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
Inline file list.
public object? Files { get; set; }
Property Value
Remarks
Mutually exclusive with Zip; enforced by the handler at Create/Update time. Write-only: not repopulated by Read.
Type union: either IResolvable or (either IResolvable or CfnAssetPropsMixin.IAssetFileProperty)[]
Metadata
Asset metadata document.
public object? Metadata { get; set; }
Property Value
Remarks
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
Base64-encoded zip bundle containing all files for the asset.
public string? Zip { get; set; }
Property Value
Remarks
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).