Class CfnAppProps
Properties for defining a CfnApp
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class CfnAppProps : Object, ICfnAppProps
Syntax (vb)
Public Class CfnAppProps
Inherits Object
Implements ICfnAppProps
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;
var cfnAppProps = new CfnAppProps {
AppName = "appName",
AppType = "appType",
DomainId = "domainId",
UserProfileName = "userProfileName",
// the properties below are optional
ResourceSpec = new ResourceSpecProperty {
InstanceType = "instanceType",
SageMakerImageArn = "sageMakerImageArn",
SageMakerImageVersionArn = "sageMakerImageVersionArn"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnAppProps() |
Properties
AppName | The name of the app. |
AppType | The type of app. |
DomainId | The domain ID. |
ResourceSpec | Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. |
Tags | An array of key-value pairs to apply to this resource. |
UserProfileName | The user profile name. |
Constructors
CfnAppProps()
public CfnAppProps()
Properties
AppName
The name of the app.
public string AppName { get; set; }
Property Value
System.String
Remarks
AppType
The type of app.
public string AppType { get; set; }
Property Value
System.String
Remarks
Allowed Values : JupyterServer | KernelGateway | RSessionGateway | RStudioServerPro | TensorBoard | Canvas
DomainId
The domain ID.
public string DomainId { get; set; }
Property Value
System.String
Remarks
ResourceSpec
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.
public object ResourceSpec { get; set; }
Property Value
System.Object
Remarks
Tags
An array of key-value pairs to apply to this resource.
public ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tag .
UserProfileName
The user profile name.
public string UserProfileName { get; set; }
Property Value
System.String