Class CfnCodeInterpreter

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bedrockagentcore.CfnCodeInterpreter
All Implemented Interfaces:
IInspectable, ICodeInterpreterRef, IEnvironmentAware, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)", date="2026-08-10T14:50:58.162Z") @Stability(Stable) public class CfnCodeInterpreter extends CfnResource implements IInspectable, ICodeInterpreterRef
Definition of AWS::BedrockAgentCore::CodeInterpreter Resource Type.

This is a read-only resource representing the AWS-managed default code interpreter (aws.codeinterpreter.v1).

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.bedrockagentcore.*;
 CfnCodeInterpreter cfnCodeInterpreter = CfnCodeInterpreter.Builder.create(this, "MyCfnCodeInterpreter").build();
 

See Also:
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnCodeInterpreter

      protected CfnCodeInterpreter(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnCodeInterpreter

      protected CfnCodeInterpreter(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnCodeInterpreter

      @Stability(Stable) public CfnCodeInterpreter(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnCodeInterpreterProps props)
      Create a new AWS::BedrockAgentCore::CodeInterpreter.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties.
    • CfnCodeInterpreter

      @Stability(Stable) public CfnCodeInterpreter(@NotNull software.constructs.Construct scope, @NotNull String id)
      Create a new AWS::BedrockAgentCore::CodeInterpreter.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
  • Method Details

    • arnForCodeInterpreter

      @Stability(Stable) @NotNull public static String arnForCodeInterpreter(@NotNull ICodeInterpreterRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnCodeInterpreter

      @Stability(Stable) @NotNull public static Boolean isCfnCodeInterpreter(@NotNull Object x)
      Checks whether the given object is a CfnCodeInterpreter.

      Parameters:
      x - This parameter is required.
    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector - tree inspector to collect and process attributes. This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrCodeInterpreterArn

      @Stability(Stable) @NotNull public String getAttrCodeInterpreterArn()
      The Amazon Resource Name (ARN) of the code interpreter.
    • getAttrCodeInterpreterId

      @Stability(Stable) @NotNull public String getAttrCodeInterpreterId()
      The unique identifier of the code interpreter.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      The current status of the code interpreter.
    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getCfnPropertyNames

      @Stability(Stable) @NotNull protected Map<String,String> getCfnPropertyNames()
      Overrides:
      getCfnPropertyNames in class CfnResource
    • getCodeInterpreterRef

      @Stability(Stable) @NotNull public CodeInterpreterReference getCodeInterpreterRef()
      A reference to a CodeInterpreter resource.
      Specified by:
      getCodeInterpreterRef in interface ICodeInterpreterRef