Interface RolePolicyReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
RolePolicyReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-10T13:40:07.355Z")
@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 classA builder forRolePolicyReferencestatic final classAn implementation forRolePolicyReference -
Method Summary
Modifier and TypeMethodDescriptionstatic RolePolicyReference.Builderbuilder()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.BuilderofRolePolicyReference
-