Class CfnAppImageConfig
A CloudFormation AWS::SageMaker::AppImageConfig
.
Inherited Members
Namespace: Amazon.CDK.AWS.Sagemaker
Assembly: Amazon.CDK.AWS.Sagemaker.dll
Syntax (csharp)
public class CfnAppImageConfig : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnAppImageConfig
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a configuration for running a SageMaker image as a KernelGateway app. The configuration specifies the Amazon Elastic File System (EFS) storage volume on the image, and a list of the kernels in the image.
CloudformationResource: AWS::SageMaker::AppImageConfig
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 cfnAppImageConfig = new CfnAppImageConfig(this, "MyCfnAppImageConfig", new CfnAppImageConfigProps {
AppImageConfigName = "appImageConfigName",
// the properties below are optional
KernelGatewayImageConfig = new KernelGatewayImageConfigProperty {
KernelSpecs = new [] { new KernelSpecProperty {
Name = "name",
// the properties below are optional
DisplayName = "displayName"
} },
// the properties below are optional
FileSystemConfig = new FileSystemConfigProperty {
DefaultGid = 123,
DefaultUid = 123,
MountPath = "mountPath"
}
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnAppImageConfig(Construct, String, ICfnAppImageConfigProps) | Create a new |
CfnAppImageConfig(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnAppImageConfig(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AppImageConfigName | The name of the AppImageConfig. |
AttrAppImageConfigArn | The Amazon Resource Name (ARN) of the AppImageConfig, such as |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
KernelGatewayImageConfig | The configuration for the file system and kernels in the SageMaker image. |
Tags | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnAppImageConfig(Construct, String, ICfnAppImageConfigProps)
Create a new AWS::SageMaker::AppImageConfig
.
public CfnAppImageConfig(Construct scope, string id, ICfnAppImageConfigProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnAppImageConfigProps
- resource properties.
CfnAppImageConfig(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnAppImageConfig(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnAppImageConfig(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnAppImageConfig(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AppImageConfigName
The name of the AppImageConfig.
public virtual string AppImageConfigName { get; set; }
Property Value
System.String
Remarks
Must be unique to your account.
AttrAppImageConfigArn
The Amazon Resource Name (ARN) of the AppImageConfig, such as arn:aws:sagemaker:us-west-2:account-id:app-image-config/my-app-image-config-name
.
public virtual string AttrAppImageConfigArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: AppImageConfigArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
KernelGatewayImageConfig
The configuration for the file system and kernels in the SageMaker image.
public virtual object KernelGatewayImageConfig { get; set; }
Property Value
System.Object
Remarks
Tags
An array of key-value pairs to apply to this resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>