interface RoleConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.APS.Mixins.CfnScraperPropsMixin.RoleConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsaps/mixins#CfnScraperPropsMixin_RoleConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.aps.mixins.CfnScraperPropsMixin.RoleConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_aps.mixins.CfnScraperPropsMixin.RoleConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_aps » mixins » CfnScraperPropsMixin » 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 { mixins as aps_mixins } from '@aws-cdk/mixins-preview/aws-aps';
const roleConfigurationProperty: aps_mixins.CfnScraperPropsMixin.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