Class CfnDomainPropsMixin.KernelGatewayAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomainPropsMixin.KernelGatewayAppSettingsProperty>
- Enclosing interface:
CfnDomainPropsMixin.KernelGatewayAppSettingsProperty
CfnDomainPropsMixin.KernelGatewayAppSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customImages(List<? extends Object> customImages) Sets the value ofCfnDomainPropsMixin.KernelGatewayAppSettingsProperty.getCustomImages()customImages(IResolvable customImages) Sets the value ofCfnDomainPropsMixin.KernelGatewayAppSettingsProperty.getCustomImages()defaultResourceSpec(CfnDomainPropsMixin.ResourceSpecProperty defaultResourceSpec) defaultResourceSpec(IResolvable defaultResourceSpec) lifecycleConfigArns(List<String> lifecycleConfigArns)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customImages
@Stability(Stable) public CfnDomainPropsMixin.KernelGatewayAppSettingsProperty.Builder customImages(IResolvable customImages) Sets the value ofCfnDomainPropsMixin.KernelGatewayAppSettingsProperty.getCustomImages()- Parameters:
customImages- A list of custom SageMaker AI images that are configured to run as a KernelGateway app. The maximum number of custom images are as follows.- On a domain level: 200
- On a space level: 5
- On a user profile level: 5
- Returns:
this
-
customImages
@Stability(Stable) public CfnDomainPropsMixin.KernelGatewayAppSettingsProperty.Builder customImages(List<? extends Object> customImages) Sets the value ofCfnDomainPropsMixin.KernelGatewayAppSettingsProperty.getCustomImages()- Parameters:
customImages- A list of custom SageMaker AI images that are configured to run as a KernelGateway app. The maximum number of custom images are as follows.- On a domain level: 200
- On a space level: 5
- On a user profile level: 5
- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnDomainPropsMixin.KernelGatewayAppSettingsProperty.Builder defaultResourceSpec(IResolvable defaultResourceSpec) - Parameters:
defaultResourceSpec- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or CloudFormation and the instance type parameter value is not passed.
- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnDomainPropsMixin.KernelGatewayAppSettingsProperty.Builder defaultResourceSpec(CfnDomainPropsMixin.ResourceSpecProperty defaultResourceSpec) - Parameters:
defaultResourceSpec- The default instance type and the Amazon Resource Name (ARN) of the default SageMaker AI image used by the KernelGateway app.The Amazon SageMaker AI Studio UI does not use the default instance type value set here. The default instance type set here is used when Apps are created using the AWS CLI or CloudFormation and the instance type parameter value is not passed.
- Returns:
this
-
lifecycleConfigArns
@Stability(Stable) public CfnDomainPropsMixin.KernelGatewayAppSettingsProperty.Builder lifecycleConfigArns(List<String> lifecycleConfigArns) - Parameters:
lifecycleConfigArns- The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the the user profile or domain.To remove a Lifecycle Config, you must set
LifecycleConfigArnsto an empty list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomainPropsMixin.KernelGatewayAppSettingsProperty>- Returns:
- a new instance of
CfnDomainPropsMixin.KernelGatewayAppSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-