Interface ICodeInterpreterCustom
- All Superinterfaces:
ICodeInterpreterCustomRef,IConnectable,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IGrantable,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
ICodeInterpreterCustom.Jsii$Default
- All Known Implementing Classes:
CodeInterpreterCustom,CodeInterpreterCustomBase,ICodeInterpreterCustom.Jsii$Proxy
@Generated(value="jsii-pacmak/1.129.0 (build eaca441)",
date="2026-05-19T08:18:44.424Z")
@Stability(Stable)
public interface ICodeInterpreterCustom
extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable, IConnectable, ICodeInterpreterCustomRef
Interface for CodeInterpreterCustom resources.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forICodeInterpreterCustom.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the code interpreter resource.The id of the code interpreter.default StringTimestamp when the code interpreter was created.The IAM role that provides permissions for the code interpreter to access AWS services.default StringTimestamp when the code interpreter was last updated.default StringThe status of the code interpreter.grant(IGrantable grantee, String... actions) Grants IAM actions to the IAM Principal.grantRead(IGrantable grantee) GrantsGetandListactions on the Code Interpreter.grantUse(IGrantable grantee) GrantsInvoke,Start, andStopactions on the Code Interpreter.Return the given named metric for this code interpreter.metric(String metricName, MetricOptions props) Return the given named metric for this code interpreter.metricErrorsForApiOperation(String operation) Return a metric containing the number of errors for a specific API operation performed on this code interpreter.metricErrorsForApiOperation(String operation, MetricOptions props) Return a metric containing the number of errors for a specific API operation performed on this code interpreter.metricForApiOperation(String metricName, String operation) Return the given named metric related to the API operation performed on this code interpreter.metricForApiOperation(String metricName, String operation, MetricOptions props) Return the given named metric related to the API operation performed on this code interpreter.metricInvocationsForApiOperation(String operation) Return a metric containing the total number of API requests made for a specific code interpreter operation.metricInvocationsForApiOperation(String operation, MetricOptions props) Return a metric containing the total number of API requests made for a specific code interpreter operation.metricLatencyForApiOperation(String operation) Return a metric measuring the latency of a specific API operation performed on this code interpreter.metricLatencyForApiOperation(String operation, MetricOptions props) Return a metric measuring the latency of a specific API operation performed on this code interpreter.Return a metric measuring the duration of code interpreter sessions.Return a metric measuring the duration of code interpreter sessions.metricSystemErrorsForApiOperation(String operation) Return a metric containing the number of system errors for a specific API operation performed on this code interpreter.metricSystemErrorsForApiOperation(String operation, MetricOptions props) Return a metric containing the number of system errors for a specific API operation performed on this code interpreter.metricThrottlesForApiOperation(String operation) Return a metric containing the number of throttled requests for a specific API operation performed on this code interpreter.metricThrottlesForApiOperation(String operation, MetricOptions props) Return a metric containing the number of throttled requests for a specific API operation performed on this code interpreter.metricUserErrorsForApiOperation(String operation) Return a metric containing the number of user errors for a specific API operation performed on this code interpreter.metricUserErrorsForApiOperation(String operation, MetricOptions props) Return a metric containing the number of user errors for a specific API operation performed on this code interpreter.Methods inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.ICodeInterpreterCustomRef
getCodeInterpreterCustomRefMethods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnectionsMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCodeInterpreterArn
The ARN of the code interpreter resource. -
getCodeInterpreterId
The id of the code interpreter. -
getExecutionRole
The IAM role that provides permissions for the code interpreter to access AWS services. -
getCreatedAt
Timestamp when the code interpreter was created. -
getLastUpdatedAt
Timestamp when the code interpreter was last updated. -
getStatus
The status of the code interpreter. -
grant
Grants IAM actions to the IAM Principal.- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantRead
GrantsGetandListactions on the Code Interpreter.- Parameters:
grantee- This parameter is required.
-
grantUse
GrantsInvoke,Start, andStopactions on the Code Interpreter.- Parameters:
grantee- This parameter is required.
-
metric
@Stability(Stable) @NotNull Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this code interpreter.- Parameters:
metricName- This parameter is required.props-
-
metric
Return the given named metric for this code interpreter.- Parameters:
metricName- This parameter is required.
-
metricErrorsForApiOperation
@Stability(Stable) @NotNull Metric metricErrorsForApiOperation(@NotNull String operation, @Nullable MetricOptions props) Return a metric containing the number of errors for a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.props-
-
metricErrorsForApiOperation
Return a metric containing the number of errors for a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.
-
metricForApiOperation
@Stability(Stable) @NotNull Metric metricForApiOperation(@NotNull String metricName, @NotNull String operation, @Nullable MetricOptions props) Return the given named metric related to the API operation performed on this code interpreter.- Parameters:
metricName- This parameter is required.operation- This parameter is required.props-
-
metricForApiOperation
@Stability(Stable) @NotNull Metric metricForApiOperation(@NotNull String metricName, @NotNull String operation) Return the given named metric related to the API operation performed on this code interpreter.- Parameters:
metricName- This parameter is required.operation- This parameter is required.
-
metricInvocationsForApiOperation
@Stability(Stable) @NotNull Metric metricInvocationsForApiOperation(@NotNull String operation, @Nullable MetricOptions props) Return a metric containing the total number of API requests made for a specific code interpreter operation.- Parameters:
operation- This parameter is required.props-
-
metricInvocationsForApiOperation
Return a metric containing the total number of API requests made for a specific code interpreter operation.- Parameters:
operation- This parameter is required.
-
metricLatencyForApiOperation
@Stability(Stable) @NotNull Metric metricLatencyForApiOperation(@NotNull String operation, @Nullable MetricOptions props) Return a metric measuring the latency of a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.props-
-
metricLatencyForApiOperation
Return a metric measuring the latency of a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.
-
metricSessionDuration
Return a metric measuring the duration of code interpreter sessions.- Parameters:
props-
-
metricSessionDuration
Return a metric measuring the duration of code interpreter sessions. -
metricSystemErrorsForApiOperation
@Stability(Stable) @NotNull Metric metricSystemErrorsForApiOperation(@NotNull String operation, @Nullable MetricOptions props) Return a metric containing the number of system errors for a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.props-
-
metricSystemErrorsForApiOperation
Return a metric containing the number of system errors for a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.
-
metricThrottlesForApiOperation
@Stability(Stable) @NotNull Metric metricThrottlesForApiOperation(@NotNull String operation, @Nullable MetricOptions props) Return a metric containing the number of throttled requests for a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.props-
-
metricThrottlesForApiOperation
Return a metric containing the number of throttled requests for a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.
-
metricUserErrorsForApiOperation
@Stability(Stable) @NotNull Metric metricUserErrorsForApiOperation(@NotNull String operation, @Nullable MetricOptions props) Return a metric containing the number of user errors for a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.props-
-
metricUserErrorsForApiOperation
Return a metric containing the number of user errors for a specific API operation performed on this code interpreter.- Parameters:
operation- This parameter is required.
-