Interface CfnAppProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAppProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:35.083Z") @Stability(Stable) public interface CfnAppProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnApp.

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.sagemaker.*;
 CfnAppProps cfnAppProps = CfnAppProps.builder()
         .appName("appName")
         .appType("appType")
         .domainId("domainId")
         .userProfileName("userProfileName")
         // the properties below are optional
         .resourceSpec(ResourceSpecProperty.builder()
                 .instanceType("instanceType")
                 .sageMakerImageArn("sageMakerImageArn")
                 .sageMakerImageVersionArn("sageMakerImageVersionArn")
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getAppName

      @Stability(Stable) @NotNull String getAppName()
      The name of the app.
    • getAppType

      @Stability(Stable) @NotNull String getAppType()
      The type of app.

      Allowed Values : JupyterServer | KernelGateway | RSessionGateway | RStudioServerPro | TensorBoard | Canvas

    • getDomainId

      @Stability(Stable) @NotNull String getDomainId()
      The domain ID.
    • getUserProfileName

      @Stability(Stable) @NotNull String getUserProfileName()
      The user profile name.
    • getResourceSpec

      @Stability(Stable) @Nullable default Object getResourceSpec()
      Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

    • builder

      @Stability(Stable) static CfnAppProps.Builder builder()
      Returns:
      a CfnAppProps.Builder of CfnAppProps