Class: Aws::AuditManager::Types::CreateAssessmentRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AuditManager::Types::CreateAssessmentRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-auditmanager/types.rb
Overview
When making an API call, you may pass CreateAssessmentRequest data as a hash:
{
name: "AssessmentName", # required
description: "AssessmentDescription",
assessment_reports_destination: { # required
destination_type: "S3", # accepts S3
destination: "S3Url",
},
scope: { # required
aws_accounts: [
{
id: "AccountId",
email_address: "EmailAddress",
name: "AccountName",
},
],
aws_services: [
{
service_name: "AWSServiceName",
},
],
},
roles: [ # required
{
role_type: "PROCESS_OWNER", # accepts PROCESS_OWNER, RESOURCE_OWNER
role_arn: "IamArn",
},
],
framework_id: "UUID", # required
tags: {
"TagKey" => "TagValue",
},
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#assessment_reports_destination ⇒ Types::AssessmentReportsDestination
The assessment report storage destination for the specified assessment that is being created.
-
#description ⇒ String
The optional description of the assessment to be created.
-
#framework_id ⇒ String
The identifier for the specified framework.
-
#name ⇒ String
The name of the assessment to be created.
-
#roles ⇒ Array<Types::Role>
The list of roles for the specified assessment.
-
#scope ⇒ Types::Scope
The wrapper that contains the AWS accounts and AWS services in scope for the assessment.
-
#tags ⇒ Hash<String,String>
The tags associated with the assessment.
Instance Attribute Details
#assessment_reports_destination ⇒ Types::AssessmentReportsDestination
The assessment report storage destination for the specified assessment that is being created.
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1577 class CreateAssessmentRequest < Struct.new( :name, :description, :assessment_reports_destination, :scope, :roles, :framework_id, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
The optional description of the assessment to be created.
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1577 class CreateAssessmentRequest < Struct.new( :name, :description, :assessment_reports_destination, :scope, :roles, :framework_id, :tags) SENSITIVE = [] include Aws::Structure end |
#framework_id ⇒ String
The identifier for the specified framework.
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1577 class CreateAssessmentRequest < Struct.new( :name, :description, :assessment_reports_destination, :scope, :roles, :framework_id, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the assessment to be created.
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1577 class CreateAssessmentRequest < Struct.new( :name, :description, :assessment_reports_destination, :scope, :roles, :framework_id, :tags) SENSITIVE = [] include Aws::Structure end |
#roles ⇒ Array<Types::Role>
The list of roles for the specified assessment.
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1577 class CreateAssessmentRequest < Struct.new( :name, :description, :assessment_reports_destination, :scope, :roles, :framework_id, :tags) SENSITIVE = [] include Aws::Structure end |
#scope ⇒ Types::Scope
The wrapper that contains the AWS accounts and AWS services in scope for the assessment.
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1577 class CreateAssessmentRequest < Struct.new( :name, :description, :assessment_reports_destination, :scope, :roles, :framework_id, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags associated with the assessment.
1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1577 class CreateAssessmentRequest < Struct.new( :name, :description, :assessment_reports_destination, :scope, :roles, :framework_id, :tags) SENSITIVE = [] include Aws::Structure end |