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", # required, accepts PROCESS_OWNER, RESOURCE_OWNER
role_arn: "IamArn", # required
},
],
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 assessment that’s being created.
-
#description ⇒ String
The optional description of the assessment to be created.
-
#framework_id ⇒ String
The identifier for the framework that the assessment will be created from.
-
#name ⇒ String
The name of the assessment to be created.
-
#roles ⇒ Array<Types::Role>
The list of roles for the assessment.
-
#scope ⇒ Types::Scope
The wrapper that contains the Amazon Web Services accounts and services that are in scope for the assessment.
-
#tags ⇒ Hash<String,String>
The tags that are associated with the assessment.
Instance Attribute Details
#assessment_reports_destination ⇒ Types::AssessmentReportsDestination
The assessment report storage destination for the assessment that’s being created.
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1839 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.
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1839 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 framework that the assessment will be created from.
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1839 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.
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1839 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 assessment.
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1839 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 Amazon Web Services accounts and services that are in scope for the assessment.
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1839 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 that are associated with the assessment.
1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 |
# File 'lib/aws-sdk-auditmanager/types.rb', line 1839 class CreateAssessmentRequest < Struct.new( :name, :description, :assessment_reports_destination, :scope, :roles, :framework_id, :tags) SENSITIVE = [] include Aws::Structure end |