AWS Native

Pulumi Official
Package maintained by Pulumi
v0.17.0 published on Monday, May 23, 2022 by Pulumi

getAssessment

An entity that defines the scope of audit evidence collected by AWS Audit Manager.

Using getAssessment

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 getAssessment(args: GetAssessmentArgs, opts?: InvokeOptions): Promise<GetAssessmentResult>
function getAssessmentOutput(args: GetAssessmentOutputArgs, opts?: InvokeOptions): Output<GetAssessmentResult>
def get_assessment(assessment_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetAssessmentResult
def get_assessment_output(assessment_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetAssessmentResult]
func LookupAssessment(ctx *Context, args *LookupAssessmentArgs, opts ...InvokeOption) (*LookupAssessmentResult, error)
func LookupAssessmentOutput(ctx *Context, args *LookupAssessmentOutputArgs, opts ...InvokeOption) LookupAssessmentResultOutput

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

public static class GetAssessment 
{
    public static Task<GetAssessmentResult> InvokeAsync(GetAssessmentArgs args, InvokeOptions? opts = null)
    public static Output<GetAssessmentResult> Invoke(GetAssessmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAssessmentResult> getAssessment(GetAssessmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:auditmanager:getAssessment
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getAssessment Result

The following output properties are available:

Arn string
AssessmentId string
AssessmentReportsDestination AssessmentReportsDestination
CreationTime float64
Delegations []AssessmentDelegation

The list of delegations.

Roles []AssessmentRole

The list of roles for the specified assessment.

Scope AssessmentScope
Status AssessmentStatus
Tags []AssessmentTag

The tags associated with the assessment.

arn String
assessmentId String
assessmentReportsDestination AssessmentReportsDestination
creationTime Double
delegations ListDelegation>

The list of delegations.

roles ListRole>

The list of roles for the specified assessment.

scope AssessmentScope
status AssessmentStatus
tags ListTag>

The tags associated with the assessment.

arn string
assessmentId string
assessmentReportsDestination AssessmentReportsDestination
creationTime number
delegations AssessmentDelegation[]

The list of delegations.

roles AssessmentRole[]

The list of roles for the specified assessment.

scope AssessmentScope
status AssessmentStatus
tags AssessmentTag[]

The tags associated with the assessment.

arn String
assessmentId String
assessmentReportsDestination Property Map
creationTime Number
delegations List

The list of delegations.

roles List

The list of roles for the specified assessment.

scope Property Map
status "ACTIVE" | "INACTIVE"
tags List

The tags associated with the assessment.

Supporting Types

AssessmentAWSAccount

EmailAddress string
Id string
Name string
EmailAddress string
Id string
Name string
emailAddress String
id String
name String
emailAddress string
id string
name string
emailAddress String
id String
name String

AssessmentAWSService

AssessmentDelegation

AssessmentDelegationStatus

AssessmentReportDestinationType

AssessmentReportsDestination

AssessmentRole

AssessmentRoleType

AssessmentScope

AwsAccounts []AssessmentAWSAccount

The AWS accounts included in scope.

AwsServices []AssessmentAWSService

The AWS services included in scope.

awsAccounts ListAWSAccount>

The AWS accounts included in scope.

awsServices ListAWSService>

The AWS services included in scope.

awsAccounts AssessmentAWSAccount[]

The AWS accounts included in scope.

awsServices AssessmentAWSService[]

The AWS services included in scope.

aws_accounts Sequence[AssessmentAWSAccount]

The AWS accounts included in scope.

aws_services Sequence[AssessmentAWSService]

The AWS services included in scope.

awsAccounts List

The AWS accounts included in scope.

awsServices List

The AWS services included in scope.

AssessmentStatus

AssessmentTag

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key string

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value string

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key str

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value str

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

key String

The key name of the tag. You can specify a value that is 1 to 127 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

value String

The value for the tag. You can specify a value that is 1 to 255 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

Package Details

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