Interface PolicyReference
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PolicyReference.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:42.978Z")
@Stability(Stable)
public interface PolicyReference
extends software.amazon.jsii.JsiiSerializable
A reference to a Policy 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.*;
PolicyReference policyReference = PolicyReference.builder()
.policyId("policyId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPolicyReferencestatic final classAn implementation forPolicyReference -
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyReference.Builderbuilder()The Id of the Policy resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyId
The Id of the Policy resource. -
builder
- Returns:
- a
PolicyReference.BuilderofPolicyReference
-