Interface CfnAppProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAppProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:17.288Z")
@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
.recoveryMode(false)
.resourceSpec(ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAppPropsstatic final classAn implementation forCfnAppProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnAppProps.Builderbuilder()The name of the app.The type of app.The domain ID.default ObjectIndicates whether the application is launched in recovery mode.default ObjectSpecifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.getTags()An array of key-value pairs to apply to this resource.The user profile name.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAppName
The name of the app.- See Also:
-
getAppType
The type of app.- See Also:
-
getDomainId
The domain ID.- See Also:
-
getUserProfileName
The user profile name.- See Also:
-
getRecoveryMode
Indicates whether the application is launched in recovery mode.Returns union: either
BooleanorIResolvable- See Also:
-
getResourceSpec
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.Returns union: either
IResolvableorCfnApp.ResourceSpecProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnAppProps.BuilderofCfnAppProps
-