Interface IPolicy.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IGrantable,IGrantable.Jsii$Default,IPolicy,IPolicyRef,IPolicyRef.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IPolicy.Jsii$Proxy
- Enclosing interface:
IPolicy
@Internal
public static interface IPolicy.Jsii$Default
extends IPolicy, IResource.Jsii$Default, IPolicyRef.Jsii$Default, IGrantable.Jsii$Default
Internal default implementation for
IPolicy.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrockagentcore.IPolicy
IPolicy.Jsii$Default, IPolicy.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IPolicyRef
IPolicyRef.Jsii$Default, IPolicyRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault StringThe description of the policy.default StringThe ARN of the policy resource.default IPolicyEngineThe policy engine this policy belongs to.default StringThe ID of the policy.default StringThe name of the policy.default PolicyValidationModeThe validation mode for the policy.default Grantgrant(IGrantable grantee, String... actions) Grants IAM actions to the IAM Principal.default GrantgrantRead(IGrantable grantee) Grants read permissions on the Policy (data plane).default MetricReturn the given named metric for this policy.default Metricmetric(String metricName, MetricOptions props) Return the given named metric for this policy.default MetricReturn a metric measuring the evaluation latency for this policy.default MetricReturn a metric measuring the evaluation latency for this policy.default MetricReturn a metric containing the total number of evaluations for this policy.default MetricmetricEvaluations(MetricOptions props) Return a metric containing the total number of evaluations for this policy.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable.Jsii$Default
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IPolicyRef.Jsii$Default
getPolicyRefMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyArn
The ARN of the policy resource.- Specified by:
getPolicyArnin interfaceIPolicy
-
getPolicyEngine
The policy engine this policy belongs to.- Specified by:
getPolicyEnginein interfaceIPolicy
-
getPolicyId
The ID of the policy.- Specified by:
getPolicyIdin interfaceIPolicy
-
getPolicyName
The name of the policy.- Specified by:
getPolicyNamein interfaceIPolicy
-
getDescription
The description of the policy.- Specified by:
getDescriptionin interfaceIPolicy
-
getValidationMode
The validation mode for the policy.- Specified by:
getValidationModein interfaceIPolicy
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) Grants IAM actions to the IAM Principal. -
grantRead
Grants read permissions on the Policy (data plane).This grants runtime read access to policy configuration. Use this for monitoring, audit, or read-only administrative roles that need to inspect policy definitions.
-
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this policy. -
metric
Return the given named metric for this policy. -
metricEvaluationLatency
Return a metric measuring the evaluation latency for this policy.This metric represents the time taken to evaluate this specific policy.
- Specified by:
metricEvaluationLatencyin interfaceIPolicy- Parameters:
props- Optional metric configuration.
-
metricEvaluationLatency
Return a metric measuring the evaluation latency for this policy.This metric represents the time taken to evaluate this specific policy.
- Specified by:
metricEvaluationLatencyin interfaceIPolicy
-
metricEvaluations
Return a metric containing the total number of evaluations for this policy.This metric tracks how many times this policy has been evaluated.
- Specified by:
metricEvaluationsin interfaceIPolicy- Parameters:
props- Optional metric configuration.
-
metricEvaluations
Return a metric containing the total number of evaluations for this policy.This metric tracks how many times this policy has been evaluated.
- Specified by:
metricEvaluationsin interfaceIPolicy
-