![]() |
![]()
| ![]() |
![]()
NAMEPaws::AuditManager::CreateAssessment - Arguments for method CreateAssessment on Paws::AuditManager DESCRIPTIONThis class represents the parameters used for calling the method CreateAssessment on the AWS Audit Manager service. Use the attributes of this class as arguments to method CreateAssessment. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateAssessment. SYNOPSISmy $auditmanager = Paws->service('AuditManager'); my $CreateAssessmentResponse = $auditmanager->CreateAssessment( AssessmentReportsDestination => { Destination => 'MyS3Url', # min: 1, max: 1024; OPTIONAL DestinationType => 'S3', # values: S3; OPTIONAL }, FrameworkId => 'MyUUID', Name => 'MyAssessmentName', Roles => [ { RoleArn => 'MyIamArn', # min: 20, max: 2048; OPTIONAL RoleType => 'PROCESS_OWNER', # values: PROCESS_OWNER, RESOURCE_OWNER; OPTIONAL }, ... ], Scope => { AwsAccounts => [ { EmailAddress => 'MyEmailAddress', # min: 1, max: 320; OPTIONAL Id => 'MyAccountId', # min: 12, max: 12; OPTIONAL Name => 'MyAccountName', # min: 1, max: 50; OPTIONAL }, ... ], # OPTIONAL AwsServices => [ { ServiceName => 'MyAWSServiceName', # min: 1, max: 40; OPTIONAL }, ... ], # OPTIONAL }, Description => 'MyAssessmentDescription', # OPTIONAL Tags => { 'MyTagKey' => 'MyTagValue', # key: min: 1, max: 128, value: max: 256 }, # OPTIONAL ); # Results: my $Assessment = $CreateAssessmentResponse->Assessment; # Returns a L<Paws::AuditManager::CreateAssessmentResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/auditmanager/CreateAssessment> ATTRIBUTESREQUIRED AssessmentReportsDestination => Paws::AuditManager::AssessmentReportsDestinationThe assessment report storage destination for the specified assessment that is being created. Description => StrThe optional description of the assessment to be created. REQUIRED FrameworkId => StrThe identifier for the specified framework. REQUIRED Name => StrThe name of the assessment to be created. REQUIRED Roles => ArrayRef[Paws::AuditManager::Role]The list of roles for the specified assessment. REQUIRED Scope => Paws::AuditManager::ScopeTags => Paws::AuditManager::TagMapThe tags associated with the assessment. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateAssessment in Paws::AuditManager BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|