/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * The identifier for the specified framework. */ export type FrameworkId = string; export type UUID = string; /** * The identifier for the specified AWS account. */ export type AccountId = string; /** * The unique identifier for the email account. */ export type EmailAddress = string; /** * The name of the specified AWS account. */ export type AccountName = string; /** * The Amazon Resource Name (ARN) of the assessment. */ export type AssessmentArn = string; /** * The sequence of characters that identifies when the event occurred. */ export type Timestamp = number; /** * The identifier for the specified control set. */ export type ControlSetId = string; /** * The IAM user or role that performed the action. */ export type CreatedBy = string; /** * The Amazon Resource Name (ARN) of the IAM user or role. */ export type IamArn = string; /** * The name of the related assessment. */ export type AssessmentName = string; /** * The comment related to the delegation. */ export type DelegationComment = string; /** * The IAM role type. */ export type RoleType = "PROCESS_OWNER" | "RESOURCE_OWNER"; /** * The status of the delegation. */ export type DelegationStatus = "IN_PROGRESS" | "UNDER_REVIEW" | "COMPLETE"; /** * The name of the AWS service. */ export type AWSServiceName = string; /** * The URL of the specified Amazon S3 bucket. */ export type S3Url = string; /** * The destination type, such as Amazon S3. */ export type AssessmentReportDestinationType = "S3"; /** * The status of the specified assessment. */ export type AssessmentStatus = "ACTIVE" | "INACTIVE"; /** * The description of the specified assessment. */ export type AssessmentDescription = string; /** * An entity that defines the scope of audit evidence collected by AWS Audit Manager. */ export interface AwsAuditmanagerAssessment { FrameworkId?: FrameworkId; AssessmentId?: UUID; AwsAccount?: AWSAccount; Arn?: AssessmentArn; /** * The tags associated with the assessment. */ Tags?: Tag[]; /** * The list of delegations. */ Delegations?: Delegation[]; /** * The list of roles for the specified assessment. */ Roles?: Role[]; Scope?: Scope; AssessmentReportsDestination?: AssessmentReportsDestination; Status?: AssessmentStatus; CreationTime?: Timestamp; Name?: AssessmentName; Description?: AssessmentDescription; } /** * The AWS account associated with the assessment. */ export interface AWSAccount { Id?: AccountId; EmailAddress?: EmailAddress; Name?: AccountName; } /** * A key-value pair to associate with a resource. */ export interface Tag { /** * 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 -. */ Key: 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 -. */ Value: string; } /** * The assignment of a control set to a delegate for review. */ export interface Delegation { LastUpdated?: Timestamp; ControlSetId?: ControlSetId; CreationTime?: Timestamp; CreatedBy?: CreatedBy; RoleArn?: IamArn; AssessmentName?: AssessmentName; Comment?: DelegationComment; Id?: UUID; RoleType?: RoleType; AssessmentId?: UUID; Status?: DelegationStatus; } /** * The wrapper that contains AWS Audit Manager role information, such as the role type and IAM ARN. */ export interface Role { RoleArn?: IamArn; RoleType?: RoleType; } /** * The wrapper that contains the AWS accounts and AWS services in scope for the assessment. */ export interface Scope { /** * The AWS accounts included in scope. */ AwsAccounts?: AWSAccount[]; /** * The AWS services included in scope. */ AwsServices?: AWSService[]; } /** * An AWS service such as Amazon S3, AWS CloudTrail, and so on. */ export interface AWSService { ServiceName?: AWSServiceName; } /** * The destination in which evidence reports are stored for the specified assessment. */ export interface AssessmentReportsDestination { Destination?: S3Url; DestinationType?: AssessmentReportDestinationType; }