Skip to content
v2.275.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 ​

sourceRoleArnoptionalstringsource_role_arnoptionalstrsourceRoleArnoptionalStringSourceRoleArnoptionalstringSourceRoleArnoptional*string#
The ARN of the source role.
targetRoleArnoptionalstringtarget_role_arnoptionalstrtargetRoleArnoptionalStringTargetRoleArnoptionalstringTargetRoleArnoptional*string#
The ARN of the target role.