Class: Aws::PrometheusService::Types::RoleConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::PrometheusService::Types::RoleConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-prometheusservice/types.rb
Overview
Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#source_role_arn ⇒ String
The Amazon Resource Name (ARN) of the role used in the source account to enable cross-account scraping.
-
#target_role_arn ⇒ String
The Amazon Resource Name (ARN) of the role used in the target account to enable cross-account scraping.
Instance Attribute Details
#source_role_arn ⇒ String
The Amazon Resource Name (ARN) of the role used in the source account to enable cross-account scraping. For information about the contents of this policy, see [Cross-account setup].
[1]: docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#cross-account-remote-write
1377 1378 1379 1380 1381 1382 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1377 class RoleConfiguration < Struct.new( :source_role_arn, :target_role_arn) SENSITIVE = [] include Aws::Structure end |
#target_role_arn ⇒ String
The Amazon Resource Name (ARN) of the role used in the target account to enable cross-account scraping. For information about the contents of this policy, see [Cross-account setup].
[1]: docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#cross-account-remote-write
1377 1378 1379 1380 1381 1382 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1377 class RoleConfiguration < Struct.new( :source_role_arn, :target_role_arn) SENSITIVE = [] include Aws::Structure end |