We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- Agent
Space stringId - The unique identifier of the agent space to add the artifact to.
- Artifact
Type Pulumi.Aws Native. Security Agent. Artifact Type - 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.
- Agent
Space stringId - The unique identifier of the agent space to add the artifact to.
- Artifact
Type ArtifactType - 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.
- agent_
space_ stringid - 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.
- agent
Space StringId - The unique identifier of the agent space to add the artifact to.
- artifact
Type ArtifactType - 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.
- agent
Space stringId - The unique identifier of the agent space to add the artifact to.
- artifact
Type ArtifactType - 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.
- agent_
space_ strid - 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.
- agent
Space StringId - 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.
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.
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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.
Supporting Types
ArtifactType, ArtifactTypeArgs
- Txt
TXT- Png
PNG- Jpeg
JPEG- Md
MDPDF- Docx
DOCX- Doc
DOC- Json
JSON- Yaml
YAML
- Artifact
Type Txt TXT- Artifact
Type Png PNG- Artifact
Type Jpeg JPEG- Artifact
Type Md MD- Artifact
Type Pdf PDF- Artifact
Type Docx DOCX- Artifact
Type Doc DOC- Artifact
Type Json JSON- Artifact
Type 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
MDPDF- Docx
DOCX- Doc
DOC- Json
JSON- Yaml
YAML
- Txt
TXT- Png
PNG- Jpeg
JPEG- Md
MDPDF- Docx
DOCX- Doc
DOC- Json
JSON- Yaml
YAML
- TXT
TXT- PNG
PNG- JPEG
JPEG- MD
MDPDF- 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
We recommend new projects start with resources from the AWS provider.
published on Monday, Sep 14, 2026 by Pulumi