We recommend new projects start with resources from the AWS provider.
aws-native.auditmanager.getAssessment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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)
public static Output<GetAssessmentResult> getAssessment(GetAssessmentArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:auditmanager:getAssessment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AssessmentId string
- The unique identifier for the assessment.
- AssessmentId string
- The unique identifier for the assessment.
- assessmentId String
- The unique identifier for the assessment.
- assessmentId string
- The unique identifier for the assessment.
- assessment_id str
- The unique identifier for the assessment.
- assessmentId String
- The unique identifier for the assessment.
getAssessment Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the assessment.
- AssessmentId string
- The unique identifier for the assessment.
- AssessmentReports Pulumi.Destination Aws Native. Audit Manager. Outputs. Assessment Reports Destination 
- The destination that evidence reports are stored in for the assessment.
- CreationTime double
- Specifies when the assessment was created.
- Delegations
List<Pulumi.Aws Native. Audit Manager. Outputs. Assessment Delegation> 
- The list of delegations.
- Roles
List<Pulumi.Aws Native. Audit Manager. Outputs. Assessment Role> 
- The list of roles for the specified assessment.
- Scope
Pulumi.Aws Native. Audit Manager. Outputs. Assessment Scope 
- The wrapper of AWS accounts and services that are in scope for the assessment.
- Status
Pulumi.Aws Native. Audit Manager. Assessment Status 
- The overall status of the assessment. - When you create a new assessment, the initial - Statusvalue is always- ACTIVE. When you create an assessment, even if you specify the value as- INACTIVE, the value overrides to- ACTIVE.- After you create an assessment, you can change the value of the - Statusproperty at any time. For example, when you want to stop collecting evidence for your assessment, you can change the assessment status to- INACTIVE.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- The tags associated with the assessment.
- Arn string
- The Amazon Resource Name (ARN) of the assessment.
- AssessmentId string
- The unique identifier for the assessment.
- AssessmentReports AssessmentDestination Reports Destination 
- The destination that evidence reports are stored in for the assessment.
- CreationTime float64
- Specifies when the assessment was created.
- Delegations
[]AssessmentDelegation 
- The list of delegations.
- Roles
[]AssessmentRole 
- The list of roles for the specified assessment.
- Scope
AssessmentScope 
- The wrapper of AWS accounts and services that are in scope for the assessment.
- Status
AssessmentStatus 
- The overall status of the assessment. - When you create a new assessment, the initial - Statusvalue is always- ACTIVE. When you create an assessment, even if you specify the value as- INACTIVE, the value overrides to- ACTIVE.- After you create an assessment, you can change the value of the - Statusproperty at any time. For example, when you want to stop collecting evidence for your assessment, you can change the assessment status to- INACTIVE.
- Tag
- The tags associated with the assessment.
- arn String
- The Amazon Resource Name (ARN) of the assessment.
- assessmentId String
- The unique identifier for the assessment.
- assessmentReports AssessmentDestination Reports Destination 
- The destination that evidence reports are stored in for the assessment.
- creationTime Double
- Specifies when the assessment was created.
- delegations
List<AssessmentDelegation> 
- The list of delegations.
- roles
List<AssessmentRole> 
- The list of roles for the specified assessment.
- scope
AssessmentScope 
- The wrapper of AWS accounts and services that are in scope for the assessment.
- status
AssessmentStatus 
- The overall status of the assessment. - When you create a new assessment, the initial - Statusvalue is always- ACTIVE. When you create an assessment, even if you specify the value as- INACTIVE, the value overrides to- ACTIVE.- After you create an assessment, you can change the value of the - Statusproperty at any time. For example, when you want to stop collecting evidence for your assessment, you can change the assessment status to- INACTIVE.
- List<Tag>
- The tags associated with the assessment.
- arn string
- The Amazon Resource Name (ARN) of the assessment.
- assessmentId string
- The unique identifier for the assessment.
- assessmentReports AssessmentDestination Reports Destination 
- The destination that evidence reports are stored in for the assessment.
- creationTime number
- Specifies when the assessment was created.
- delegations
AssessmentDelegation[] 
- The list of delegations.
- roles
AssessmentRole[] 
- The list of roles for the specified assessment.
- scope
AssessmentScope 
- The wrapper of AWS accounts and services that are in scope for the assessment.
- status
AssessmentStatus 
- The overall status of the assessment. - When you create a new assessment, the initial - Statusvalue is always- ACTIVE. When you create an assessment, even if you specify the value as- INACTIVE, the value overrides to- ACTIVE.- After you create an assessment, you can change the value of the - Statusproperty at any time. For example, when you want to stop collecting evidence for your assessment, you can change the assessment status to- INACTIVE.
- Tag[]
- The tags associated with the assessment.
- arn str
- The Amazon Resource Name (ARN) of the assessment.
- assessment_id str
- The unique identifier for the assessment.
- assessment_reports_ Assessmentdestination Reports Destination 
- The destination that evidence reports are stored in for the assessment.
- creation_time float
- Specifies when the assessment was created.
- delegations
Sequence[AssessmentDelegation] 
- The list of delegations.
- roles
Sequence[AssessmentRole] 
- The list of roles for the specified assessment.
- scope
AssessmentScope 
- The wrapper of AWS accounts and services that are in scope for the assessment.
- status
AssessmentStatus 
- The overall status of the assessment. - When you create a new assessment, the initial - Statusvalue is always- ACTIVE. When you create an assessment, even if you specify the value as- INACTIVE, the value overrides to- ACTIVE.- After you create an assessment, you can change the value of the - Statusproperty at any time. For example, when you want to stop collecting evidence for your assessment, you can change the assessment status to- INACTIVE.
- Sequence[root_Tag]
- The tags associated with the assessment.
- arn String
- The Amazon Resource Name (ARN) of the assessment.
- assessmentId String
- The unique identifier for the assessment.
- assessmentReports Property MapDestination 
- The destination that evidence reports are stored in for the assessment.
- creationTime Number
- Specifies when the assessment was created.
- delegations List<Property Map>
- The list of delegations.
- roles List<Property Map>
- The list of roles for the specified assessment.
- scope Property Map
- The wrapper of AWS accounts and services that are in scope for the assessment.
- status "ACTIVE" | "INACTIVE"
- The overall status of the assessment. - When you create a new assessment, the initial - Statusvalue is always- ACTIVE. When you create an assessment, even if you specify the value as- INACTIVE, the value overrides to- ACTIVE.- After you create an assessment, you can change the value of the - Statusproperty at any time. For example, when you want to stop collecting evidence for your assessment, you can change the assessment status to- INACTIVE.
- List<Property Map>
- The tags associated with the assessment.
Supporting Types
AssessmentAwsAccount  
- EmailAddress string
- The email address that's associated with the AWS account .
- Id string
- The identifier for the AWS account .
- Name string
- The name of the AWS account .
- EmailAddress string
- The email address that's associated with the AWS account .
- Id string
- The identifier for the AWS account .
- Name string
- The name of the AWS account .
- emailAddress String
- The email address that's associated with the AWS account .
- id String
- The identifier for the AWS account .
- name String
- The name of the AWS account .
- emailAddress string
- The email address that's associated with the AWS account .
- id string
- The identifier for the AWS account .
- name string
- The name of the AWS account .
- email_address str
- The email address that's associated with the AWS account .
- id str
- The identifier for the AWS account .
- name str
- The name of the AWS account .
- emailAddress String
- The email address that's associated with the AWS account .
- id String
- The identifier for the AWS account .
- name String
- The name of the AWS account .
AssessmentAwsService  
- ServiceName string
- The name of the AWS service .
- ServiceName string
- The name of the AWS service .
- serviceName String
- The name of the AWS service .
- serviceName string
- The name of the AWS service .
- service_name str
- The name of the AWS service .
- serviceName String
- The name of the AWS service .
AssessmentDelegation 
- AssessmentId string
- The identifier for the assessment that's associated with the delegation.
- AssessmentName string
- The name of the assessment that's associated with the delegation.
- Comment string
- The comment that's related to the delegation.
- ControlSet stringId 
- The identifier for the control set that's associated with the delegation.
- CreatedBy string
- The user or role that created the delegation. - Minimum : - 1- Maximum : - 100- Pattern : - ^[a-zA-Z0-9-_()\\[\\]\\s]+$
- CreationTime double
- Specifies when the delegation was created.
- Id string
- The unique identifier for the delegation.
- LastUpdated double
- Specifies when the delegation was last updated.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role.
- RoleType Pulumi.Aws Native. Audit Manager. Assessment Role Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- Status
Pulumi.Aws Native. Audit Manager. Assessment Delegation Status 
- The status of the delegation.
- AssessmentId string
- The identifier for the assessment that's associated with the delegation.
- AssessmentName string
- The name of the assessment that's associated with the delegation.
- Comment string
- The comment that's related to the delegation.
- ControlSet stringId 
- The identifier for the control set that's associated with the delegation.
- CreatedBy string
- The user or role that created the delegation. - Minimum : - 1- Maximum : - 100- Pattern : - ^[a-zA-Z0-9-_()\\[\\]\\s]+$
- CreationTime float64
- Specifies when the delegation was created.
- Id string
- The unique identifier for the delegation.
- LastUpdated float64
- Specifies when the delegation was last updated.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role.
- RoleType AssessmentRole Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- Status
AssessmentDelegation Status 
- The status of the delegation.
- assessmentId String
- The identifier for the assessment that's associated with the delegation.
- assessmentName String
- The name of the assessment that's associated with the delegation.
- comment String
- The comment that's related to the delegation.
- controlSet StringId 
- The identifier for the control set that's associated with the delegation.
- createdBy String
- The user or role that created the delegation. - Minimum : - 1- Maximum : - 100- Pattern : - ^[a-zA-Z0-9-_()\\[\\]\\s]+$
- creationTime Double
- Specifies when the delegation was created.
- id String
- The unique identifier for the delegation.
- lastUpdated Double
- Specifies when the delegation was last updated.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role.
- roleType AssessmentRole Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- status
AssessmentDelegation Status 
- The status of the delegation.
- assessmentId string
- The identifier for the assessment that's associated with the delegation.
- assessmentName string
- The name of the assessment that's associated with the delegation.
- comment string
- The comment that's related to the delegation.
- controlSet stringId 
- The identifier for the control set that's associated with the delegation.
- createdBy string
- The user or role that created the delegation. - Minimum : - 1- Maximum : - 100- Pattern : - ^[a-zA-Z0-9-_()\\[\\]\\s]+$
- creationTime number
- Specifies when the delegation was created.
- id string
- The unique identifier for the delegation.
- lastUpdated number
- Specifies when the delegation was last updated.
- roleArn string
- The Amazon Resource Name (ARN) of the IAM role.
- roleType AssessmentRole Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- status
AssessmentDelegation Status 
- The status of the delegation.
- assessment_id str
- The identifier for the assessment that's associated with the delegation.
- assessment_name str
- The name of the assessment that's associated with the delegation.
- comment str
- The comment that's related to the delegation.
- control_set_ strid 
- The identifier for the control set that's associated with the delegation.
- created_by str
- The user or role that created the delegation. - Minimum : - 1- Maximum : - 100- Pattern : - ^[a-zA-Z0-9-_()\\[\\]\\s]+$
- creation_time float
- Specifies when the delegation was created.
- id str
- The unique identifier for the delegation.
- last_updated float
- Specifies when the delegation was last updated.
- role_arn str
- The Amazon Resource Name (ARN) of the IAM role.
- role_type AssessmentRole Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- status
AssessmentDelegation Status 
- The status of the delegation.
- assessmentId String
- The identifier for the assessment that's associated with the delegation.
- assessmentName String
- The name of the assessment that's associated with the delegation.
- comment String
- The comment that's related to the delegation.
- controlSet StringId 
- The identifier for the control set that's associated with the delegation.
- createdBy String
- The user or role that created the delegation. - Minimum : - 1- Maximum : - 100- Pattern : - ^[a-zA-Z0-9-_()\\[\\]\\s]+$
- creationTime Number
- Specifies when the delegation was created.
- id String
- The unique identifier for the delegation.
- lastUpdated Number
- Specifies when the delegation was last updated.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role.
- roleType "PROCESS_OWNER" | "RESOURCE_OWNER"
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- status "IN_PROGRESS" | "UNDER_REVIEW" | "COMPLETE"
- The status of the delegation.
AssessmentDelegationStatus  
AssessmentReportDestinationType   
AssessmentReportsDestination  
- Destination string
- The destination bucket where Audit Manager stores assessment reports.
- DestinationType Pulumi.Aws Native. Audit Manager. Assessment Report Destination Type 
- The destination type, such as Amazon S3.
- Destination string
- The destination bucket where Audit Manager stores assessment reports.
- DestinationType AssessmentReport Destination Type 
- The destination type, such as Amazon S3.
- destination String
- The destination bucket where Audit Manager stores assessment reports.
- destinationType AssessmentReport Destination Type 
- The destination type, such as Amazon S3.
- destination string
- The destination bucket where Audit Manager stores assessment reports.
- destinationType AssessmentReport Destination Type 
- The destination type, such as Amazon S3.
- destination str
- The destination bucket where Audit Manager stores assessment reports.
- destination_type AssessmentReport Destination Type 
- The destination type, such as Amazon S3.
- destination String
- The destination bucket where Audit Manager stores assessment reports.
- destinationType "S3"
- The destination type, such as Amazon S3.
AssessmentRole 
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role.
- RoleType Pulumi.Aws Native. Audit Manager. Assessment Role Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- RoleArn string
- The Amazon Resource Name (ARN) of the IAM role.
- RoleType AssessmentRole Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role.
- roleType AssessmentRole Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- roleArn string
- The Amazon Resource Name (ARN) of the IAM role.
- roleType AssessmentRole Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- role_arn str
- The Amazon Resource Name (ARN) of the IAM role.
- role_type AssessmentRole Type 
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
- roleArn String
- The Amazon Resource Name (ARN) of the IAM role.
- roleType "PROCESS_OWNER" | "RESOURCE_OWNER"
- The type of customer persona. - In - CreateAssessment,- roleTypecan only be- PROCESS_OWNER.- In - UpdateSettings,- roleTypecan only be- PROCESS_OWNER.- In - BatchCreateDelegationByAssessment,- roleTypecan only be- RESOURCE_OWNER.
AssessmentRoleType  
AssessmentScope 
- AwsAccounts List<Pulumi.Aws Native. Audit Manager. Inputs. Assessment Aws Account> 
- The AWS accounts included in scope.
- AwsServices List<Pulumi.Aws Native. Audit Manager. Inputs. Assessment Aws Service> 
- The AWS services included in scope.
- AwsAccounts []AssessmentAws Account 
- The AWS accounts included in scope.
- AwsServices []AssessmentAws Service 
- The AWS services included in scope.
- awsAccounts List<AssessmentAws Account> 
- The AWS accounts included in scope.
- awsServices List<AssessmentAws Service> 
- The AWS services included in scope.
- awsAccounts AssessmentAws Account[] 
- The AWS accounts included in scope.
- awsServices AssessmentAws Service[] 
- The AWS services included in scope.
- aws_accounts Sequence[AssessmentAws Account] 
- The AWS accounts included in scope.
- aws_services Sequence[AssessmentAws Service] 
- The AWS services included in scope.
- awsAccounts List<Property Map>
- The AWS accounts included in scope.
- awsServices List<Property Map>
- The AWS services included in scope.
AssessmentStatus 
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.