Interface UserPolicyReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
UserPolicyReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.904Z")
@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.interfaces.iam.*;
UserPolicyReference userPolicyReference = UserPolicyReference.builder()
.policyName("policyName")
.userName("userName")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forUserPolicyReferencestatic final classAn implementation forUserPolicyReference -
Method Summary
Modifier and TypeMethodDescriptionstatic UserPolicyReference.Builderbuilder()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.BuilderofUserPolicyReference
-