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.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

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

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 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.

    Look up Existing Artifact Resource

    Get an existing Artifact resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Artifact
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> Artifact
    func GetArtifact(ctx *Context, name string, id IDInput, state *ArtifactState, opts ...ResourceOption) (*Artifact, error)
    public static Artifact Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static Artifact get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingArtifact:    type: aws-native:securityagent:Artifact    get:      id: ${id}
    import {
      to = aws-native_securityagent_artifact.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state ArtifactState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    ArtifactType

    The file type of the artifact.

    NameValue
    TxtTXT
    PngPNG
    JpegJPEG
    MdMD
    PdfPDF
    DocxDOCX
    DocDOC
    JsonJSON
    YamlYAML
    NameValue
    ArtifactTypeTxtTXT
    ArtifactTypePngPNG
    ArtifactTypeJpegJPEG
    ArtifactTypeMdMD
    ArtifactTypePdfPDF
    ArtifactTypeDocxDOCX
    ArtifactTypeDocDOC
    ArtifactTypeJsonJSON
    ArtifactTypeYamlYAML
    Value
    TXT
    PNG
    JPEG
    MD
    PDF
    DOCX
    DOC
    JSON
    YAML
    NameValue
    TxtTXT
    PngPNG
    JpegJPEG
    MdMD
    PdfPDF
    DocxDOCX
    DocDOC
    JsonJSON
    YamlYAML
    NameValue
    TxtTXT
    PngPNG
    JpegJPEG
    MdMD
    PdfPDF
    DocxDOCX
    DocDOC
    JsonJSON
    YamlYAML
    NameValue
    TXTTXT
    PNGPNG
    JPEGJPEG
    MDMD
    PDFPDF
    DOCXDOCX
    DOCDOC
    JSONJSON
    YAMLYAML
    Value
    TXT
    PNG
    JPEG
    MD
    PDF
    DOCX
    DOC
    JSON
    YAML

    Package Details

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

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

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial