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