1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. securityagent
  6. Artifact

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
aws-native logo aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi

    Uploads an artifact to an agent space. Artifacts provide additional context for security testing, such as architecture diagrams, API specifications, or configuration files.

    Create Artifact Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Artifact(name: string, args: ArtifactArgs, opts?: CustomResourceOptions);
    @overload
    def Artifact(resource_name: str,
                 args: ArtifactArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Artifact(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 agent_space_id: Optional[str] = None,
                 artifact_type: Optional[ArtifactType] = None,
                 file_name: Optional[str] = None,
                 artifact_content: Optional[str] = None)
    func NewArtifact(ctx *Context, name string, args ArtifactArgs, opts ...ResourceOption) (*Artifact, error)
    public Artifact(string name, ArtifactArgs args, CustomResourceOptions? opts = null)
    public Artifact(String name, ArtifactArgs args)
    public Artifact(String name, ArtifactArgs args, CustomResourceOptions options)
    
    type: aws-native:securityagent:Artifact
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_securityagent_artifact" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ArtifactArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Artifact Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Artifact resource accepts the following input properties:

    AgentSpaceId string
    The unique identifier of the agent space to add the artifact to.
    ArtifactType Pulumi.AwsNative.SecurityAgent.ArtifactType
    The file type of the artifact.
    FileName string
    The file name of the artifact.
    ArtifactContent string
    The binary content of the artifact to upload, encoded as a Base64 string.
    AgentSpaceId string
    The unique identifier of the agent space to add the artifact to.
    ArtifactType ArtifactType
    The file type of the artifact.
    FileName string
    The file name of the artifact.
    ArtifactContent string
    The binary content of the artifact to upload, encoded as a Base64 string.
    agent_space_id string
    The unique identifier of the agent space to add the artifact to.
    artifact_type "TXT" | "PNG" | "JPEG" | "MD" | "PDF" | "DOCX" | "DOC" | "JSON" | "YAML"
    The file type of the artifact.
    file_name string
    The file name of the artifact.
    artifact_content string
    The binary content of the artifact to upload, encoded as a Base64 string.
    agentSpaceId String
    The unique identifier of the agent space to add the artifact to.
    artifactType ArtifactType
    The file type of the artifact.
    fileName String
    The file name of the artifact.
    artifactContent String
    The binary content of the artifact to upload, encoded as a Base64 string.
    agentSpaceId string
    The unique identifier of the agent space to add the artifact to.
    artifactType ArtifactType
    The file type of the artifact.
    fileName string
    The file name of the artifact.
    artifactContent string
    The binary content of the artifact to upload, encoded as a Base64 string.
    agent_space_id str
    The unique identifier of the agent space to add the artifact to.
    artifact_type ArtifactType
    The file type of the artifact.
    file_name str
    The file name of the artifact.
    artifact_content str
    The binary content of the artifact to upload, encoded as a Base64 string.
    agentSpaceId String
    The unique identifier of the agent space to add the artifact to.
    artifactType "TXT" | "PNG" | "JPEG" | "MD" | "PDF" | "DOCX" | "DOC" | "JSON" | "YAML"
    The file type of the artifact.
    fileName String
    The file name of the artifact.
    artifactContent String
    The binary content of the artifact to upload, encoded as a Base64 string.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Artifact resource produces the following output properties:

    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    ArtifactId string
    The unique identifier assigned to the uploaded artifact.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The date and time the artifact was last updated, in ISO 8601 format.
    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    ArtifactId string
    The unique identifier assigned to the uploaded artifact.
    Id string
    The provider-assigned unique ID for this managed resource.
    UpdatedAt string
    The date and time the artifact was last updated, in ISO 8601 format.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    artifact_id string
    The unique identifier assigned to the uploaded artifact.
    id string
    The provider-assigned unique ID for this managed resource.
    updated_at string
    The date and time the artifact was last updated, in ISO 8601 format.
    arn String
    The Amazon Resource Name (ARN) of the artifact.
    artifactId String
    The unique identifier assigned to the uploaded artifact.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The date and time the artifact was last updated, in ISO 8601 format.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    artifactId string
    The unique identifier assigned to the uploaded artifact.
    id string
    The provider-assigned unique ID for this managed resource.
    updatedAt string
    The date and time the artifact was last updated, in ISO 8601 format.
    arn str
    The Amazon Resource Name (ARN) of the artifact.
    artifact_id str
    The unique identifier assigned to the uploaded artifact.
    id str
    The provider-assigned unique ID for this managed resource.
    updated_at str
    The date and time the artifact was last updated, in ISO 8601 format.
    arn String
    The Amazon Resource Name (ARN) of the artifact.
    artifactId String
    The unique identifier assigned to the uploaded artifact.
    id String
    The provider-assigned unique ID for this managed resource.
    updatedAt String
    The date and time the artifact was last updated, in ISO 8601 format.

    Supporting Types

    ArtifactType, ArtifactTypeArgs

    Txt
    TXT
    Png
    PNG
    Jpeg
    JPEG
    Md
    MD
    Pdf
    PDF
    Docx
    DOCX
    Doc
    DOC
    Json
    JSON
    Yaml
    YAML
    ArtifactTypeTxt
    TXT
    ArtifactTypePng
    PNG
    ArtifactTypeJpeg
    JPEG
    ArtifactTypeMd
    MD
    ArtifactTypePdf
    PDF
    ArtifactTypeDocx
    DOCX
    ArtifactTypeDoc
    DOC
    ArtifactTypeJson
    JSON
    ArtifactTypeYaml
    YAML
    "TXT"
    TXT
    "PNG"
    PNG
    "JPEG"
    JPEG
    "MD"
    MD
    "PDF"
    PDF
    "DOCX"
    DOCX
    "DOC"
    DOC
    "JSON"
    JSON
    "YAML"
    YAML
    Txt
    TXT
    Png
    PNG
    Jpeg
    JPEG
    Md
    MD
    Pdf
    PDF
    Docx
    DOCX
    Doc
    DOC
    Json
    JSON
    Yaml
    YAML
    Txt
    TXT
    Png
    PNG
    Jpeg
    JPEG
    Md
    MD
    Pdf
    PDF
    Docx
    DOCX
    Doc
    DOC
    Json
    JSON
    Yaml
    YAML
    TXT
    TXT
    PNG
    PNG
    JPEG
    JPEG
    MD
    MD
    PDF
    PDF
    DOCX
    DOCX
    DOC
    DOC
    JSON
    JSON
    YAML
    YAML
    "TXT"
    TXT
    "PNG"
    PNG
    "JPEG"
    JPEG
    "MD"
    MD
    "PDF"
    PDF
    "DOCX"
    DOCX
    "DOC"
    DOC
    "JSON"
    JSON
    "YAML"
    YAML

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.79.0
    published on Monday, Sep 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial