interface CfnArtifactProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SecurityAgent.CfnArtifactProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssecurityagent#CfnArtifactProps |
Java | software.amazon.awscdk.services.securityagent.CfnArtifactProps |
Python | aws_cdk.aws_securityagent.CfnArtifactProps |
TypeScript | aws-cdk-lib » aws_securityagent » CfnArtifactProps |
Properties for defining a CfnArtifact.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const cfnArtifactProps: securityagent.CfnArtifactProps = {
agentSpaceId: 'agentSpaceId',
artifactType: 'artifactType',
fileName: 'fileName',
// the properties below are optional
artifactContent: 'artifactContent',
};
Properties
| Name | Type | Description |
|---|---|---|
| agent | string | The unique identifier of the agent space to add the artifact to. |
| artifact | string | The file type of the artifact. |
| file | string | The file name of the artifact. |
| artifact | string | The binary content of the artifact to upload, encoded as a Base64 string. |
agentSpaceId
Type:
string
The unique identifier of the agent space to add the artifact to.
artifactType
Type:
string
The file type of the artifact.
fileName
Type:
string
The file name of the artifact.
artifactContent?
Type:
string
(optional)
The binary content of the artifact to upload, encoded as a Base64 string.

.NET
Go
Java
Python
TypeScript