Skip to content
v2.274.0

CfnArtifactProps Struct ​

Properties for defining a CfnArtifact.

Example ​

ts
// 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 ​

agentSpaceIdstringagent_space_idstragentSpaceIdStringAgentSpaceIdstringAgentSpaceId*stringrequired#
The unique identifier of the agent space to add the artifact to.
artifactContentoptionalstringartifact_contentoptionalstrartifactContentoptionalStringArtifactContentoptionalstringArtifactContentoptional*string#
The binary content of the artifact to upload, encoded as a Base64 string.
artifactTypestringartifact_typestrartifactTypeStringArtifactTypestringArtifactType*stringrequired#
The file type of the artifact.
fileNamestringfile_namestrfileNameStringFileNamestringFileName*stringrequired#
The file name of the artifact.