Interface RolePolicyReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RolePolicyReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-15T14:51:58.884Z")
@Stability(Stable)
public interface RolePolicyReference
extends software.amazon.jsii.JsiiSerializable
A reference to a RolePolicy resource.
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.iam.*; RolePolicyReference rolePolicyReference = RolePolicyReference.builder() .policyName("policyName") .roleName("roleName") .build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forRolePolicyReference
static final class
An implementation forRolePolicyReference
-
Method Summary
Modifier and TypeMethodDescriptionstatic RolePolicyReference.Builder
builder()
The PolicyName of the RolePolicy resource.The RoleName of the RolePolicy resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyName
The PolicyName of the RolePolicy resource. -
getRoleName
The RoleName of the RolePolicy resource. -
builder
- Returns:
- a
RolePolicyReference.Builder
ofRolePolicyReference
-