Interface IGuardrail.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IGuardrail,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IGuardrail.Jsii$Proxy
- Enclosing interface:
IGuardrail
@Internal
public static interface IGuardrail.Jsii$Default
extends IGuardrail, IResource.Jsii$Default
Internal default implementation for
IGuardrail.-
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.bedrock.alpha.IGuardrail
IGuardrail.Jsii$Default, IGuardrail.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault String(experimental) The ARN of the guardrail.default String(experimental) The ID of the guardrail.default String(experimental) The version of the guardrail.default IKey(experimental) Optional KMS encryption key associated with this guardrail.default String(experimental) When this guardrail was last updated.default Grantgrant(IGrantable grantee, String... actions) (experimental) Grant the given principal identity permissions to perform actions on this guardrail.default GrantgrantApply(IGrantable grantee) (experimental) Grant the given identity permissions to apply the guardrail.default Metric(experimental) Return the given named metric for this guardrail.default Metricmetric(String metricName, MetricOptions props) (experimental) Return the given named metric for this guardrail.default Metric(experimental) Return the invocation client errors metric for this guardrail.default Metric(experimental) Return the invocation client errors metric for this guardrail.default Metric(experimental) Return the invocation latency metric for this guardrail.default Metric(experimental) Return the invocation latency metric for this guardrail.default Metric(experimental) Return the invocations metric for this guardrail.default MetricmetricInvocations(MetricOptions props) (experimental) Return the invocations metric for this guardrail.default Metric(experimental) Return the invocation server errors metric for this guardrail.default Metric(experimental) Return the invocation server errors metric for this guardrail.default Metric(experimental) Return the invocations intervened metric for this guardrail.default Metric(experimental) Return the invocations intervened metric for this guardrail.default Metric(experimental) Return the invocation throttles metric for this guardrail.default Metric(experimental) Return the invocation throttles metric for this guardrail.default Metric(experimental) Return the text unit count metric for this guardrail.default MetricmetricTextUnitCount(MetricOptions props) (experimental) Return the text unit count metric for this guardrail.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.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGuardrailArn
(experimental) The ARN of the guardrail.- Specified by:
getGuardrailArnin interfaceIGuardrail
-
getGuardrailId
(experimental) The ID of the guardrail.- Specified by:
getGuardrailIdin interfaceIGuardrail
-
getGuardrailVersion
(experimental) The version of the guardrail.If no explicit version is created, this will default to "DRAFT"
- Specified by:
getGuardrailVersionin interfaceIGuardrail
-
getKmsKey
(experimental) Optional KMS encryption key associated with this guardrail.- Specified by:
getKmsKeyin interfaceIGuardrail
-
getLastUpdated
(experimental) When this guardrail was last updated.- Specified by:
getLastUpdatedin interfaceIGuardrail
-
grant
@Stability(Experimental) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) (experimental) Grant the given principal identity permissions to perform actions on this guardrail.- Specified by:
grantin interfaceIGuardrail- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantApply
(experimental) Grant the given identity permissions to apply the guardrail.- Specified by:
grantApplyin interfaceIGuardrail- Parameters:
grantee- This parameter is required.
-
metric
@Stability(Experimental) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Return the given named metric for this guardrail.- Specified by:
metricin interfaceIGuardrail- Parameters:
metricName- This parameter is required.props-
-
metric
(experimental) Return the given named metric for this guardrail.- Specified by:
metricin interfaceIGuardrail- Parameters:
metricName- This parameter is required.
-
metricInvocationClientErrors
@Stability(Experimental) @NotNull default Metric metricInvocationClientErrors(@Nullable MetricOptions props) (experimental) Return the invocation client errors metric for this guardrail.- Specified by:
metricInvocationClientErrorsin interfaceIGuardrail- Parameters:
props-
-
metricInvocationClientErrors
(experimental) Return the invocation client errors metric for this guardrail.- Specified by:
metricInvocationClientErrorsin interfaceIGuardrail
-
metricInvocationLatency
@Stability(Experimental) @NotNull default Metric metricInvocationLatency(@Nullable MetricOptions props) (experimental) Return the invocation latency metric for this guardrail.- Specified by:
metricInvocationLatencyin interfaceIGuardrail- Parameters:
props-
-
metricInvocationLatency
(experimental) Return the invocation latency metric for this guardrail.- Specified by:
metricInvocationLatencyin interfaceIGuardrail
-
metricInvocations
(experimental) Return the invocations metric for this guardrail.- Specified by:
metricInvocationsin interfaceIGuardrail- Parameters:
props-
-
metricInvocations
(experimental) Return the invocations metric for this guardrail.- Specified by:
metricInvocationsin interfaceIGuardrail
-
metricInvocationServerErrors
@Stability(Experimental) @NotNull default Metric metricInvocationServerErrors(@Nullable MetricOptions props) (experimental) Return the invocation server errors metric for this guardrail.- Specified by:
metricInvocationServerErrorsin interfaceIGuardrail- Parameters:
props-
-
metricInvocationServerErrors
(experimental) Return the invocation server errors metric for this guardrail.- Specified by:
metricInvocationServerErrorsin interfaceIGuardrail
-
metricInvocationsIntervened
@Stability(Experimental) @NotNull default Metric metricInvocationsIntervened(@Nullable MetricOptions props) (experimental) Return the invocations intervened metric for this guardrail.- Specified by:
metricInvocationsIntervenedin interfaceIGuardrail- Parameters:
props-
-
metricInvocationsIntervened
(experimental) Return the invocations intervened metric for this guardrail.- Specified by:
metricInvocationsIntervenedin interfaceIGuardrail
-
metricInvocationThrottles
@Stability(Experimental) @NotNull default Metric metricInvocationThrottles(@Nullable MetricOptions props) (experimental) Return the invocation throttles metric for this guardrail.- Specified by:
metricInvocationThrottlesin interfaceIGuardrail- Parameters:
props-
-
metricInvocationThrottles
(experimental) Return the invocation throttles metric for this guardrail.- Specified by:
metricInvocationThrottlesin interfaceIGuardrail
-
metricTextUnitCount
(experimental) Return the text unit count metric for this guardrail.- Specified by:
metricTextUnitCountin interfaceIGuardrail- Parameters:
props-
-
metricTextUnitCount
(experimental) Return the text unit count metric for this guardrail.- Specified by:
metricTextUnitCountin interfaceIGuardrail
-