Show / Hide Table of Contents

Interface ICodeInterpreterCustom

Interface for CodeInterpreterCustom resources.

Inherited Members
IResource.ApplyRemovalPolicy(RemovalPolicy)
IResource.Stack
IGrantable.GrantPrincipal
IConnectable.Connections
ICodeInterpreterCustomRef.CodeInterpreterCustomRef
IEnvironmentAware.Env
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICodeInterpreterCustom : IResource, IGrantable, IConnectable, ICodeInterpreterCustomRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Interface ICodeInterpreterCustom Inherits IResource, IGrantable, IConnectable, ICodeInterpreterCustomRef, IConstruct, IDependable, IEnvironmentAware

Synopsis

Properties

CodeInterpreterArn

The ARN of the code interpreter resource.

CodeInterpreterId

The id of the code interpreter.

CreatedAt

Timestamp when the code interpreter was created.

ExecutionRole

The IAM role that provides permissions for the code interpreter to access AWS services.

LastUpdatedAt

Timestamp when the code interpreter was last updated.

Status

The status of the code interpreter.

Methods

Grant(IGrantable, params string[])

Grants IAM actions to the IAM Principal.

GrantRead(IGrantable)

Grants Get and List actions on the Code Interpreter.

GrantUse(IGrantable)

Grants Invoke, Start, and Stop actions on the Code Interpreter.

Metric(string, IMetricOptions?)

Return the given named metric for this code interpreter.

MetricErrorsForApiOperation(string, IMetricOptions?)

Return a metric containing the number of errors for a specific API operation performed on this code interpreter.

MetricForApiOperation(string, string, IMetricOptions?)

Return the given named metric related to the API operation performed on this code interpreter.

MetricInvocationsForApiOperation(string, IMetricOptions?)

Return a metric containing the total number of API requests made for a specific code interpreter operation.

MetricLatencyForApiOperation(string, IMetricOptions?)

Return a metric measuring the latency of a specific API operation performed on this code interpreter.

MetricSessionDuration(IMetricOptions?)

Return a metric measuring the duration of code interpreter sessions.

MetricSystemErrorsForApiOperation(string, IMetricOptions?)

Return a metric containing the number of system errors for a specific API operation performed on this code interpreter.

MetricThrottlesForApiOperation(string, IMetricOptions?)

Return a metric containing the number of throttled requests for a specific API operation performed on this code interpreter.

MetricUserErrorsForApiOperation(string, IMetricOptions?)

Return a metric containing the number of user errors for a specific API operation performed on this code interpreter.

Properties

CodeInterpreterArn

The ARN of the code interpreter resource.

string CodeInterpreterArn { get; }
Property Value

string

Remarks

Attribute: true

CodeInterpreterId

The id of the code interpreter.

string CodeInterpreterId { get; }
Property Value

string

Remarks

Attribute: true

CreatedAt

Timestamp when the code interpreter was created.

string? CreatedAt { get; }
Property Value

string

Remarks

Attribute: true

ExecutionRole

The IAM role that provides permissions for the code interpreter to access AWS services.

IRole ExecutionRole { get; }
Property Value

IRole

LastUpdatedAt

Timestamp when the code interpreter was last updated.

string? LastUpdatedAt { get; }
Property Value

string

Remarks

Attribute: true

Status

The status of the code interpreter.

string? Status { get; }
Property Value

string

Remarks

Attribute: true

Methods

Grant(IGrantable, params string[])

Grants IAM actions to the IAM Principal.

Grant Grant(IGrantable grantee, params string[] actions)
Parameters
grantee IGrantable
actions string[]
Returns

Grant

GrantRead(IGrantable)

Grants Get and List actions on the Code Interpreter.

Grant GrantRead(IGrantable grantee)
Parameters
grantee IGrantable
Returns

Grant

GrantUse(IGrantable)

Grants Invoke, Start, and Stop actions on the Code Interpreter.

Grant GrantUse(IGrantable grantee)
Parameters
grantee IGrantable
Returns

Grant

Metric(string, IMetricOptions?)

Return the given named metric for this code interpreter.

Metric Metric(string metricName, IMetricOptions? props = null)
Parameters
metricName string
props IMetricOptions
Returns

Metric

MetricErrorsForApiOperation(string, IMetricOptions?)

Return a metric containing the number of errors for a specific API operation performed on this code interpreter.

Metric MetricErrorsForApiOperation(string operation, IMetricOptions? props = null)
Parameters
operation string
props IMetricOptions
Returns

Metric

MetricForApiOperation(string, string, IMetricOptions?)

Return the given named metric related to the API operation performed on this code interpreter.

Metric MetricForApiOperation(string metricName, string operation, IMetricOptions? props = null)
Parameters
metricName string
operation string
props IMetricOptions
Returns

Metric

MetricInvocationsForApiOperation(string, IMetricOptions?)

Return a metric containing the total number of API requests made for a specific code interpreter operation.

Metric MetricInvocationsForApiOperation(string operation, IMetricOptions? props = null)
Parameters
operation string
props IMetricOptions
Returns

Metric

MetricLatencyForApiOperation(string, IMetricOptions?)

Return a metric measuring the latency of a specific API operation performed on this code interpreter.

Metric MetricLatencyForApiOperation(string operation, IMetricOptions? props = null)
Parameters
operation string
props IMetricOptions
Returns

Metric

MetricSessionDuration(IMetricOptions?)

Return a metric measuring the duration of code interpreter sessions.

Metric MetricSessionDuration(IMetricOptions? props = null)
Parameters
props IMetricOptions
Returns

Metric

MetricSystemErrorsForApiOperation(string, IMetricOptions?)

Return a metric containing the number of system errors for a specific API operation performed on this code interpreter.

Metric MetricSystemErrorsForApiOperation(string operation, IMetricOptions? props = null)
Parameters
operation string
props IMetricOptions
Returns

Metric

MetricThrottlesForApiOperation(string, IMetricOptions?)

Return a metric containing the number of throttled requests for a specific API operation performed on this code interpreter.

Metric MetricThrottlesForApiOperation(string operation, IMetricOptions? props = null)
Parameters
operation string
props IMetricOptions
Returns

Metric

MetricUserErrorsForApiOperation(string, IMetricOptions?)

Return a metric containing the number of user errors for a specific API operation performed on this code interpreter.

Metric MetricUserErrorsForApiOperation(string operation, IMetricOptions? props = null)
Parameters
operation string
props IMetricOptions
Returns

Metric

Back to top Generated by DocFX