interface RoleConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.APS.CfnScraper.RoleConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsaps#CfnScraper_RoleConfigurationProperty |
Java | software.amazon.awscdk.services.aps.CfnScraper.RoleConfigurationProperty |
Python | aws_cdk.aws_aps.CfnScraper.RoleConfigurationProperty |
TypeScript | aws-cdk-lib » aws_aps » CfnScraper » RoleConfigurationProperty |
The role configuration in an Amazon Managed Service for Prometheus scraper.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_aps as aps } from 'aws-cdk-lib';
const roleConfigurationProperty: aps.CfnScraper.RoleConfigurationProperty = {
sourceRoleArn: 'sourceRoleArn',
targetRoleArn: 'targetRoleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| source | string | The ARN of the source role. |
| target | string | The ARN of the target role. |
sourceRoleArn?
Type:
string
(optional)
The ARN of the source role.
targetRoleArn?
Type:
string
(optional)
The ARN of the target role.

.NET
Go
Java
Python
TypeScript