# CfnArtifactProps

Properties for defining a `CfnArtifact`.

Extends: CfnArtifactProps
Used as props by: CfnArtifact

- Source: Generated code
- Type last changed: v2.268.0 · 2 Sep 2026

## 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

- `agentSpaceId`: string (required) — The unique identifier of the agent space to add the artifact to.

- `artifactContent`: string — The binary content of the artifact to upload, encoded as a Base64 string.

- `artifactType`: string (required) — The file type of the artifact.

- `fileName`: string (required) — The file name of the artifact.
