AWS Native

v0.29.0 published on Thursday, Sep 8, 2022 by Pulumi

getAssessmentTarget

Resource Type definition for AWS::Inspector::AssessmentTarget

Using getAssessmentTarget

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 getAssessmentTarget(args: GetAssessmentTargetArgs, opts?: InvokeOptions): Promise<GetAssessmentTargetResult>
function getAssessmentTargetOutput(args: GetAssessmentTargetOutputArgs, opts?: InvokeOptions): Output<GetAssessmentTargetResult>
def get_assessment_target(arn: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetAssessmentTargetResult
def get_assessment_target_output(arn: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetAssessmentTargetResult]
func LookupAssessmentTarget(ctx *Context, args *LookupAssessmentTargetArgs, opts ...InvokeOption) (*LookupAssessmentTargetResult, error)
func LookupAssessmentTargetOutput(ctx *Context, args *LookupAssessmentTargetOutputArgs, opts ...InvokeOption) LookupAssessmentTargetResultOutput

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

public static class GetAssessmentTarget 
{
    public static Task<GetAssessmentTargetResult> InvokeAsync(GetAssessmentTargetArgs args, InvokeOptions? opts = null)
    public static Output<GetAssessmentTargetResult> Invoke(GetAssessmentTargetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAssessmentTargetResult> getAssessmentTarget(GetAssessmentTargetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:inspector:getAssessmentTarget
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Arn string
Arn string
arn String
arn string
arn str
arn String

getAssessmentTarget Result

The following output properties are available:

Arn string
ResourceGroupArn string
Arn string
ResourceGroupArn string
arn String
resourceGroupArn String
arn string
resourceGroupArn string
arn String
resourceGroupArn String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0