Class CfnCodeInterpreterCustom

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.CfnCodeInterpreterCustom
All Implemented Interfaces:
IInspectable, ITaggableV2, ICodeInterpreterCustomRef, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)", date="2025-09-25T11:29:02.621Z") @Stability(Stable) public class CfnCodeInterpreterCustom extends CfnResource implements IInspectable, ICodeInterpreterCustomRef, ITaggableV2
Resource definition for AWS::BedrockAgentCore::CodeInterpreterCustom.

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.*;
 CfnCodeInterpreterCustom cfnCodeInterpreterCustom = CfnCodeInterpreterCustom.Builder.create(this, "MyCfnCodeInterpreterCustom")
         .name("name")
         .networkConfiguration(CodeInterpreterNetworkConfigurationProperty.builder()
                 .networkMode("networkMode")
                 .build())
         // the properties below are optional
         .description("description")
         .executionRoleArn("executionRoleArn")
         .tags(Map.of(
                 "tagsKey", "tags"))
         .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

    • CfnCodeInterpreterCustom

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

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

      @Stability(Stable) public CfnCodeInterpreterCustom(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnCodeInterpreterCustomProps props)
      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. This parameter is required.
  • Method Details

    • 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 ARN of a CodeInterpreter resource.
    • getAttrCodeInterpreterId

      @Stability(Stable) @NotNull public String getAttrCodeInterpreterId()
      The id of the code interpreter.
    • getAttrCreatedAt

      @Stability(Stable) @NotNull public String getAttrCreatedAt()
      Timestamp when the code interpreter was created.
    • getAttrLastUpdatedAt

      @Stability(Stable) @NotNull public String getAttrLastUpdatedAt()
      Timestamp when the code interpreter was last updated.
    • getAttrStatus

      @Stability(Stable) @NotNull public String getAttrStatus()
      Status of Code interpreter.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

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

      @Stability(Stable) @NotNull public CodeInterpreterCustomReference getCodeInterpreterCustomRef()
      A reference to a CodeInterpreterCustom resource.
      Specified by:
      getCodeInterpreterCustomRef in interface ICodeInterpreterCustomRef
    • getName

      @Stability(Stable) @NotNull public String getName()
      The name of the sandbox.
    • setName

      @Stability(Stable) public void setName(@NotNull String value)
      The name of the sandbox.
    • getNetworkConfiguration

      @Stability(Stable) @NotNull public Object getNetworkConfiguration()
      Network configuration for code interpreter.
    • setNetworkConfiguration

      @Stability(Stable) public void setNetworkConfiguration(@NotNull IResolvable value)
      Network configuration for code interpreter.
    • setNetworkConfiguration

      @Stability(Stable) public void setNetworkConfiguration(@NotNull CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty value)
      Network configuration for code interpreter.
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      Description of the code interpreter.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      Description of the code interpreter.
    • getExecutionRoleArn

      @Stability(Stable) @Nullable public String getExecutionRoleArn()
      The ARN of the IAM role.
    • setExecutionRoleArn

      @Stability(Stable) public void setExecutionRoleArn(@Nullable String value)
      The ARN of the IAM role.
    • getTags

      @Stability(Stable) @Nullable public Map<String,String> getTags()
      A map of tag keys and values.
    • setTags

      @Stability(Stable) public void setTags(@Nullable Map<String,String> value)
      A map of tag keys and values.