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.
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 dictionarydata "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.
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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.
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