@aws-cdk/aws-sagemaker
Advanced tools
Comparing version 0.21.0 to 0.22.0
@@ -10,3 +10,3 @@ import cdk = require('@aws-cdk/cdk'); | ||
*/ | ||
endpointConfigName: string | cdk.Token; | ||
endpointConfigName: string; | ||
/** | ||
@@ -16,3 +16,3 @@ * ``AWS::SageMaker::Endpoint.EndpointName`` | ||
*/ | ||
endpointName?: string | cdk.Token; | ||
endpointName?: string; | ||
/** | ||
@@ -40,7 +40,7 @@ * ``AWS::SageMaker::Endpoint.Tags`` | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnEndpoint`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnEndpoint`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnEndpointProps); | ||
constructor(scope: cdk.Construct, id: string, props: CfnEndpointProps); | ||
readonly propertyOverrides: CfnEndpointProps; | ||
@@ -51,51 +51,2 @@ protected renderProperties(properties: any): { | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html | ||
*/ | ||
interface EndpointResourceProps { | ||
/** | ||
* ``AWS::SageMaker::Endpoint.EndpointConfigName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-endpointconfigname | ||
*/ | ||
endpointConfigName: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::Endpoint.EndpointName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-endpointname | ||
*/ | ||
endpointName?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::Endpoint.Tags`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html#cfn-sagemaker-endpoint-tags | ||
*/ | ||
tags?: Array<cdk.Tag | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.EndpointResource" will be deprecated in a future release in favor of "CfnEndpoint" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html | ||
*/ | ||
class EndpointResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::SageMaker::Endpoint"; | ||
/** | ||
* @cloudformation_attribute EndpointName | ||
*/ | ||
readonly endpointName: string; | ||
readonly endpointArn: string; | ||
/** | ||
* Creates a new ``AWS::SageMaker::Endpoint``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``EndpointResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``EndpointResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: EndpointResourceProps); | ||
readonly propertyOverrides: EndpointResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
} | ||
/** | ||
@@ -114,3 +65,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html | ||
*/ | ||
endpointConfigName?: string | cdk.Token; | ||
endpointConfigName?: string; | ||
/** | ||
@@ -120,3 +71,3 @@ * ``AWS::SageMaker::EndpointConfig.KmsKeyId`` | ||
*/ | ||
kmsKeyId?: string | cdk.Token; | ||
kmsKeyId?: string; | ||
/** | ||
@@ -144,7 +95,7 @@ * ``AWS::SageMaker::EndpointConfig.Tags`` | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnEndpointConfig`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnEndpointConfig`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnEndpointConfigProps); | ||
constructor(scope: cdk.Construct, id: string, props: CfnEndpointConfigProps); | ||
readonly propertyOverrides: CfnEndpointConfigProps; | ||
@@ -164,3 +115,3 @@ protected renderProperties(properties: any): { | ||
*/ | ||
acceleratorType?: string | cdk.Token; | ||
acceleratorType?: string; | ||
/** | ||
@@ -180,3 +131,3 @@ * ``CfnEndpointConfig.ProductionVariantProperty.InitialInstanceCount`` | ||
*/ | ||
instanceType: string | cdk.Token; | ||
instanceType: string; | ||
/** | ||
@@ -186,3 +137,3 @@ * ``CfnEndpointConfig.ProductionVariantProperty.ModelName`` | ||
*/ | ||
modelName: string | cdk.Token; | ||
modelName: string; | ||
/** | ||
@@ -192,96 +143,5 @@ * ``CfnEndpointConfig.ProductionVariantProperty.VariantName`` | ||
*/ | ||
variantName: string | cdk.Token; | ||
variantName: string; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html | ||
*/ | ||
interface EndpointConfigResourceProps { | ||
/** | ||
* ``AWS::SageMaker::EndpointConfig.ProductionVariants`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-productionvariants | ||
*/ | ||
productionVariants: Array<EndpointConfigResource.ProductionVariantProperty | cdk.Token> | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::EndpointConfig.EndpointConfigName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-endpointconfigname | ||
*/ | ||
endpointConfigName?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::EndpointConfig.KmsKeyId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-kmskeyid | ||
*/ | ||
kmsKeyId?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::EndpointConfig.Tags`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html#cfn-sagemaker-endpointconfig-tags | ||
*/ | ||
tags?: Array<cdk.Tag | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.EndpointConfigResource" will be deprecated in a future release in favor of "CfnEndpointConfig" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html | ||
*/ | ||
class EndpointConfigResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::SageMaker::EndpointConfig"; | ||
/** | ||
* @cloudformation_attribute EndpointConfigName | ||
*/ | ||
readonly endpointConfigName: string; | ||
readonly endpointConfigArn: string; | ||
/** | ||
* Creates a new ``AWS::SageMaker::EndpointConfig``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``EndpointConfigResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``EndpointConfigResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: EndpointConfigResourceProps); | ||
readonly propertyOverrides: EndpointConfigResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
namespace EndpointConfigResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html | ||
*/ | ||
interface ProductionVariantProperty { | ||
/** | ||
* ``EndpointConfigResource.ProductionVariantProperty.AcceleratorType`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-acceleratortype | ||
*/ | ||
acceleratorType?: string | cdk.Token; | ||
/** | ||
* ``EndpointConfigResource.ProductionVariantProperty.InitialInstanceCount`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-initialinstancecount | ||
*/ | ||
initialInstanceCount: number | cdk.Token; | ||
/** | ||
* ``EndpointConfigResource.ProductionVariantProperty.InitialVariantWeight`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-initialvariantweight | ||
*/ | ||
initialVariantWeight: number | cdk.Token; | ||
/** | ||
* ``EndpointConfigResource.ProductionVariantProperty.InstanceType`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-instancetype | ||
*/ | ||
instanceType: string | cdk.Token; | ||
/** | ||
* ``EndpointConfigResource.ProductionVariantProperty.ModelName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-modelname | ||
*/ | ||
modelName: string | cdk.Token; | ||
/** | ||
* ``EndpointConfigResource.ProductionVariantProperty.VariantName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html#cfn-sagemaker-endpointconfig-productionvariant-variantname | ||
*/ | ||
variantName: string | cdk.Token; | ||
} | ||
} | ||
} | ||
/** | ||
@@ -295,3 +155,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html | ||
*/ | ||
executionRoleArn: string | cdk.Token; | ||
executionRoleArn: string; | ||
/** | ||
@@ -306,3 +166,3 @@ * ``AWS::SageMaker::Model.Containers`` | ||
*/ | ||
modelName?: string | cdk.Token; | ||
modelName?: string; | ||
/** | ||
@@ -340,7 +200,7 @@ * ``AWS::SageMaker::Model.PrimaryContainer`` | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnModel`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnModel`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnModelProps); | ||
constructor(scope: cdk.Construct, id: string, props: CfnModelProps); | ||
readonly propertyOverrides: CfnModelProps; | ||
@@ -360,3 +220,3 @@ protected renderProperties(properties: any): { | ||
*/ | ||
containerHostname?: string | cdk.Token; | ||
containerHostname?: string; | ||
/** | ||
@@ -371,3 +231,3 @@ * ``CfnModel.ContainerDefinitionProperty.Environment`` | ||
*/ | ||
image: string | cdk.Token; | ||
image: string; | ||
/** | ||
@@ -377,3 +237,3 @@ * ``CfnModel.ContainerDefinitionProperty.ModelDataUrl`` | ||
*/ | ||
modelDataUrl?: string | cdk.Token; | ||
modelDataUrl?: string; | ||
} | ||
@@ -398,110 +258,2 @@ } | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html | ||
*/ | ||
interface ModelResourceProps { | ||
/** | ||
* ``AWS::SageMaker::Model.ExecutionRoleArn`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-executionrolearn | ||
*/ | ||
executionRoleArn: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::Model.Containers`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-containers | ||
*/ | ||
containers?: Array<ModelResource.ContainerDefinitionProperty | cdk.Token> | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::Model.ModelName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-modelname | ||
*/ | ||
modelName?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::Model.PrimaryContainer`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-primarycontainer | ||
*/ | ||
primaryContainer?: ModelResource.ContainerDefinitionProperty | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::Model.Tags`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-tags | ||
*/ | ||
tags?: Array<cdk.Tag | cdk.Token> | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::Model.VpcConfig`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html#cfn-sagemaker-model-vpcconfig | ||
*/ | ||
vpcConfig?: ModelResource.VpcConfigProperty | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.ModelResource" will be deprecated in a future release in favor of "CfnModel" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html | ||
*/ | ||
class ModelResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::SageMaker::Model"; | ||
/** | ||
* @cloudformation_attribute ModelName | ||
*/ | ||
readonly modelName: string; | ||
readonly modelArn: string; | ||
/** | ||
* Creates a new ``AWS::SageMaker::Model``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``ModelResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``ModelResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: ModelResourceProps); | ||
readonly propertyOverrides: ModelResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
namespace ModelResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html | ||
*/ | ||
interface ContainerDefinitionProperty { | ||
/** | ||
* ``ModelResource.ContainerDefinitionProperty.ContainerHostname`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-containerhostname | ||
*/ | ||
containerHostname?: string | cdk.Token; | ||
/** | ||
* ``ModelResource.ContainerDefinitionProperty.Environment`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-environment | ||
*/ | ||
environment?: object | cdk.Token; | ||
/** | ||
* ``ModelResource.ContainerDefinitionProperty.Image`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-image | ||
*/ | ||
image: string | cdk.Token; | ||
/** | ||
* ``ModelResource.ContainerDefinitionProperty.ModelDataUrl`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html#cfn-sagemaker-model-containerdefinition-modeldataurl | ||
*/ | ||
modelDataUrl?: string | cdk.Token; | ||
} | ||
} | ||
namespace ModelResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-vpcconfig.html | ||
*/ | ||
interface VpcConfigProperty { | ||
/** | ||
* ``ModelResource.VpcConfigProperty.SecurityGroupIds`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-vpcconfig.html#cfn-sagemaker-model-vpcconfig-securitygroupids | ||
*/ | ||
securityGroupIds: Array<string | cdk.Token> | cdk.Token; | ||
/** | ||
* ``ModelResource.VpcConfigProperty.Subnets`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-vpcconfig.html#cfn-sagemaker-model-vpcconfig-subnets | ||
*/ | ||
subnets: Array<string | cdk.Token> | cdk.Token; | ||
} | ||
} | ||
} | ||
/** | ||
@@ -515,3 +267,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html | ||
*/ | ||
instanceType: string | cdk.Token; | ||
instanceType: string; | ||
/** | ||
@@ -521,3 +273,3 @@ * ``AWS::SageMaker::NotebookInstance.RoleArn`` | ||
*/ | ||
roleArn: string | cdk.Token; | ||
roleArn: string; | ||
/** | ||
@@ -527,3 +279,3 @@ * ``AWS::SageMaker::NotebookInstance.DirectInternetAccess`` | ||
*/ | ||
directInternetAccess?: string | cdk.Token; | ||
directInternetAccess?: string; | ||
/** | ||
@@ -533,3 +285,3 @@ * ``AWS::SageMaker::NotebookInstance.KmsKeyId`` | ||
*/ | ||
kmsKeyId?: string | cdk.Token; | ||
kmsKeyId?: string; | ||
/** | ||
@@ -539,3 +291,3 @@ * ``AWS::SageMaker::NotebookInstance.LifecycleConfigName`` | ||
*/ | ||
lifecycleConfigName?: string | cdk.Token; | ||
lifecycleConfigName?: string; | ||
/** | ||
@@ -545,3 +297,3 @@ * ``AWS::SageMaker::NotebookInstance.NotebookInstanceName`` | ||
*/ | ||
notebookInstanceName?: string | cdk.Token; | ||
notebookInstanceName?: string; | ||
/** | ||
@@ -556,3 +308,3 @@ * ``AWS::SageMaker::NotebookInstance.SecurityGroupIds`` | ||
*/ | ||
subnetId?: string | cdk.Token; | ||
subnetId?: string; | ||
/** | ||
@@ -585,7 +337,7 @@ * ``AWS::SageMaker::NotebookInstance.Tags`` | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnNotebookInstance`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnNotebookInstance`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: CfnNotebookInstanceProps); | ||
constructor(scope: cdk.Construct, id: string, props: CfnNotebookInstanceProps); | ||
readonly propertyOverrides: CfnNotebookInstanceProps; | ||
@@ -596,86 +348,2 @@ protected renderProperties(properties: any): { | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html | ||
*/ | ||
interface NotebookInstanceResourceProps { | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.InstanceType`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-instancetype | ||
*/ | ||
instanceType: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.RoleArn`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-rolearn | ||
*/ | ||
roleArn: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.DirectInternetAccess`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-directinternetaccess | ||
*/ | ||
directInternetAccess?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.KmsKeyId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-kmskeyid | ||
*/ | ||
kmsKeyId?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.LifecycleConfigName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-lifecycleconfigname | ||
*/ | ||
lifecycleConfigName?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.NotebookInstanceName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-notebookinstancename | ||
*/ | ||
notebookInstanceName?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.SecurityGroupIds`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-securitygroupids | ||
*/ | ||
securityGroupIds?: Array<string | cdk.Token> | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.SubnetId`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-subnetid | ||
*/ | ||
subnetId?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.Tags`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-tags | ||
*/ | ||
tags?: Array<cdk.Tag | cdk.Token> | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstance.VolumeSizeInGB`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html#cfn-sagemaker-notebookinstance-volumesizeingb | ||
*/ | ||
volumeSizeInGb?: number | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.NotebookInstanceResource" will be deprecated in a future release in favor of "CfnNotebookInstance" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html | ||
*/ | ||
class NotebookInstanceResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::SageMaker::NotebookInstance"; | ||
/** | ||
* @cloudformation_attribute NotebookInstanceName | ||
*/ | ||
readonly notebookInstanceName: string; | ||
readonly notebookInstanceArn: string; | ||
/** | ||
* Creates a new ``AWS::SageMaker::NotebookInstance``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``NotebookInstanceResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``NotebookInstanceResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties: NotebookInstanceResourceProps); | ||
readonly propertyOverrides: NotebookInstanceResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
} | ||
/** | ||
@@ -689,3 +357,3 @@ * @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html | ||
*/ | ||
notebookInstanceLifecycleConfigName?: string | cdk.Token; | ||
notebookInstanceLifecycleConfigName?: string; | ||
/** | ||
@@ -718,7 +386,7 @@ * ``AWS::SageMaker::NotebookInstanceLifecycleConfig.OnCreate`` | ||
* | ||
* @param parent the ``cdk.Construct`` this ``CfnNotebookInstanceLifecycleConfig`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``CfnNotebookInstanceLifecycleConfig`` | ||
* @param scope scope in which this resource is defined | ||
* @param id scoped id of the resource | ||
* @param props resource properties | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties?: CfnNotebookInstanceLifecycleConfigProps); | ||
constructor(scope: cdk.Construct, id: string, props?: CfnNotebookInstanceLifecycleConfigProps); | ||
readonly propertyOverrides: CfnNotebookInstanceLifecycleConfigProps; | ||
@@ -738,65 +406,4 @@ protected renderProperties(properties: any): { | ||
*/ | ||
content?: string | cdk.Token; | ||
content?: string; | ||
} | ||
} | ||
export declare namespace cloudformation { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html | ||
*/ | ||
interface NotebookInstanceLifecycleConfigResourceProps { | ||
/** | ||
* ``AWS::SageMaker::NotebookInstanceLifecycleConfig.NotebookInstanceLifecycleConfigName`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html#cfn-sagemaker-notebookinstancelifecycleconfig-notebookinstancelifecycleconfigname | ||
*/ | ||
notebookInstanceLifecycleConfigName?: string | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstanceLifecycleConfig.OnCreate`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html#cfn-sagemaker-notebookinstancelifecycleconfig-oncreate | ||
*/ | ||
onCreate?: Array<NotebookInstanceLifecycleConfigResource.NotebookInstanceLifecycleHookProperty | cdk.Token> | cdk.Token; | ||
/** | ||
* ``AWS::SageMaker::NotebookInstanceLifecycleConfig.OnStart`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html#cfn-sagemaker-notebookinstancelifecycleconfig-onstart | ||
*/ | ||
onStart?: Array<NotebookInstanceLifecycleConfigResource.NotebookInstanceLifecycleHookProperty | cdk.Token> | cdk.Token; | ||
} | ||
/** | ||
* @deprecated "cloudformation.NotebookInstanceLifecycleConfigResource" will be deprecated in a future release in favor of "CfnNotebookInstanceLifecycleConfig" (see https://github.com/awslabs/aws-cdk/issues/878) | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html | ||
*/ | ||
class NotebookInstanceLifecycleConfigResource extends cdk.Resource { | ||
/** | ||
* The CloudFormation resource type name for this resource class. | ||
*/ | ||
static readonly resourceTypeName = "AWS::SageMaker::NotebookInstanceLifecycleConfig"; | ||
/** | ||
* @cloudformation_attribute NotebookInstanceLifecycleConfigName | ||
*/ | ||
readonly notebookInstanceLifecycleConfigName: string; | ||
readonly notebookInstanceLifecycleConfigArn: string; | ||
/** | ||
* Creates a new ``AWS::SageMaker::NotebookInstanceLifecycleConfig``. | ||
* | ||
* @param parent the ``cdk.Construct`` this ``NotebookInstanceLifecycleConfigResource`` is a part of | ||
* @param name the name of the resource in the ``cdk.Construct`` tree | ||
* @param properties the properties of this ``NotebookInstanceLifecycleConfigResource`` | ||
*/ | ||
constructor(parent: cdk.Construct, name: string, properties?: NotebookInstanceLifecycleConfigResourceProps); | ||
readonly propertyOverrides: NotebookInstanceLifecycleConfigResourceProps; | ||
protected renderProperties(properties: any): { | ||
[key: string]: any; | ||
}; | ||
} | ||
namespace NotebookInstanceLifecycleConfigResource { | ||
/** | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-notebookinstancelifecycleconfig-notebookinstancelifecyclehook.html | ||
*/ | ||
interface NotebookInstanceLifecycleHookProperty { | ||
/** | ||
* ``NotebookInstanceLifecycleConfigResource.NotebookInstanceLifecycleHookProperty.Content`` | ||
* @link http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-notebookinstancelifecycleconfig-notebookinstancelifecyclehook.html#cfn-sagemaker-notebookinstancelifecycleconfig-notebookinstancelifecyclehook-content | ||
*/ | ||
content?: string | cdk.Token; | ||
} | ||
} | ||
} |
{ | ||
"name": "@aws-cdk/aws-sagemaker", | ||
"version": "0.21.0", | ||
"version": "0.22.0", | ||
"description": "The CDK Construct Library for AWS::SageMaker", | ||
@@ -38,3 +38,5 @@ "main": "lib/index.js", | ||
"test": "cdk-test", | ||
"watch": "cdk-watch" | ||
"watch": "cdk-watch", | ||
"awslint": "cdk-awslint", | ||
"cfn2ts": "cfn2ts" | ||
}, | ||
@@ -57,12 +59,12 @@ "cdk-build": { | ||
"devDependencies": { | ||
"@aws-cdk/assert": "^0.21.0", | ||
"cdk-build-tools": "^0.21.0", | ||
"cfn2ts": "^0.21.0", | ||
"pkglint": "^0.21.0" | ||
"@aws-cdk/assert": "^0.22.0", | ||
"cdk-build-tools": "^0.22.0", | ||
"cfn2ts": "^0.22.0", | ||
"pkglint": "^0.22.0" | ||
}, | ||
"dependencies": { | ||
"@aws-cdk/cdk": "^0.21.0" | ||
"@aws-cdk/cdk": "^0.22.0" | ||
}, | ||
"peerDependencies": { | ||
"@aws-cdk/cdk": "^0.21.0" | ||
"@aws-cdk/cdk": "^0.22.0" | ||
}, | ||
@@ -69,0 +71,0 @@ "engines": { |
@@ -25,5 +25,20 @@ { | ||
"strictNullChecks": true, | ||
"target": "ES2018" | ||
"target": "ES2018", | ||
"composite": true | ||
}, | ||
"include": [ | ||
"**/*.ts" | ||
], | ||
"exclude": [ | ||
"node_modules" | ||
], | ||
"references": [ | ||
{ | ||
"path": "../cdk" | ||
}, | ||
{ | ||
"path": "../assert" | ||
} | ||
], | ||
"_generated_by_jsii_": "Generated by jsii - safe to delete, and ideally should be in .gitignore" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182832
945
+ Added@aws-cdk/cdk@0.22.0(transitive)
+ Added@aws-cdk/cx-api@0.22.0(transitive)
- Removed@aws-cdk/cdk@0.21.0(transitive)
- Removed@aws-cdk/cx-api@0.21.0(transitive)
Updated@aws-cdk/cdk@^0.22.0