Class IGuardrail.Jsii$Proxy
- All Implemented Interfaces:
IEnvironmentAware,IEnvironmentAware.Jsii$Default,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.InitializationModeNested 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.final ResourceEnvironmentgetEnv()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.NodegetNode()The tree node.final StackgetStack()The stack in which this resource is defined.final Grantgrant(IGrantable grantee, String... actions) (experimental) Grant the given principal identity permissions to perform actions on this guardrail.final GrantgrantApply(IGrantable grantee) (experimental) Grant the given identity permissions to apply the guardrail.final Metric(experimental) Return the given named metric for this guardrail.final Metricmetric(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 MetricmetricInvocations(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 MetricmetricTextUnitCount(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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIGuardrail.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware- Specified by:
getEnvin interfaceIEnvironmentAware.Jsii$Default- Specified by:
getEnvin interfaceIGuardrail.Jsii$Default- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIGuardrail.Jsii$Default- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getGuardrailArn
(experimental) The ARN of the guardrail.- Specified by:
getGuardrailArnin interfaceIGuardrail- Specified by:
getGuardrailArnin interfaceIGuardrail.Jsii$Default
-
getGuardrailId
(experimental) The ID of the guardrail.- Specified by:
getGuardrailIdin interfaceIGuardrail- Specified by:
getGuardrailIdin interfaceIGuardrail.Jsii$Default
-
getGuardrailVersion
(experimental) The version of the guardrail.If no explicit version is created, this will default to "DRAFT"
- Specified by:
getGuardrailVersionin interfaceIGuardrail- Specified by:
getGuardrailVersionin interfaceIGuardrail.Jsii$Default
-
getKmsKey
(experimental) Optional KMS encryption key associated with this guardrail.- Specified by:
getKmsKeyin interfaceIGuardrail- Specified by:
getKmsKeyin interfaceIGuardrail.Jsii$Default
-
getLastUpdated
(experimental) When this guardrail was last updated.- Specified by:
getLastUpdatedin interfaceIGuardrail- Specified by:
getLastUpdatedin 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:
applyRemovalPolicyin interfaceIGuardrail.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin 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:
grantin interfaceIGuardrail- Specified by:
grantin 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:
grantApplyin interfaceIGuardrail- Specified by:
grantApplyin 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:
metricin interfaceIGuardrail- Specified by:
metricin interfaceIGuardrail.Jsii$Default- 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 public final Metric metricInvocationClientErrors(@Nullable MetricOptions props) (experimental) Return the invocation client errors metric for this guardrail.- Specified by:
metricInvocationClientErrorsin interfaceIGuardrail- Specified by:
metricInvocationClientErrorsin interfaceIGuardrail.Jsii$Default- Parameters:
props-
-
metricInvocationClientErrors
(experimental) Return the invocation client errors metric for this guardrail.- Specified by:
metricInvocationClientErrorsin interfaceIGuardrail
-
metricInvocationLatency
@Stability(Experimental) @NotNull public final Metric metricInvocationLatency(@Nullable MetricOptions props) (experimental) Return the invocation latency metric for this guardrail.- Specified by:
metricInvocationLatencyin interfaceIGuardrail- Specified by:
metricInvocationLatencyin interfaceIGuardrail.Jsii$Default- Parameters:
props-
-
metricInvocationLatency
(experimental) Return the invocation latency metric for this guardrail.- Specified by:
metricInvocationLatencyin interfaceIGuardrail
-
metricInvocations
@Stability(Experimental) @NotNull public final Metric metricInvocations(@Nullable MetricOptions props) (experimental) Return the invocations metric for this guardrail.- Specified by:
metricInvocationsin interfaceIGuardrail- Specified by:
metricInvocationsin interfaceIGuardrail.Jsii$Default- Parameters:
props-
-
metricInvocations
(experimental) Return the invocations metric for this guardrail.- Specified by:
metricInvocationsin interfaceIGuardrail
-
metricInvocationServerErrors
@Stability(Experimental) @NotNull public final Metric metricInvocationServerErrors(@Nullable MetricOptions props) (experimental) Return the invocation server errors metric for this guardrail.- Specified by:
metricInvocationServerErrorsin interfaceIGuardrail- Specified by:
metricInvocationServerErrorsin interfaceIGuardrail.Jsii$Default- Parameters:
props-
-
metricInvocationServerErrors
(experimental) Return the invocation server errors metric for this guardrail.- Specified by:
metricInvocationServerErrorsin interfaceIGuardrail
-
metricInvocationsIntervened
@Stability(Experimental) @NotNull public final Metric metricInvocationsIntervened(@Nullable MetricOptions props) (experimental) Return the invocations intervened metric for this guardrail.- Specified by:
metricInvocationsIntervenedin interfaceIGuardrail- Specified by:
metricInvocationsIntervenedin interfaceIGuardrail.Jsii$Default- Parameters:
props-
-
metricInvocationsIntervened
(experimental) Return the invocations intervened metric for this guardrail.- Specified by:
metricInvocationsIntervenedin interfaceIGuardrail
-
metricInvocationThrottles
@Stability(Experimental) @NotNull public final Metric metricInvocationThrottles(@Nullable MetricOptions props) (experimental) Return the invocation throttles metric for this guardrail.- Specified by:
metricInvocationThrottlesin interfaceIGuardrail- Specified by:
metricInvocationThrottlesin interfaceIGuardrail.Jsii$Default- Parameters:
props-
-
metricInvocationThrottles
(experimental) Return the invocation throttles metric for this guardrail.- Specified by:
metricInvocationThrottlesin interfaceIGuardrail
-
metricTextUnitCount
@Stability(Experimental) @NotNull public final Metric metricTextUnitCount(@Nullable MetricOptions props) (experimental) Return the text unit count metric for this guardrail.- Specified by:
metricTextUnitCountin interfaceIGuardrail- Specified by:
metricTextUnitCountin interfaceIGuardrail.Jsii$Default- Parameters:
props-
-
metricTextUnitCount
(experimental) Return the text unit count metric for this guardrail.- Specified by:
metricTextUnitCountin interfaceIGuardrail
-