Class: Aws::Assurance::Types::Environment

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb

Overview

Contains details about a governance environment, including its configuration, connected identity store, service role, evaluation scope, and lifecycle status.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#created_at ⇒ Time

The timestamp when the environment was created.

Returns:

  • (Time)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

A description of the environment.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#domain_prefix ⇒ String

The optional custom domain prefix for the environment portal URL. The prefix must be unique within the AWS Region. If you don't specify a prefix, AWS Assurance uses the environment ID. You can't change the prefix after you create the environment.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#environment_arn ⇒ String

The ARN of this governance environment.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#environment_id ⇒ String

The unique identifier of the environment.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#environment_name ⇒ String

The name of the environment.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#environment_scope ⇒ String

The set of AWS accounts this environment evaluates (read-only).

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#evidence_location ⇒ String

The evidence bucket location. Read-only. To configure evidence sources, use CreateEnvironmentConnection.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#identity_store ⇒ Types::IdentityStoreInfo

The identity store configuration.



2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#kms_key_arn ⇒ String

The ARN of a customer managed AWS KMS key used to encrypt evidence at rest. When set, the service encrypts new evidence uploads using this key.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#operator_role ⇒ String

The IAM role assumed to issue temporary credentials for operator application users (both IAM and IAM Identity Center flows). Trust policy must allow the AWS Assurance service principal to sts:AssumeRole.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#organizational_unit_ids ⇒ Array<String>

The organizational units this environment's evaluation is scoped to. Only present on organization environments. When absent, the entire organization is in scope. Accounts in nested OUs under a listed OU are included.

Returns:

  • (Array<String>)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#regions ⇒ Array<String>

The AWS Regions in scope for evaluation. When empty or omitted, the environment evaluates all generally available Regions in the partition. Applies to all accounts.

Returns:

  • (Array<String>)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#service_role ⇒ String

The IAM role AWS Assurance assumes to discover and evaluate the account's resources. Not set for ORGANIZATION environments, which always use the AWS Assurance service-linked role (AWSServiceRoleForAssurance) in each member account.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The current lifecycle state of the environment.

Returns:

  • (String)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Array<Types::Tag>

The tags attached to the resource, as key-value pairs.

Returns:



2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end

#updated_at ⇒ Time

The timestamp when the environment was last updated.

Returns:

  • (Time)


2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
# File 'gems/aws-sdk-assurance/lib/aws-sdk-assurance/types.rb', line 2507

class Environment < Struct.new(
  :environment_id,
  :environment_name,
  :environment_arn,
  :description,
  :identity_store,
  :domain_prefix,
  :service_role,
  :operator_role,
  :kms_key_arn,
  :status,
  :regions,
  :environment_scope,
  :organizational_unit_ids,
  :evidence_location,
  :tags,
  :created_at,
  :updated_at)
  SENSITIVE = []
  include Aws::Structure
end