1. Packages
  2. AWS Native
  3. API Docs
  4. inspector
  5. getAssessmentTemplate

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.inspector.getAssessmentTemplate

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Resource Type definition for AWS::Inspector::AssessmentTemplate

    Using getAssessmentTemplate

    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 getAssessmentTemplate(args: GetAssessmentTemplateArgs, opts?: InvokeOptions): Promise<GetAssessmentTemplateResult>
    function getAssessmentTemplateOutput(args: GetAssessmentTemplateOutputArgs, opts?: InvokeOptions): Output<GetAssessmentTemplateResult>
    def get_assessment_template(arn: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetAssessmentTemplateResult
    def get_assessment_template_output(arn: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetAssessmentTemplateResult]
    func LookupAssessmentTemplate(ctx *Context, args *LookupAssessmentTemplateArgs, opts ...InvokeOption) (*LookupAssessmentTemplateResult, error)
    func LookupAssessmentTemplateOutput(ctx *Context, args *LookupAssessmentTemplateOutputArgs, opts ...InvokeOption) LookupAssessmentTemplateResultOutput

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

    public static class GetAssessmentTemplate 
    {
        public static Task<GetAssessmentTemplateResult> InvokeAsync(GetAssessmentTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetAssessmentTemplateResult> Invoke(GetAssessmentTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAssessmentTemplateResult> getAssessmentTemplate(GetAssessmentTemplateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:inspector:getAssessmentTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    Arn string
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    arn String
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    arn string
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    arn str
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    arn String
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.

    getAssessmentTemplate Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    Arn string
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    arn String
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    arn string
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    arn str
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.
    arn String
    The Amazon Resource Name (ARN) that specifies the assessment template that is created.

    Package Details

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

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

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi