Interface ICodeInterpreterCustom
Interface for CodeInterpreterCustom resources.
Inherited Members
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 |
| GrantUse(IGrantable) | Grants |
| 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
Remarks
Attribute: true
CodeInterpreterId
The id of the code interpreter.
string CodeInterpreterId { get; }
Property Value
Remarks
Attribute: true
CreatedAt
Timestamp when the code interpreter was created.
string? CreatedAt { get; }
Property Value
Remarks
Attribute: true
ExecutionRole
The IAM role that provides permissions for the code interpreter to access AWS services.
IRole ExecutionRole { get; }
Property Value
LastUpdatedAt
Timestamp when the code interpreter was last updated.
string? LastUpdatedAt { get; }
Property Value
Remarks
Attribute: true
Status
The status of the code interpreter.
string? Status { get; }
Property Value
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
GrantRead(IGrantable)
Grants Get and List actions on the Code Interpreter.
Grant GrantRead(IGrantable grantee)
Parameters
- grantee IGrantable
Returns
GrantUse(IGrantable)
Grants Invoke, Start, and Stop actions on the Code Interpreter.
Grant GrantUse(IGrantable grantee)
Parameters
- grantee IGrantable
Returns
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
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
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
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
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
MetricSessionDuration(IMetricOptions?)
Return a metric measuring the duration of code interpreter sessions.
Metric MetricSessionDuration(IMetricOptions? props = null)
Parameters
- props IMetricOptions
Returns
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
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
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