Class CfnScraperPropsMixin.RoleConfigurationProperty
The role configuration in an Amazon Managed Service for Prometheus scraper.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.APS
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnScraperPropsMixin.RoleConfigurationProperty : CfnScraperPropsMixin.IRoleConfigurationProperty
Syntax (vb)
Public Class CfnScraperPropsMixin.RoleConfigurationProperty Implements CfnScraperPropsMixin.IRoleConfigurationProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.APS;
var roleConfigurationProperty = new RoleConfigurationProperty {
SourceRoleArn = "sourceRoleArn",
TargetRoleArn = "targetRoleArn"
};
Synopsis
Constructors
| RoleConfigurationProperty() | The role configuration in an Amazon Managed Service for Prometheus scraper. |
Properties
| SourceRoleArn | The ARN of the source role. |
| TargetRoleArn | The ARN of the target role. |
Constructors
RoleConfigurationProperty()
The role configuration in an Amazon Managed Service for Prometheus scraper.
public RoleConfigurationProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.APS;
var roleConfigurationProperty = new RoleConfigurationProperty {
SourceRoleArn = "sourceRoleArn",
TargetRoleArn = "targetRoleArn"
};
Properties
SourceRoleArn
The ARN of the source role.
public string? SourceRoleArn { get; set; }
Property Value
Remarks
TargetRoleArn
The ARN of the target role.
public string? TargetRoleArn { get; set; }