Skip to content
v2.274.0

RoleConfigurationProperty Struct ​

The role configuration in an Amazon Managed Service for Prometheus scraper.

Example ​

ts
// 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 ​

sourceRoleArnstringsource_role_arnstrsourceRoleArnStringSourceRoleArnstringSourceRoleArn*string#
The ARN of the source role.
targetRoleArnstringtarget_role_arnstrtargetRoleArnStringTargetRoleArnstringTargetRoleArn*string#
The ARN of the target role.