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