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

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.

    Using getArtifact

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getArtifact(args: GetArtifactArgs, opts?: InvokeOptions): Promise<GetArtifactResult>
    function getArtifactOutput(args: GetArtifactOutputArgs, opts?: InvokeOutputOptions): Output<GetArtifactResult>
    def get_artifact(arn: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetArtifactResult
    def get_artifact_output(arn: pulumi.Input[Optional[str]] = None,
                     opts: Optional[InvokeOutputOptions] = None) -> Output[GetArtifactResult]
    func LookupArtifact(ctx *Context, args *LookupArtifactArgs, opts ...InvokeOption) (*LookupArtifactResult, error)
    func LookupArtifactOutput(ctx *Context, args *LookupArtifactOutputArgs, opts ...InvokeOption) LookupArtifactResultOutput

    > Note: This function is named LookupArtifact in the Go SDK.

    public static class GetArtifact 
    {
        public static Task<GetArtifactResult> InvokeAsync(GetArtifactArgs args, InvokeOptions? opts = null)
        public static Output<GetArtifactResult> Invoke(GetArtifactInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetArtifactResult> Invoke(GetArtifactInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetArtifactResult> getArtifact(GetArtifactArgs args, InvokeOptions options)
    public static Output<GetArtifactResult> getArtifact(GetArtifactArgs args, InvokeOptions options)
    public static Output<GetArtifactResult> getArtifact(GetArtifactArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:securityagent:getArtifact
      arguments:
        # arguments dictionary
    data "aws-native_securityagent_get_artifact" "name" {
        # arguments
    }

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    arn String
    The Amazon Resource Name (ARN) of the artifact.
    arn string
    The Amazon Resource Name (ARN) of the artifact.
    arn str
    The Amazon Resource Name (ARN) of the artifact.
    arn String
    The Amazon Resource Name (ARN) of the artifact.

    getArtifact Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) of the artifact.
    ArtifactId string
    The unique identifier assigned to the uploaded artifact.
    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.
    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.
    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.
    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.
    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.
    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.
    updatedAt String
    The date and time the artifact was last updated, in ISO 8601 format.

    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