Class IGuardrail.Jsii$Proxy
- All Implemented Interfaces:
IResource
,IResource.Jsii$Default
,IGuardrail
,IGuardrail.Jsii$Default
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
,software.constructs.IDependable
,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IGuardrail
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.alpha.IGuardrail
IGuardrail.Jsii$Default, IGuardrail.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.final ResourceEnvironment
getEnv()
The environment this resource belongs to.final String
(experimental) The ARN of the guardrail.final String
(experimental) The ID of the guardrail.final String
(experimental) The version of the guardrail.final IKey
(experimental) Optional KMS encryption key associated with this guardrail.final String
(experimental) When this guardrail was last updated.final software.constructs.Node
getNode()
The tree node.final Stack
getStack()
The stack in which this resource is defined.final Grant
grant
(IGrantable grantee, String... actions) (experimental) Grant the given principal identity permissions to perform actions on this guardrail.final Grant
grantApply
(IGrantable grantee) (experimental) Grant the given identity permissions to apply the guardrail.final Metric
(experimental) Return the given named metric for this guardrail.final Metric
metric
(String metricName, MetricOptions props) (experimental) Return the given named metric for this guardrail.final Metric
(experimental) Return the invocation client errors metric for this guardrail.final Metric
(experimental) Return the invocation client errors metric for this guardrail.final Metric
(experimental) Return the invocation latency metric for this guardrail.final Metric
(experimental) Return the invocation latency metric for this guardrail.final Metric
(experimental) Return the invocations metric for this guardrail.final Metric
metricInvocations
(MetricOptions props) (experimental) Return the invocations metric for this guardrail.final Metric
(experimental) Return the invocation server errors metric for this guardrail.final Metric
(experimental) Return the invocation server errors metric for this guardrail.final Metric
(experimental) Return the invocations intervened metric for this guardrail.final Metric
(experimental) Return the invocations intervened metric for this guardrail.final Metric
(experimental) Return the invocation throttles metric for this guardrail.final Metric
(experimental) Return the invocation throttles metric for this guardrail.final Metric
(experimental) Return the text unit count metric for this guardrail.final Metric
metricTextUnitCount
(MetricOptions props) (experimental) Return the text unit count metric for this guardrail.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
getNode
in interfacesoftware.constructs.IConstruct
- Specified by:
getNode
in interfacesoftware.constructs.IConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIGuardrail.Jsii$Default
- Specified by:
getNode
in interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnv
in interfaceIGuardrail.Jsii$Default
- Specified by:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIGuardrail.Jsii$Default
- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getGuardrailArn
(experimental) The ARN of the guardrail.- Specified by:
getGuardrailArn
in interfaceIGuardrail
- Specified by:
getGuardrailArn
in interfaceIGuardrail.Jsii$Default
-
getGuardrailId
(experimental) The ID of the guardrail.- Specified by:
getGuardrailId
in interfaceIGuardrail
- Specified by:
getGuardrailId
in interfaceIGuardrail.Jsii$Default
-
getGuardrailVersion
(experimental) The version of the guardrail.If no explicit version is created, this will default to "DRAFT"
- Specified by:
getGuardrailVersion
in interfaceIGuardrail
- Specified by:
getGuardrailVersion
in interfaceIGuardrail.Jsii$Default
-
getKmsKey
(experimental) Optional KMS encryption key associated with this guardrail.- Specified by:
getKmsKey
in interfaceIGuardrail
- Specified by:
getKmsKey
in interfaceIGuardrail.Jsii$Default
-
getLastUpdated
(experimental) When this guardrail was last updated.- Specified by:
getLastUpdated
in interfaceIGuardrail
- Specified by:
getLastUpdated
in interfaceIGuardrail.Jsii$Default
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
).- Specified by:
applyRemovalPolicy
in interfaceIGuardrail.Jsii$Default
- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
grant
@Stability(Experimental) @NotNull public final Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) (experimental) Grant the given principal identity permissions to perform actions on this guardrail.- Specified by:
grant
in interfaceIGuardrail
- Specified by:
grant
in interfaceIGuardrail.Jsii$Default
- Parameters:
grantee
- This parameter is required.actions
- This parameter is required.
-
grantApply
(experimental) Grant the given identity permissions to apply the guardrail.- Specified by:
grantApply
in interfaceIGuardrail
- Specified by:
grantApply
in interfaceIGuardrail.Jsii$Default
- Parameters:
grantee
- This parameter is required.
-
metric
@Stability(Experimental) @NotNull public final Metric metric(@NotNull String metricName, @Nullable MetricOptions props) (experimental) Return the given named metric for this guardrail.- Specified by:
metric
in interfaceIGuardrail
- Specified by:
metric
in interfaceIGuardrail.Jsii$Default
- Parameters:
metricName
- This parameter is required.props
-
-
metric
(experimental) Return the given named metric for this guardrail.- Specified by:
metric
in interfaceIGuardrail
- Parameters:
metricName
- This parameter is required.
-
metricInvocationClientErrors
@Stability(Experimental) @NotNull public final Metric metricInvocationClientErrors(@Nullable MetricOptions props) (experimental) Return the invocation client errors metric for this guardrail.- Specified by:
metricInvocationClientErrors
in interfaceIGuardrail
- Specified by:
metricInvocationClientErrors
in interfaceIGuardrail.Jsii$Default
- Parameters:
props
-
-
metricInvocationClientErrors
(experimental) Return the invocation client errors metric for this guardrail.- Specified by:
metricInvocationClientErrors
in interfaceIGuardrail
-
metricInvocationLatency
@Stability(Experimental) @NotNull public final Metric metricInvocationLatency(@Nullable MetricOptions props) (experimental) Return the invocation latency metric for this guardrail.- Specified by:
metricInvocationLatency
in interfaceIGuardrail
- Specified by:
metricInvocationLatency
in interfaceIGuardrail.Jsii$Default
- Parameters:
props
-
-
metricInvocationLatency
(experimental) Return the invocation latency metric for this guardrail.- Specified by:
metricInvocationLatency
in interfaceIGuardrail
-
metricInvocations
@Stability(Experimental) @NotNull public final Metric metricInvocations(@Nullable MetricOptions props) (experimental) Return the invocations metric for this guardrail.- Specified by:
metricInvocations
in interfaceIGuardrail
- Specified by:
metricInvocations
in interfaceIGuardrail.Jsii$Default
- Parameters:
props
-
-
metricInvocations
(experimental) Return the invocations metric for this guardrail.- Specified by:
metricInvocations
in interfaceIGuardrail
-
metricInvocationServerErrors
@Stability(Experimental) @NotNull public final Metric metricInvocationServerErrors(@Nullable MetricOptions props) (experimental) Return the invocation server errors metric for this guardrail.- Specified by:
metricInvocationServerErrors
in interfaceIGuardrail
- Specified by:
metricInvocationServerErrors
in interfaceIGuardrail.Jsii$Default
- Parameters:
props
-
-
metricInvocationServerErrors
(experimental) Return the invocation server errors metric for this guardrail.- Specified by:
metricInvocationServerErrors
in interfaceIGuardrail
-
metricInvocationsIntervened
@Stability(Experimental) @NotNull public final Metric metricInvocationsIntervened(@Nullable MetricOptions props) (experimental) Return the invocations intervened metric for this guardrail.- Specified by:
metricInvocationsIntervened
in interfaceIGuardrail
- Specified by:
metricInvocationsIntervened
in interfaceIGuardrail.Jsii$Default
- Parameters:
props
-
-
metricInvocationsIntervened
(experimental) Return the invocations intervened metric for this guardrail.- Specified by:
metricInvocationsIntervened
in interfaceIGuardrail
-
metricInvocationThrottles
@Stability(Experimental) @NotNull public final Metric metricInvocationThrottles(@Nullable MetricOptions props) (experimental) Return the invocation throttles metric for this guardrail.- Specified by:
metricInvocationThrottles
in interfaceIGuardrail
- Specified by:
metricInvocationThrottles
in interfaceIGuardrail.Jsii$Default
- Parameters:
props
-
-
metricInvocationThrottles
(experimental) Return the invocation throttles metric for this guardrail.- Specified by:
metricInvocationThrottles
in interfaceIGuardrail
-
metricTextUnitCount
@Stability(Experimental) @NotNull public final Metric metricTextUnitCount(@Nullable MetricOptions props) (experimental) Return the text unit count metric for this guardrail.- Specified by:
metricTextUnitCount
in interfaceIGuardrail
- Specified by:
metricTextUnitCount
in interfaceIGuardrail.Jsii$Default
- Parameters:
props
-
-
metricTextUnitCount
(experimental) Return the text unit count metric for this guardrail.- Specified by:
metricTextUnitCount
in interfaceIGuardrail
-