Interface CfnScraper.RoleConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnScraper.RoleConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnScraper
@Stability(Stable)
public static interface CfnScraper.RoleConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.aps.*;
RoleConfigurationProperty roleConfigurationProperty = RoleConfigurationProperty.builder()
.sourceRoleArn("sourceRoleArn")
.targetRoleArn("targetRoleArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnScraper.RoleConfigurationPropertystatic final classAn implementation forCfnScraper.RoleConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourceRoleArn
The ARN of the source role.- See Also:
-
getTargetRoleArn
The ARN of the target role.- See Also:
-
builder
-