# Copyright (c) 2012-2025, Mark Peek <mark@peek.org>
# All rights reserved.
#
# See LICENSE file for full license.
#
# *** Do not modify - this file is autogenerated ***
from . import AWSObject, AWSProperty, PropsDictType, Tags
from .validators import boolean, double, integer
[docs]class ResourceSpec(AWSProperty):
"""
`ResourceSpec <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-resourcespec.html>`__
"""
props: PropsDictType = {
"InstanceType": (str, False),
"LifecycleConfigArn": (str, False),
"SageMakerImageArn": (str, False),
"SageMakerImageVersionArn": (str, False),
}
[docs]class App(AWSObject):
"""
`App <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-app.html>`__
"""
resource_type = "AWS::SageMaker::App"
props: PropsDictType = {
"AppName": (str, True),
"AppType": (str, True),
"DomainId": (str, True),
"RecoveryMode": (boolean, False),
"ResourceSpec": (ResourceSpec, False),
"Tags": (Tags, False),
"UserProfileName": (str, True),
}
[docs]class CustomImageContainerEnvironmentVariable(AWSProperty):
"""
`CustomImageContainerEnvironmentVariable <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-customimagecontainerenvironmentvariable.html>`__
"""
props: PropsDictType = {
"Key": (str, True),
"Value": (str, True),
}
[docs]class ContainerConfig(AWSProperty):
"""
`ContainerConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-containerconfig.html>`__
"""
props: PropsDictType = {
"ContainerArguments": ([str], False),
"ContainerEntrypoint": ([str], False),
"ContainerEnvironmentVariables": (
[CustomImageContainerEnvironmentVariable],
False,
),
}
[docs]class CodeEditorAppImageConfig(AWSProperty):
"""
`CodeEditorAppImageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-codeeditorappimageconfig.html>`__
"""
props: PropsDictType = {
"ContainerConfig": (ContainerConfig, False),
}
[docs]class JupyterLabAppImageConfig(AWSProperty):
"""
`JupyterLabAppImageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-jupyterlabappimageconfig.html>`__
"""
props: PropsDictType = {
"ContainerConfig": (ContainerConfig, False),
}
[docs]class FileSystemConfig(AWSProperty):
"""
`FileSystemConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-filesystemconfig.html>`__
"""
props: PropsDictType = {
"DefaultGid": (integer, False),
"DefaultUid": (integer, False),
"MountPath": (str, False),
}
[docs]class KernelSpec(AWSProperty):
"""
`KernelSpec <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelspec.html>`__
"""
props: PropsDictType = {
"DisplayName": (str, False),
"Name": (str, True),
}
[docs]class KernelGatewayImageConfig(AWSProperty):
"""
`KernelGatewayImageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-appimageconfig-kernelgatewayimageconfig.html>`__
"""
props: PropsDictType = {
"FileSystemConfig": (FileSystemConfig, False),
"KernelSpecs": ([KernelSpec], True),
}
[docs]class AppImageConfig(AWSObject):
"""
`AppImageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-appimageconfig.html>`__
"""
resource_type = "AWS::SageMaker::AppImageConfig"
props: PropsDictType = {
"AppImageConfigName": (str, True),
"CodeEditorAppImageConfig": (CodeEditorAppImageConfig, False),
"JupyterLabAppImageConfig": (JupyterLabAppImageConfig, False),
"KernelGatewayImageConfig": (KernelGatewayImageConfig, False),
"Tags": (Tags, False),
}
[docs]class ClusterAutoScalingConfig(AWSProperty):
"""
`ClusterAutoScalingConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterautoscalingconfig.html>`__
"""
props: PropsDictType = {
"AutoScalerType": (str, False),
"Mode": (str, True),
}
[docs]class ClusterCapacityRequirements(AWSProperty):
"""
`ClusterCapacityRequirements <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clustercapacityrequirements.html>`__
"""
props: PropsDictType = {
"OnDemand": (dict, False),
"Spot": (dict, False),
}
[docs]class ClusterEbsVolumeConfig(AWSProperty):
"""
`ClusterEbsVolumeConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterebsvolumeconfig.html>`__
"""
props: PropsDictType = {
"RootVolume": (boolean, False),
"VolumeKmsKeyId": (str, False),
"VolumeSizeInGB": (integer, False),
}
[docs]class ClusterFsxLustreConfig(AWSProperty):
"""
`ClusterFsxLustreConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterfsxlustreconfig.html>`__
"""
props: PropsDictType = {
"DnsName": (str, True),
"MountName": (str, True),
"MountPath": (str, False),
}
[docs]class ClusterFsxOpenZfsConfig(AWSProperty):
"""
`ClusterFsxOpenZfsConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterfsxopenzfsconfig.html>`__
"""
props: PropsDictType = {
"DnsName": (str, True),
"MountPath": (str, False),
}
[docs]class ClusterInstanceStorageConfig(AWSProperty):
"""
`ClusterInstanceStorageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancestorageconfig.html>`__
"""
props: PropsDictType = {
"EbsVolumeConfig": (ClusterEbsVolumeConfig, False),
"FsxLustreConfig": (ClusterFsxLustreConfig, False),
"FsxOpenZfsConfig": (ClusterFsxOpenZfsConfig, False),
}
[docs]class ClusterKubernetesTaint(AWSProperty):
"""
`ClusterKubernetesTaint <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterkubernetestaint.html>`__
"""
props: PropsDictType = {
"Effect": (str, True),
"Key": (str, True),
"Value": (str, False),
}
[docs]class ClusterKubernetesConfig(AWSProperty):
"""
`ClusterKubernetesConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterkubernetesconfig.html>`__
"""
props: PropsDictType = {
"Labels": (dict, False),
"Taints": ([ClusterKubernetesTaint], False),
}
[docs]class ClusterLifeCycleConfig(AWSProperty):
"""
`ClusterLifeCycleConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterlifecycleconfig.html>`__
"""
props: PropsDictType = {
"OnCreate": (str, False),
"OnInitComplete": (str, False),
"SourceS3Uri": (str, False),
}
[docs]class ClusterSlurmConfig(AWSProperty):
"""
`ClusterSlurmConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterslurmconfig.html>`__
"""
props: PropsDictType = {
"NodeType": (str, True),
"PartitionNames": ([str], False),
}
[docs]class Alarm(AWSProperty):
"""
`Alarm <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-alarm.html>`__
"""
props: PropsDictType = {
"AlarmName": (str, True),
}
[docs]class AutoRollbackConfig(AWSProperty):
"""
`AutoRollbackConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-autorollbackconfig.html>`__
"""
props: PropsDictType = {
"Alarms": ([Alarm], True),
}
[docs]class CapacitySize(AWSProperty):
"""
`CapacitySize <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-capacitysize.html>`__
"""
props: PropsDictType = {
"Type": (str, True),
"Value": (integer, True),
}
[docs]class TrafficRoutingConfig(AWSProperty):
"""
`TrafficRoutingConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-trafficroutingconfig.html>`__
"""
props: PropsDictType = {
"CanarySize": (CapacitySize, False),
"LinearStepSize": (CapacitySize, False),
"Type": (str, True),
"WaitIntervalInSeconds": (integer, False),
}
[docs]class BlueGreenUpdatePolicy(AWSProperty):
"""
`BlueGreenUpdatePolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-bluegreenupdatepolicy.html>`__
"""
props: PropsDictType = {
"MaximumExecutionTimeoutInSeconds": (integer, False),
"TerminationWaitInSeconds": (integer, False),
"TrafficRoutingConfiguration": (TrafficRoutingConfig, True),
}
[docs]class RollingUpdatePolicy(AWSProperty):
"""
`RollingUpdatePolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-rollingupdatepolicy.html>`__
"""
props: PropsDictType = {
"MaximumBatchSize": (CapacitySize, True),
"MaximumExecutionTimeoutInSeconds": (integer, False),
"RollbackMaximumBatchSize": (CapacitySize, False),
"WaitIntervalInSeconds": (integer, True),
}
[docs]class DeploymentConfig(AWSProperty):
"""
`DeploymentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html>`__
"""
props: PropsDictType = {
"AutoRollbackConfiguration": (AutoRollbackConfig, False),
"BlueGreenUpdatePolicy": (BlueGreenUpdatePolicy, False),
"RollingUpdatePolicy": (RollingUpdatePolicy, False),
}
[docs]class ScheduledUpdateConfig(AWSProperty):
"""
`ScheduledUpdateConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-scheduledupdateconfig.html>`__
"""
props: PropsDictType = {
"DeploymentConfig": (DeploymentConfig, False),
"ScheduleExpression": (str, True),
}
[docs]class VpcConfig(AWSProperty):
"""
`VpcConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-vpcconfig.html>`__
"""
props: PropsDictType = {
"SecurityGroupIds": ([str], True),
"Subnets": ([str], True),
}
[docs]class ClusterInstanceGroup(AWSProperty):
"""
`ClusterInstanceGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterinstancegroup.html>`__
"""
props: PropsDictType = {
"CapacityRequirements": (ClusterCapacityRequirements, False),
"CurrentCount": (integer, False),
"ExecutionRole": (str, True),
"ImageId": (str, False),
"InstanceCount": (integer, True),
"InstanceGroupName": (str, True),
"InstanceStorageConfigs": ([ClusterInstanceStorageConfig], False),
"InstanceType": (str, True),
"KubernetesConfig": (ClusterKubernetesConfig, False),
"LifeCycleConfig": (ClusterLifeCycleConfig, False),
"MinInstanceCount": (integer, False),
"OnStartDeepHealthChecks": ([str], False),
"OverrideVpcConfig": (VpcConfig, False),
"ScheduledUpdateConfig": (ScheduledUpdateConfig, False),
"SlurmConfig": (ClusterSlurmConfig, False),
"ThreadsPerCore": (integer, False),
"TrainingPlanArn": (str, False),
}
[docs]class FSxLustreConfig(AWSProperty):
"""
`FSxLustreConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-fsxlustreconfig.html>`__
"""
props: PropsDictType = {
"PerUnitStorageThroughput": (integer, True),
"SizeInGiB": (integer, True),
}
[docs]class EnvironmentConfig(AWSProperty):
"""
`EnvironmentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-environmentconfig.html>`__
"""
props: PropsDictType = {
"FSxLustreConfig": (FSxLustreConfig, False),
}
[docs]class ClusterRestrictedInstanceGroup(AWSProperty):
"""
`ClusterRestrictedInstanceGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterrestrictedinstancegroup.html>`__
"""
props: PropsDictType = {
"CurrentCount": (integer, False),
"EnvironmentConfig": (EnvironmentConfig, True),
"ExecutionRole": (str, True),
"InstanceCount": (integer, True),
"InstanceGroupName": (str, True),
"InstanceStorageConfigs": ([ClusterInstanceStorageConfig], False),
"InstanceType": (str, True),
"OnStartDeepHealthChecks": ([str], False),
"OverrideVpcConfig": (VpcConfig, False),
"ThreadsPerCore": (integer, False),
"TrainingPlanArn": (str, False),
}
[docs]class ClusterOrchestratorEksConfig(AWSProperty):
"""
`ClusterOrchestratorEksConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterorchestratoreksconfig.html>`__
"""
props: PropsDictType = {
"ClusterArn": (str, True),
}
[docs]class ClusterOrchestratorSlurmConfig(AWSProperty):
"""
`ClusterOrchestratorSlurmConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-clusterorchestratorslurmconfig.html>`__
"""
props: PropsDictType = {
"SlurmConfigStrategy": (str, False),
}
[docs]class Orchestrator(AWSProperty):
"""
`Orchestrator <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-orchestrator.html>`__
"""
props: PropsDictType = {
"Eks": (ClusterOrchestratorEksConfig, False),
"Slurm": (ClusterOrchestratorSlurmConfig, False),
}
[docs]class TieredStorageConfig(AWSProperty):
"""
`TieredStorageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-tieredstorageconfig.html>`__
"""
props: PropsDictType = {
"InstanceMemoryAllocationPercentage": (integer, False),
"Mode": (str, True),
}
[docs]class Cluster(AWSObject):
"""
`Cluster <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-cluster.html>`__
"""
resource_type = "AWS::SageMaker::Cluster"
props: PropsDictType = {
"AutoScaling": (ClusterAutoScalingConfig, False),
"ClusterName": (str, False),
"ClusterRole": (str, False),
"InstanceGroups": ([ClusterInstanceGroup], False),
"NodeProvisioningMode": (str, False),
"NodeRecovery": (str, False),
"Orchestrator": (Orchestrator, False),
"RestrictedInstanceGroups": ([ClusterRestrictedInstanceGroup], False),
"Tags": (Tags, False),
"TieredStorageConfig": (TieredStorageConfig, False),
"VpcConfig": (VpcConfig, False),
}
[docs]class GitConfig(AWSProperty):
"""
`GitConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-coderepository-gitconfig.html>`__
"""
props: PropsDictType = {
"Branch": (str, False),
"RepositoryUrl": (str, True),
"SecretArn": (str, False),
}
[docs]class CodeRepository(AWSObject):
"""
`CodeRepository <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-coderepository.html>`__
"""
resource_type = "AWS::SageMaker::CodeRepository"
props: PropsDictType = {
"CodeRepositoryName": (str, False),
"GitConfig": (GitConfig, True),
"Tags": (Tags, False),
}
[docs]class DataQualityAppSpecification(AWSProperty):
"""
`DataQualityAppSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualityappspecification.html>`__
"""
props: PropsDictType = {
"ContainerArguments": ([str], False),
"ContainerEntrypoint": ([str], False),
"Environment": (dict, False),
"ImageUri": (str, True),
"PostAnalyticsProcessorSourceUri": (str, False),
"RecordPreprocessorSourceUri": (str, False),
}
[docs]class ConstraintsResource(AWSProperty):
"""
`ConstraintsResource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-constraintsresource.html>`__
"""
props: PropsDictType = {
"S3Uri": (str, False),
}
[docs]class StatisticsResource(AWSProperty):
"""
`StatisticsResource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-statisticsresource.html>`__
"""
props: PropsDictType = {
"S3Uri": (str, False),
}
[docs]class DataQualityBaselineConfig(AWSProperty):
"""
`DataQualityBaselineConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-dataqualityjobdefinition-dataqualitybaselineconfig.html>`__
"""
props: PropsDictType = {
"BaseliningJobName": (str, False),
"ConstraintsResource": (ConstraintsResource, False),
"StatisticsResource": (StatisticsResource, False),
}
[docs]class Csv(AWSProperty):
"""
`Csv <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-csv.html>`__
"""
props: PropsDictType = {
"Header": (boolean, False),
}
[docs]class Json(AWSProperty):
"""
`Json <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-json.html>`__
"""
props: PropsDictType = {
"Line": (boolean, False),
}
[docs]class S3Output(AWSProperty):
"""
`S3Output <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-s3output.html>`__
"""
props: PropsDictType = {
"LocalPath": (str, False),
"S3UploadMode": (str, True),
"S3Uri": (str, True),
}
[docs]class MonitoringOutput(AWSProperty):
"""
`MonitoringOutput <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutput.html>`__
"""
props: PropsDictType = {
"S3Output": (S3Output, True),
}
[docs]class MonitoringOutputConfig(AWSProperty):
"""
`MonitoringOutputConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringoutputconfig.html>`__
"""
props: PropsDictType = {
"KmsKeyId": (str, False),
"MonitoringOutputs": ([MonitoringOutput], True),
}
[docs]class ClusterConfig(AWSProperty):
"""
`ClusterConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-clusterconfig.html>`__
"""
props: PropsDictType = {
"InstanceCount": (integer, True),
"InstanceType": (str, True),
"VolumeKmsKeyId": (str, False),
"VolumeSizeInGB": (integer, True),
}
[docs]class MonitoringResources(AWSProperty):
"""
`MonitoringResources <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringresources.html>`__
"""
props: PropsDictType = {
"ClusterConfig": (ClusterConfig, True),
}
[docs]class NetworkConfig(AWSProperty):
"""
`NetworkConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-networkconfig.html>`__
"""
props: PropsDictType = {
"EnableInterContainerTrafficEncryption": (boolean, False),
"EnableNetworkIsolation": (boolean, False),
"VpcConfig": (VpcConfig, False),
}
[docs]class StoppingCondition(AWSProperty):
"""
`StoppingCondition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-stoppingcondition.html>`__
"""
props: PropsDictType = {
"MaxRuntimeInSeconds": (integer, True),
}
[docs]class DataQualityJobDefinition(AWSObject):
"""
`DataQualityJobDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-dataqualityjobdefinition.html>`__
"""
resource_type = "AWS::SageMaker::DataQualityJobDefinition"
props: PropsDictType = {
"DataQualityAppSpecification": (DataQualityAppSpecification, True),
"DataQualityBaselineConfig": (DataQualityBaselineConfig, False),
"DataQualityJobInput": (DataQualityJobInput, True),
"DataQualityJobOutputConfig": (MonitoringOutputConfig, True),
"EndpointName": (str, False),
"JobDefinitionName": (str, False),
"JobResources": (MonitoringResources, True),
"NetworkConfig": (NetworkConfig, False),
"RoleArn": (str, True),
"StoppingCondition": (StoppingCondition, False),
"Tags": (Tags, False),
}
[docs]class DeviceProperty(AWSProperty):
"""
`DeviceProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-device-device.html>`__
"""
props: PropsDictType = {
"Description": (str, False),
"DeviceName": (str, True),
"IotThingName": (str, False),
}
[docs]class Device(AWSObject):
"""
`Device <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-device.html>`__
"""
resource_type = "AWS::SageMaker::Device"
props: PropsDictType = {
"Device": (DeviceProperty, False),
"DeviceFleetName": (str, True),
"Tags": (Tags, False),
}
[docs]class EdgeOutputConfig(AWSProperty):
"""
`EdgeOutputConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-devicefleet-edgeoutputconfig.html>`__
"""
props: PropsDictType = {
"KmsKeyId": (str, False),
"S3OutputLocation": (str, True),
}
[docs]class DeviceFleet(AWSObject):
"""
`DeviceFleet <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-devicefleet.html>`__
"""
resource_type = "AWS::SageMaker::DeviceFleet"
props: PropsDictType = {
"Description": (str, False),
"DeviceFleetName": (str, True),
"OutputConfig": (EdgeOutputConfig, True),
"RoleArn": (str, True),
"Tags": (Tags, False),
}
[docs]class EFSFileSystemConfig(AWSProperty):
"""
`EFSFileSystemConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-efsfilesystemconfig.html>`__
"""
props: PropsDictType = {
"FileSystemId": (str, True),
"FileSystemPath": (str, False),
}
[docs]class FSxLustreFileSystemConfig(AWSProperty):
"""
`FSxLustreFileSystemConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-fsxlustrefilesystemconfig.html>`__
"""
props: PropsDictType = {
"FileSystemId": (str, True),
"FileSystemPath": (str, False),
}
[docs]class S3FileSystemConfig(AWSProperty):
"""
`S3FileSystemConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-s3filesystemconfig.html>`__
"""
props: PropsDictType = {
"MountPath": (str, False),
"S3Uri": (str, False),
}
[docs]class CustomFileSystemConfig(AWSProperty):
"""
`CustomFileSystemConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customfilesystemconfig.html>`__
"""
props: PropsDictType = {
"EFSFileSystemConfig": (EFSFileSystemConfig, False),
"FSxLustreFileSystemConfig": (FSxLustreFileSystemConfig, False),
"S3FileSystemConfig": (S3FileSystemConfig, False),
}
[docs]class CustomPosixUserConfig(AWSProperty):
"""
`CustomPosixUserConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customposixuserconfig.html>`__
"""
props: PropsDictType = {
"Gid": (integer, True),
"Uid": (integer, True),
}
[docs]class DefaultEbsStorageSettings(AWSProperty):
"""
`DefaultEbsStorageSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultebsstoragesettings.html>`__
"""
props: PropsDictType = {
"DefaultEbsVolumeSizeInGb": (integer, True),
"MaximumEbsVolumeSizeInGb": (integer, True),
}
[docs]class DefaultSpaceStorageSettings(AWSProperty):
"""
`DefaultSpaceStorageSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-defaultspacestoragesettings.html>`__
"""
props: PropsDictType = {
"DefaultEbsStorageSettings": (DefaultEbsStorageSettings, False),
}
[docs]class IdleSettings(AWSProperty):
"""
`IdleSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-idlesettings.html>`__
"""
props: PropsDictType = {
"IdleTimeoutInMinutes": (integer, False),
"LifecycleManagement": (str, False),
"MaxIdleTimeoutInMinutes": (integer, False),
"MinIdleTimeoutInMinutes": (integer, False),
}
[docs]class AppLifecycleManagement(AWSProperty):
"""
`AppLifecycleManagement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-applifecyclemanagement.html>`__
"""
props: PropsDictType = {
"IdleSettings": (IdleSettings, False),
}
[docs]class CodeRepositoryProperty(AWSProperty):
"""
`CodeRepositoryProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-coderepository.html>`__
"""
props: PropsDictType = {
"RepositoryUrl": (str, True),
}
[docs]class CustomImage(AWSProperty):
"""
`CustomImage <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customimage.html>`__
"""
props: PropsDictType = {
"AppImageConfigName": (str, True),
"ImageName": (str, True),
"ImageVersionNumber": (integer, False),
}
[docs]class JupyterLabAppSettings(AWSProperty):
"""
`JupyterLabAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html>`__
"""
props: PropsDictType = {
"AppLifecycleManagement": (AppLifecycleManagement, False),
"BuiltInLifecycleConfigArn": (str, False),
"CodeRepositories": ([CodeRepositoryProperty], False),
"CustomImages": ([CustomImage], False),
"DefaultResourceSpec": (ResourceSpec, False),
"LifecycleConfigArns": ([str], False),
}
[docs]class JupyterServerAppSettings(AWSProperty):
"""
`JupyterServerAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterserverappsettings.html>`__
"""
props: PropsDictType = {
"DefaultResourceSpec": (ResourceSpec, False),
"LifecycleConfigArns": ([str], False),
}
[docs]class KernelGatewayAppSettings(AWSProperty):
"""
`KernelGatewayAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-kernelgatewayappsettings.html>`__
"""
props: PropsDictType = {
"CustomImages": ([CustomImage], False),
"DefaultResourceSpec": (ResourceSpec, False),
"LifecycleConfigArns": ([str], False),
}
[docs]class DefaultSpaceSettings(AWSProperty):
"""
`DefaultSpaceSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html>`__
"""
props: PropsDictType = {
"CustomFileSystemConfigs": ([CustomFileSystemConfig], False),
"CustomPosixUserConfig": (CustomPosixUserConfig, False),
"ExecutionRole": (str, True),
"JupyterLabAppSettings": (JupyterLabAppSettings, False),
"JupyterServerAppSettings": (JupyterServerAppSettings, False),
"KernelGatewayAppSettings": (KernelGatewayAppSettings, False),
"SecurityGroups": ([str], False),
"SpaceStorageSettings": (DefaultSpaceStorageSettings, False),
}
[docs]class DockerSettings(AWSProperty):
"""
`DockerSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-dockersettings.html>`__
"""
props: PropsDictType = {
"EnableDockerAccess": (str, False),
"VpcOnlyTrustedAccounts": ([str], False),
}
[docs]class RStudioServerProDomainSettings(AWSProperty):
"""
`RStudioServerProDomainSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-rstudioserverprodomainsettings.html>`__
"""
props: PropsDictType = {
"DefaultResourceSpec": (ResourceSpec, False),
"DomainExecutionRoleArn": (str, True),
"RStudioConnectUrl": (str, False),
"RStudioPackageManagerUrl": (str, False),
}
[docs]class UnifiedStudioSettings(AWSProperty):
"""
`UnifiedStudioSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-unifiedstudiosettings.html>`__
"""
props: PropsDictType = {
"DomainAccountId": (str, False),
"DomainId": (str, False),
"DomainRegion": (str, False),
"EnvironmentId": (str, False),
"ProjectId": (str, False),
"ProjectS3Path": (str, False),
"StudioWebPortalAccess": (str, False),
}
[docs]class DomainSettings(AWSProperty):
"""
`DomainSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-domainsettings.html>`__
"""
props: PropsDictType = {
"DockerSettings": (DockerSettings, False),
"ExecutionRoleIdentityConfig": (str, False),
"IpAddressType": (str, False),
"RStudioServerProDomainSettings": (RStudioServerProDomainSettings, False),
"SecurityGroupIds": ([str], False),
"UnifiedStudioSettings": (UnifiedStudioSettings, False),
}
[docs]class CodeEditorAppSettings(AWSProperty):
"""
`CodeEditorAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html>`__
"""
props: PropsDictType = {
"AppLifecycleManagement": (AppLifecycleManagement, False),
"BuiltInLifecycleConfigArn": (str, False),
"CustomImages": ([CustomImage], False),
"DefaultResourceSpec": (ResourceSpec, False),
"LifecycleConfigArns": ([str], False),
}
[docs]class RStudioServerProAppSettings(AWSProperty):
"""
`RStudioServerProAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-rstudioserverproappsettings.html>`__
"""
props: PropsDictType = {
"AccessStatus": (str, False),
"UserGroup": (str, False),
}
[docs]class SharingSettings(AWSProperty):
"""
`SharingSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-sharingsettings.html>`__
"""
props: PropsDictType = {
"NotebookOutputOption": (str, False),
"S3KmsKeyId": (str, False),
"S3OutputPath": (str, False),
}
[docs]class HiddenSageMakerImage(AWSProperty):
"""
`HiddenSageMakerImage <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-hiddensagemakerimage.html>`__
"""
props: PropsDictType = {
"SageMakerImageName": (str, False),
"VersionAliases": ([str], False),
}
[docs]class StudioWebPortalSettings(AWSProperty):
"""
`StudioWebPortalSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-studiowebportalsettings.html>`__
"""
props: PropsDictType = {
"HiddenAppTypes": ([str], False),
"HiddenInstanceTypes": ([str], False),
"HiddenMlTools": ([str], False),
"HiddenSageMakerImageVersionAliases": ([HiddenSageMakerImage], False),
}
[docs]class UserSettings(AWSProperty):
"""
`UserSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html>`__
"""
props: PropsDictType = {
"AutoMountHomeEFS": (str, False),
"CodeEditorAppSettings": (CodeEditorAppSettings, False),
"CustomFileSystemConfigs": ([CustomFileSystemConfig], False),
"CustomPosixUserConfig": (CustomPosixUserConfig, False),
"DefaultLandingUri": (str, False),
"ExecutionRole": (str, False),
"JupyterLabAppSettings": (JupyterLabAppSettings, False),
"JupyterServerAppSettings": (JupyterServerAppSettings, False),
"KernelGatewayAppSettings": (KernelGatewayAppSettings, False),
"RStudioServerProAppSettings": (RStudioServerProAppSettings, False),
"SecurityGroups": ([str], False),
"SharingSettings": (SharingSettings, False),
"SpaceStorageSettings": (DefaultSpaceStorageSettings, False),
"StudioWebPortal": (str, False),
"StudioWebPortalSettings": (StudioWebPortalSettings, False),
}
[docs]class Domain(AWSObject):
"""
`Domain <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-domain.html>`__
"""
resource_type = "AWS::SageMaker::Domain"
props: PropsDictType = {
"AppNetworkAccessType": (str, False),
"AppSecurityGroupManagement": (str, False),
"AuthMode": (str, True),
"DefaultSpaceSettings": (DefaultSpaceSettings, False),
"DefaultUserSettings": (UserSettings, True),
"DomainName": (str, True),
"DomainSettings": (DomainSettings, False),
"KmsKeyId": (str, False),
"SubnetIds": ([str], False),
"TagPropagation": (str, False),
"Tags": (Tags, False),
"VpcId": (str, False),
}
[docs]class VariantProperty(AWSProperty):
"""
`VariantProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-variantproperty.html>`__
"""
props: PropsDictType = {
"VariantPropertyType": (str, False),
}
[docs]class Endpoint(AWSObject):
"""
`Endpoint <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpoint.html>`__
"""
resource_type = "AWS::SageMaker::Endpoint"
props: PropsDictType = {
"DeploymentConfig": (DeploymentConfig, False),
"EndpointConfigName": (str, True),
"EndpointName": (str, False),
"ExcludeRetainedVariantProperties": ([VariantProperty], False),
"RetainAllVariantProperties": (boolean, False),
"RetainDeploymentConfig": (boolean, False),
"Tags": (Tags, False),
}
[docs]class AsyncInferenceClientConfig(AWSProperty):
"""
`AsyncInferenceClientConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceclientconfig.html>`__
"""
props: PropsDictType = {
"MaxConcurrentInvocationsPerInstance": (integer, False),
}
[docs]class AsyncInferenceNotificationConfig(AWSProperty):
"""
`AsyncInferenceNotificationConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferencenotificationconfig.html>`__
"""
props: PropsDictType = {
"ErrorTopic": (str, False),
"IncludeInferenceResponseIn": ([str], False),
"SuccessTopic": (str, False),
}
[docs]class AsyncInferenceOutputConfig(AWSProperty):
"""
`AsyncInferenceOutputConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceoutputconfig.html>`__
"""
props: PropsDictType = {
"KmsKeyId": (str, False),
"NotificationConfig": (AsyncInferenceNotificationConfig, False),
"S3FailurePath": (str, False),
"S3OutputPath": (str, False),
}
[docs]class AsyncInferenceConfig(AWSProperty):
"""
`AsyncInferenceConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-asyncinferenceconfig.html>`__
"""
props: PropsDictType = {
"ClientConfig": (AsyncInferenceClientConfig, False),
"OutputConfig": (AsyncInferenceOutputConfig, True),
}
[docs]class CaptureOption(AWSProperty):
"""
`CaptureOption <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-captureoption.html>`__
"""
props: PropsDictType = {
"CaptureMode": (str, True),
}
[docs]class DataCaptureConfig(AWSProperty):
"""
`DataCaptureConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-datacaptureconfig.html>`__
"""
props: PropsDictType = {
"CaptureContentTypeHeader": (CaptureContentTypeHeader, False),
"CaptureOptions": ([CaptureOption], True),
"DestinationS3Uri": (str, True),
"EnableCapture": (boolean, False),
"InitialSamplingPercentage": (integer, True),
"KmsKeyId": (str, False),
}
[docs]class ClarifyInferenceConfig(AWSProperty):
"""
`ClarifyInferenceConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifyinferenceconfig.html>`__
"""
props: PropsDictType = {
"ContentTemplate": (str, False),
"FeatureHeaders": ([str], False),
"FeatureTypes": ([str], False),
"FeaturesAttribute": (str, False),
"LabelAttribute": (str, False),
"LabelHeaders": ([str], False),
"LabelIndex": (integer, False),
"MaxPayloadInMB": (integer, False),
"MaxRecordCount": (integer, False),
"ProbabilityAttribute": (str, False),
"ProbabilityIndex": (integer, False),
}
[docs]class ClarifyShapBaselineConfig(AWSProperty):
"""
`ClarifyShapBaselineConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifyshapbaselineconfig.html>`__
"""
props: PropsDictType = {
"MimeType": (str, False),
"ShapBaseline": (str, False),
"ShapBaselineUri": (str, False),
}
[docs]class ClarifyTextConfig(AWSProperty):
"""
`ClarifyTextConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifytextconfig.html>`__
"""
props: PropsDictType = {
"Granularity": (str, True),
"Language": (str, True),
}
[docs]class ClarifyShapConfig(AWSProperty):
"""
`ClarifyShapConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifyshapconfig.html>`__
"""
props: PropsDictType = {
"NumberOfSamples": (integer, False),
"Seed": (integer, False),
"ShapBaselineConfig": (ClarifyShapBaselineConfig, True),
"TextConfig": (ClarifyTextConfig, False),
"UseLogit": (boolean, False),
}
[docs]class ClarifyExplainerConfig(AWSProperty):
"""
`ClarifyExplainerConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-clarifyexplainerconfig.html>`__
"""
props: PropsDictType = {
"EnableExplanations": (str, False),
"InferenceConfig": (ClarifyInferenceConfig, False),
"ShapConfig": (ClarifyShapConfig, True),
}
[docs]class ExplainerConfig(AWSProperty):
"""
`ExplainerConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-explainerconfig.html>`__
"""
props: PropsDictType = {
"ClarifyExplainerConfig": (ClarifyExplainerConfig, False),
}
[docs]class CapacityReservationConfig(AWSProperty):
"""
`CapacityReservationConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-capacityreservationconfig.html>`__
"""
props: PropsDictType = {
"CapacityReservationPreference": (str, False),
"MlReservationArn": (str, False),
}
[docs]class InstancePools(AWSProperty):
"""
`InstancePools <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant-instancepools.html>`__
"""
props: PropsDictType = {
"InstanceType": (str, True),
"ModelNameOverride": (str, False),
"Priority": (integer, True),
}
[docs]class ManagedInstanceScaling(AWSProperty):
"""
`ManagedInstanceScaling <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant-managedinstancescaling.html>`__
"""
props: PropsDictType = {
"MaxInstanceCount": (integer, False),
"MinInstanceCount": (integer, False),
"Status": (str, False),
}
[docs]class RoutingConfig(AWSProperty):
"""
`RoutingConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant-routingconfig.html>`__
"""
props: PropsDictType = {
"RoutingStrategy": (str, False),
}
[docs]class ServerlessConfig(AWSProperty):
"""
`ServerlessConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant-serverlessconfig.html>`__
"""
props: PropsDictType = {
"MaxConcurrency": (integer, True),
"MemorySizeInMB": (integer, True),
"ProvisionedConcurrency": (integer, False),
}
[docs]class ProductionVariant(AWSProperty):
"""
`ProductionVariant <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpointconfig-productionvariant.html>`__
"""
props: PropsDictType = {
"CapacityReservationConfig": (CapacityReservationConfig, False),
"ContainerStartupHealthCheckTimeoutInSeconds": (integer, False),
"EnableSSMAccess": (boolean, False),
"InferenceAmiVersion": (str, False),
"InitialInstanceCount": (integer, False),
"InitialVariantWeight": (double, False),
"InstancePools": ([InstancePools], False),
"InstanceType": (str, False),
"ManagedInstanceScaling": (ManagedInstanceScaling, False),
"ModelDataDownloadTimeoutInSeconds": (integer, False),
"ModelName": (str, False),
"RoutingConfig": (RoutingConfig, False),
"ServerlessConfig": (ServerlessConfig, False),
"VariantInstanceProvisionTimeoutInSeconds": (integer, False),
"VariantName": (str, True),
"VolumeSizeInGB": (integer, False),
}
[docs]class EndpointConfig(AWSObject):
"""
`EndpointConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-endpointconfig.html>`__
"""
resource_type = "AWS::SageMaker::EndpointConfig"
props: PropsDictType = {
"AsyncInferenceConfig": (AsyncInferenceConfig, False),
"DataCaptureConfig": (DataCaptureConfig, False),
"EnableNetworkIsolation": (boolean, False),
"EndpointConfigName": (str, False),
"ExecutionRoleArn": (str, False),
"ExplainerConfig": (ExplainerConfig, False),
"KmsKeyId": (str, False),
"ProductionVariants": ([ProductionVariant], True),
"ShadowProductionVariants": ([ProductionVariant], False),
"Tags": (Tags, False),
"VpcConfig": (VpcConfig, False),
}
[docs]class FeatureDefinition(AWSProperty):
"""
`FeatureDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-featuredefinition.html>`__
"""
props: PropsDictType = {
"FeatureName": (str, True),
"FeatureType": (str, True),
}
[docs]class DataCatalogConfig(AWSProperty):
"""
`DataCatalogConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-datacatalogconfig.html>`__
"""
props: PropsDictType = {
"Catalog": (str, True),
"Database": (str, True),
"TableName": (str, True),
}
[docs]class S3StorageConfig(AWSProperty):
"""
`S3StorageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-s3storageconfig.html>`__
"""
props: PropsDictType = {
"KmsKeyId": (str, False),
"S3Uri": (str, True),
}
[docs]class OfflineStoreConfig(AWSProperty):
"""
`OfflineStoreConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-offlinestoreconfig.html>`__
"""
props: PropsDictType = {
"DataCatalogConfig": (DataCatalogConfig, False),
"DisableGlueTableCreation": (boolean, False),
"S3StorageConfig": (S3StorageConfig, True),
"TableFormat": (str, False),
}
[docs]class OnlineStoreSecurityConfig(AWSProperty):
"""
`OnlineStoreSecurityConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-onlinestoresecurityconfig.html>`__
"""
props: PropsDictType = {
"KmsKeyId": (str, False),
}
[docs]class TtlDuration(AWSProperty):
"""
`TtlDuration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-ttlduration.html>`__
"""
props: PropsDictType = {
"Unit": (str, False),
"Value": (integer, False),
}
[docs]class OnlineStoreConfig(AWSProperty):
"""
`OnlineStoreConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-onlinestoreconfig.html>`__
"""
props: PropsDictType = {
"EnableOnlineStore": (boolean, False),
"SecurityConfig": (OnlineStoreSecurityConfig, False),
"StorageType": (str, False),
"TtlDuration": (TtlDuration, False),
}
[docs]class ThroughputConfig(AWSProperty):
"""
`ThroughputConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-featuregroup-throughputconfig.html>`__
"""
props: PropsDictType = {
"ProvisionedReadCapacityUnits": (integer, False),
"ProvisionedWriteCapacityUnits": (integer, False),
"ThroughputMode": (str, True),
}
[docs]class FeatureGroup(AWSObject):
"""
`FeatureGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-featuregroup.html>`__
"""
resource_type = "AWS::SageMaker::FeatureGroup"
props: PropsDictType = {
"Description": (str, False),
"EventTimeFeatureName": (str, True),
"FeatureDefinitions": ([FeatureDefinition], True),
"FeatureGroupName": (str, True),
"OfflineStoreConfig": (OfflineStoreConfig, False),
"OnlineStoreConfig": (OnlineStoreConfig, False),
"RecordIdentifierFeatureName": (str, True),
"RoleArn": (str, False),
"Tags": (Tags, False),
"ThroughputConfig": (ThroughputConfig, False),
}
[docs]class Image(AWSObject):
"""
`Image <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-image.html>`__
"""
resource_type = "AWS::SageMaker::Image"
props: PropsDictType = {
"ImageDescription": (str, False),
"ImageDisplayName": (str, False),
"ImageName": (str, True),
"ImageRoleArn": (str, True),
"Tags": (Tags, False),
}
[docs]class ImageVersion(AWSObject):
"""
`ImageVersion <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-imageversion.html>`__
"""
resource_type = "AWS::SageMaker::ImageVersion"
props: PropsDictType = {
"Alias": (str, False),
"Aliases": ([str], False),
"BaseImage": (str, True),
"Horovod": (boolean, False),
"ImageName": (str, True),
"JobType": (str, False),
"MLFramework": (str, False),
"Processor": (str, False),
"ProgrammingLang": (str, False),
"ReleaseNotes": (str, False),
"VendorGuidance": (str, False),
}
[docs]class AutoRollbackConfiguration(AWSProperty):
"""
`AutoRollbackConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-autorollbackconfiguration.html>`__
"""
props: PropsDictType = {
"Alarms": ([Alarm], True),
}
[docs]class InferenceComponentCapacitySize(AWSProperty):
"""
`InferenceComponentCapacitySize <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcapacitysize.html>`__
"""
props: PropsDictType = {
"Type": (str, True),
"Value": (integer, True),
}
[docs]class InferenceComponentRollingUpdatePolicy(AWSProperty):
"""
`InferenceComponentRollingUpdatePolicy <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentrollingupdatepolicy.html>`__
"""
props: PropsDictType = {
"MaximumBatchSize": (InferenceComponentCapacitySize, False),
"MaximumExecutionTimeoutInSeconds": (integer, False),
"RollbackMaximumBatchSize": (InferenceComponentCapacitySize, False),
"WaitIntervalInSeconds": (integer, False),
}
[docs]class InferenceComponentDeploymentConfig(AWSProperty):
"""
`InferenceComponentDeploymentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentdeploymentconfig.html>`__
"""
props: PropsDictType = {
"AutoRollbackConfiguration": (AutoRollbackConfiguration, False),
"RollingUpdatePolicy": (InferenceComponentRollingUpdatePolicy, False),
}
[docs]class InferenceComponentRuntimeConfig(AWSProperty):
"""
`InferenceComponentRuntimeConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentruntimeconfig.html>`__
"""
props: PropsDictType = {
"CopyCount": (integer, False),
"CurrentCopyCount": (integer, False),
"DesiredCopyCount": (integer, False),
}
[docs]class InferenceComponentComputeResourceRequirements(AWSProperty):
"""
`InferenceComponentComputeResourceRequirements <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcomputeresourcerequirements.html>`__
"""
props: PropsDictType = {
"MaxMemoryRequiredInMb": (integer, False),
"MinMemoryRequiredInMb": (integer, False),
"NumberOfAcceleratorDevicesRequired": (double, False),
"NumberOfCpuCoresRequired": (double, False),
}
[docs]class DeployedImage(AWSProperty):
"""
`DeployedImage <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-deployedimage.html>`__
"""
props: PropsDictType = {
"ResolutionTime": (str, False),
"ResolvedImage": (str, False),
"SpecifiedImage": (str, False),
}
[docs]class InferenceComponentContainerSpecification(AWSProperty):
"""
`InferenceComponentContainerSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentcontainerspecification.html>`__
"""
props: PropsDictType = {
"ArtifactUrl": (str, False),
"DeployedImage": (DeployedImage, False),
"Environment": (dict, False),
"Image": (str, False),
}
[docs]class InferenceComponentStartupParameters(AWSProperty):
"""
`InferenceComponentStartupParameters <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentstartupparameters.html>`__
"""
props: PropsDictType = {
"ContainerStartupHealthCheckTimeoutInSeconds": (integer, False),
"ModelDataDownloadTimeoutInSeconds": (integer, False),
}
[docs]class InferenceComponentSpecification(AWSProperty):
"""
`InferenceComponentSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferencecomponent-inferencecomponentspecification.html>`__
"""
props: PropsDictType = {
"BaseInferenceComponentName": (str, False),
"ComputeResourceRequirements": (
InferenceComponentComputeResourceRequirements,
False,
),
"Container": (InferenceComponentContainerSpecification, False),
"ModelName": (str, False),
"StartupParameters": (InferenceComponentStartupParameters, False),
}
[docs]class InferenceComponent(AWSObject):
"""
`InferenceComponent <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferencecomponent.html>`__
"""
resource_type = "AWS::SageMaker::InferenceComponent"
props: PropsDictType = {
"DeploymentConfig": (InferenceComponentDeploymentConfig, False),
"EndpointArn": (str, False),
"EndpointName": (str, True),
"InferenceComponentName": (str, False),
"RuntimeConfig": (InferenceComponentRuntimeConfig, False),
"Specification": (InferenceComponentSpecification, True),
"Tags": (Tags, False),
"VariantName": (str, False),
}
[docs]class DataStorageConfig(AWSProperty):
"""
`DataStorageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-datastorageconfig.html>`__
"""
props: PropsDictType = {
"ContentType": (CaptureContentTypeHeader, False),
"Destination": (str, True),
"KmsKey": (str, False),
}
[docs]class InferenceExperimentSchedule(AWSProperty):
"""
`InferenceExperimentSchedule <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-inferenceexperimentschedule.html>`__
"""
props: PropsDictType = {
"EndTime": (str, False),
"StartTime": (str, False),
}
[docs]class RealTimeInferenceConfig(AWSProperty):
"""
`RealTimeInferenceConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-realtimeinferenceconfig.html>`__
"""
props: PropsDictType = {
"InstanceCount": (integer, True),
"InstanceType": (str, True),
}
[docs]class ModelInfrastructureConfig(AWSProperty):
"""
`ModelInfrastructureConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-modelinfrastructureconfig.html>`__
"""
props: PropsDictType = {
"InfrastructureType": (str, True),
"RealTimeInferenceConfig": (RealTimeInferenceConfig, True),
}
[docs]class ModelVariantConfig(AWSProperty):
"""
`ModelVariantConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-modelvariantconfig.html>`__
"""
props: PropsDictType = {
"InfrastructureConfig": (ModelInfrastructureConfig, True),
"ModelName": (str, True),
"VariantName": (str, True),
}
[docs]class ShadowModelVariantConfig(AWSProperty):
"""
`ShadowModelVariantConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-shadowmodelvariantconfig.html>`__
"""
props: PropsDictType = {
"SamplingPercentage": (integer, True),
"ShadowModelVariantName": (str, True),
}
[docs]class ShadowModeConfig(AWSProperty):
"""
`ShadowModeConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-inferenceexperiment-shadowmodeconfig.html>`__
"""
props: PropsDictType = {
"ShadowModelVariants": ([ShadowModelVariantConfig], True),
"SourceModelVariantName": (str, True),
}
[docs]class InferenceExperiment(AWSObject):
"""
`InferenceExperiment <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-inferenceexperiment.html>`__
"""
resource_type = "AWS::SageMaker::InferenceExperiment"
props: PropsDictType = {
"DataStorageConfig": (DataStorageConfig, False),
"Description": (str, False),
"DesiredState": (str, False),
"EndpointName": (str, True),
"KmsKey": (str, False),
"ModelVariants": ([ModelVariantConfig], True),
"Name": (str, True),
"RoleArn": (str, True),
"Schedule": (InferenceExperimentSchedule, False),
"ShadowModeConfig": (ShadowModeConfig, False),
"StatusReason": (str, False),
"Tags": (Tags, False),
"Type": (str, True),
}
[docs]class MlflowTrackingServer(AWSObject):
"""
`MlflowTrackingServer <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-mlflowtrackingserver.html>`__
"""
resource_type = "AWS::SageMaker::MlflowTrackingServer"
props: PropsDictType = {
"ArtifactStoreUri": (str, True),
"AutomaticModelRegistration": (boolean, False),
"MlflowVersion": (str, False),
"RoleArn": (str, True),
"Tags": (Tags, False),
"TrackingServerName": (str, True),
"TrackingServerSize": (str, False),
"WeeklyMaintenanceWindowStart": (str, False),
}
[docs]class RepositoryAuthConfig(AWSProperty):
"""
`RepositoryAuthConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-repositoryauthconfig.html>`__
"""
props: PropsDictType = {
"RepositoryCredentialsProviderArn": (str, True),
}
[docs]class ImageConfig(AWSProperty):
"""
`ImageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-imageconfig.html>`__
"""
props: PropsDictType = {
"RepositoryAccessMode": (str, True),
"RepositoryAuthConfig": (RepositoryAuthConfig, False),
}
[docs]class ModelAccessConfig(AWSProperty):
"""
`ModelAccessConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelaccessconfig.html>`__
"""
props: PropsDictType = {
"AcceptEula": (boolean, True),
}
[docs]class S3ModelDataSource(AWSProperty):
"""
`S3ModelDataSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-s3modeldatasource.html>`__
"""
props: PropsDictType = {
"CompressionType": (str, True),
"ModelAccessConfig": (ModelAccessConfig, False),
"S3DataType": (str, True),
"S3Uri": (str, True),
}
[docs]class ModelDataSource(AWSProperty):
"""
`ModelDataSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modeldatasource.html>`__
"""
props: PropsDictType = {
"S3DataSource": (S3ModelDataSource, False),
}
[docs]class MultiModelConfig(AWSProperty):
"""
`MultiModelConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-multimodelconfig.html>`__
"""
props: PropsDictType = {
"ModelCacheSetting": (str, False),
}
[docs]class ContainerDefinition(AWSProperty):
"""
`ContainerDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition.html>`__
"""
props: PropsDictType = {
"ContainerHostname": (str, False),
"Environment": (dict, False),
"Image": (str, False),
"ImageConfig": (ImageConfig, False),
"InferenceSpecificationName": (str, False),
"Mode": (str, False),
"ModelDataSource": (ModelDataSource, False),
"ModelDataUrl": (str, False),
"ModelPackageName": (str, False),
"MultiModelConfig": (MultiModelConfig, False),
}
[docs]class InferenceExecutionConfig(AWSProperty):
"""
`InferenceExecutionConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-inferenceexecutionconfig.html>`__
"""
props: PropsDictType = {
"Mode": (str, True),
}
[docs]class Model(AWSObject):
"""
`Model <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-model.html>`__
"""
resource_type = "AWS::SageMaker::Model"
props: PropsDictType = {
"Containers": ([ContainerDefinition], False),
"EnableNetworkIsolation": (boolean, False),
"ExecutionRoleArn": (str, False),
"InferenceExecutionConfig": (InferenceExecutionConfig, False),
"ModelName": (str, False),
"PrimaryContainer": (ContainerDefinition, False),
"Tags": (Tags, False),
"VpcConfig": (VpcConfig, False),
}
[docs]class ModelBiasAppSpecification(AWSProperty):
"""
`ModelBiasAppSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasappspecification.html>`__
"""
props: PropsDictType = {
"ConfigUri": (str, True),
"Environment": (dict, False),
"ImageUri": (str, True),
}
[docs]class ModelBiasBaselineConfig(AWSProperty):
"""
`ModelBiasBaselineConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelbiasjobdefinition-modelbiasbaselineconfig.html>`__
"""
props: PropsDictType = {
"BaseliningJobName": (str, False),
"ConstraintsResource": (ConstraintsResource, False),
}
[docs]class ModelBiasJobDefinition(AWSObject):
"""
`ModelBiasJobDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelbiasjobdefinition.html>`__
"""
resource_type = "AWS::SageMaker::ModelBiasJobDefinition"
props: PropsDictType = {
"EndpointName": (str, False),
"JobDefinitionName": (str, False),
"JobResources": (MonitoringResources, True),
"ModelBiasAppSpecification": (ModelBiasAppSpecification, True),
"ModelBiasBaselineConfig": (ModelBiasBaselineConfig, False),
"ModelBiasJobInput": (ModelBiasJobInput, True),
"ModelBiasJobOutputConfig": (MonitoringOutputConfig, True),
"NetworkConfig": (NetworkConfig, False),
"RoleArn": (str, True),
"StoppingCondition": (StoppingCondition, False),
"Tags": (Tags, False),
}
[docs]class BusinessDetails(AWSProperty):
"""
`BusinessDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-businessdetails.html>`__
"""
props: PropsDictType = {
"BusinessProblem": (str, False),
"BusinessStakeholders": (str, False),
"LineOfBusiness": (str, False),
}
[docs]class MetricDataItems(AWSProperty):
"""
`MetricDataItems <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-metricdataitems.html>`__
"""
props: PropsDictType = {
"Name": (str, True),
"Notes": (str, False),
"Type": (str, True),
"Value": (dict, True),
"XAxisName": ([str], False),
"YAxisName": ([str], False),
}
[docs]class MetricGroup(AWSProperty):
"""
`MetricGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-metricgroup.html>`__
"""
props: PropsDictType = {
"MetricData": ([MetricDataItems], True),
"Name": (str, True),
}
[docs]class EvaluationDetail(AWSProperty):
"""
`EvaluationDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-evaluationdetail.html>`__
"""
props: PropsDictType = {
"Datasets": ([str], False),
"EvaluationJobArn": (str, False),
"EvaluationObservation": (str, False),
"Metadata": (dict, False),
"MetricGroups": ([MetricGroup], False),
"Name": (str, True),
}
[docs]class IntendedUses(AWSProperty):
"""
`IntendedUses <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-intendeduses.html>`__
"""
props: PropsDictType = {
"ExplanationsForRiskRating": (str, False),
"FactorsAffectingModelEfficiency": (str, False),
"IntendedUses": (str, False),
"PurposeOfModel": (str, False),
"RiskRating": (str, False),
}
[docs]class InferenceEnvironment(AWSProperty):
"""
`InferenceEnvironment <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-inferenceenvironment.html>`__
"""
props: PropsDictType = {
"ContainerImage": ([str], False),
}
[docs]class ModelOverview(AWSProperty):
"""
`ModelOverview <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-modeloverview.html>`__
"""
props: PropsDictType = {
"AlgorithmType": (str, False),
"InferenceEnvironment": (InferenceEnvironment, False),
"ModelArtifact": ([str], False),
"ModelCreator": (str, False),
"ModelDescription": (str, False),
"ModelId": (str, False),
"ModelName": (str, False),
"ModelOwner": (str, False),
"ModelVersion": (double, False),
"ProblemType": (str, False),
}
[docs]class ModelPackageContainerDefinition(AWSProperty):
"""
`ModelPackageContainerDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelpackagecontainerdefinition.html>`__
"""
props: PropsDictType = {
"ContainerHostname": (str, False),
"Environment": (dict, False),
"Framework": (str, False),
"FrameworkVersion": (str, False),
"Image": (str, True),
"ImageDigest": (str, False),
"ModelDataSource": (ModelDataSource, False),
"ModelDataUrl": (str, False),
"ModelInput": (ModelInput, False),
"NearestModelName": (str, False),
}
[docs]class InferenceSpecification(AWSProperty):
"""
`InferenceSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-inferencespecification.html>`__
"""
props: PropsDictType = {
"Containers": ([ModelPackageContainerDefinition], True),
"SupportedContentTypes": ([str], True),
"SupportedRealtimeInferenceInstanceTypes": ([str], False),
"SupportedResponseMIMETypes": ([str], True),
"SupportedTransformInstanceTypes": ([str], False),
}
[docs]class ModelPackageCreator(AWSProperty):
"""
`ModelPackageCreator <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-modelpackagecreator.html>`__
"""
props: PropsDictType = {
"UserProfileName": (str, False),
}
[docs]class SourceAlgorithm(AWSProperty):
"""
`SourceAlgorithm <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-sourcealgorithm.html>`__
"""
props: PropsDictType = {
"AlgorithmName": (str, True),
"ModelDataUrl": (str, False),
}
[docs]class ModelPackageDetails(AWSProperty):
"""
`ModelPackageDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-modelpackagedetails.html>`__
"""
props: PropsDictType = {
"ApprovalDescription": (str, False),
"CreatedBy": (ModelPackageCreator, False),
"Domain": (str, False),
"InferenceSpecification": (InferenceSpecification, False),
"ModelApprovalStatus": (str, False),
"ModelPackageArn": (str, False),
"ModelPackageDescription": (str, False),
"ModelPackageGroupName": (str, False),
"ModelPackageName": (str, False),
"ModelPackageStatus": (str, False),
"ModelPackageVersion": (double, False),
"SourceAlgorithms": ([SourceAlgorithm], False),
"Task": (str, False),
}
[docs]class Function(AWSProperty):
"""
`Function <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-function.html>`__
"""
props: PropsDictType = {
"Condition": (str, False),
"Facet": (str, False),
"Function": (str, False),
}
[docs]class ObjectiveFunction(AWSProperty):
"""
`ObjectiveFunction <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-objectivefunction.html>`__
"""
props: PropsDictType = {
"Function": (Function, False),
"Notes": (str, False),
}
[docs]class TrainingEnvironment(AWSProperty):
"""
`TrainingEnvironment <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingenvironment.html>`__
"""
props: PropsDictType = {
"ContainerImage": ([str], False),
}
[docs]class TrainingHyperParameter(AWSProperty):
"""
`TrainingHyperParameter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-traininghyperparameter.html>`__
"""
props: PropsDictType = {
"Name": (str, True),
"Value": (str, True),
}
[docs]class TrainingMetric(AWSProperty):
"""
`TrainingMetric <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingmetric.html>`__
"""
props: PropsDictType = {
"Name": (str, True),
"Notes": (str, False),
"Value": (double, True),
}
[docs]class TrainingJobDetails(AWSProperty):
"""
`TrainingJobDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingjobdetails.html>`__
"""
props: PropsDictType = {
"HyperParameters": ([TrainingHyperParameter], False),
"TrainingArn": (str, False),
"TrainingDatasets": ([str], False),
"TrainingEnvironment": (TrainingEnvironment, False),
"TrainingMetrics": ([TrainingMetric], False),
"UserProvidedHyperParameters": ([TrainingHyperParameter], False),
"UserProvidedTrainingMetrics": ([TrainingMetric], False),
}
[docs]class TrainingDetails(AWSProperty):
"""
`TrainingDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-trainingdetails.html>`__
"""
props: PropsDictType = {
"ObjectiveFunction": (ObjectiveFunction, False),
"TrainingJobDetails": (TrainingJobDetails, False),
"TrainingObservations": (str, False),
}
[docs]class Content(AWSProperty):
"""
`Content <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-content.html>`__
"""
props: PropsDictType = {
"AdditionalInformation": (AdditionalInformation, False),
"BusinessDetails": (BusinessDetails, False),
"EvaluationDetails": ([EvaluationDetail], False),
"IntendedUses": (IntendedUses, False),
"ModelOverview": (ModelOverview, False),
"ModelPackageDetails": (ModelPackageDetails, False),
"TrainingDetails": (TrainingDetails, False),
}
[docs]class SecurityConfig(AWSProperty):
"""
`SecurityConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-securityconfig.html>`__
"""
props: PropsDictType = {
"KmsKeyId": (str, True),
}
[docs]class UserContext(AWSProperty):
"""
`UserContext <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-usercontext.html>`__
"""
props: PropsDictType = {
"DomainId": (str, False),
"UserProfileArn": (str, False),
"UserProfileName": (str, False),
}
[docs]class ModelCard(AWSObject):
"""
`ModelCard <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelcard.html>`__
"""
resource_type = "AWS::SageMaker::ModelCard"
props: PropsDictType = {
"Content": (Content, True),
"CreatedBy": (UserContext, False),
"LastModifiedBy": (UserContext, False),
"ModelCardName": (str, True),
"ModelCardStatus": (str, True),
"SecurityConfig": (SecurityConfig, False),
"Tags": (Tags, False),
}
[docs]class ModelExplainabilityAppSpecification(AWSProperty):
"""
`ModelExplainabilityAppSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilityappspecification.html>`__
"""
props: PropsDictType = {
"ConfigUri": (str, True),
"Environment": (dict, False),
"ImageUri": (str, True),
}
[docs]class ModelExplainabilityBaselineConfig(AWSProperty):
"""
`ModelExplainabilityBaselineConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelexplainabilityjobdefinition-modelexplainabilitybaselineconfig.html>`__
"""
props: PropsDictType = {
"BaseliningJobName": (str, False),
"ConstraintsResource": (ConstraintsResource, False),
}
[docs]class ModelExplainabilityJobDefinition(AWSObject):
"""
`ModelExplainabilityJobDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelexplainabilityjobdefinition.html>`__
"""
resource_type = "AWS::SageMaker::ModelExplainabilityJobDefinition"
props: PropsDictType = {
"EndpointName": (str, False),
"JobDefinitionName": (str, False),
"JobResources": (MonitoringResources, True),
"ModelExplainabilityAppSpecification": (
ModelExplainabilityAppSpecification,
True,
),
"ModelExplainabilityBaselineConfig": (ModelExplainabilityBaselineConfig, False),
"ModelExplainabilityJobInput": (ModelExplainabilityJobInput, True),
"ModelExplainabilityJobOutputConfig": (MonitoringOutputConfig, True),
"NetworkConfig": (NetworkConfig, False),
"RoleArn": (str, True),
"StoppingCondition": (StoppingCondition, False),
"Tags": (Tags, False),
}
[docs]class AdditionalInferenceSpecificationDefinition(AWSProperty):
"""
`AdditionalInferenceSpecificationDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-additionalinferencespecificationdefinition.html>`__
"""
props: PropsDictType = {
"Containers": ([ModelPackageContainerDefinition], True),
"Description": (str, False),
"Name": (str, True),
"SupportedContentTypes": ([str], False),
"SupportedRealtimeInferenceInstanceTypes": ([str], False),
"SupportedResponseMIMETypes": ([str], False),
"SupportedTransformInstanceTypes": ([str], False),
}
[docs]class FileSource(AWSProperty):
"""
`FileSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-filesource.html>`__
"""
props: PropsDictType = {
"ContentDigest": (str, False),
"ContentType": (str, False),
"S3Uri": (str, True),
}
[docs]class MetricsSource(AWSProperty):
"""
`MetricsSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-metricssource.html>`__
"""
props: PropsDictType = {
"ContentDigest": (str, False),
"ContentType": (str, True),
"S3Uri": (str, True),
}
[docs]class DriftCheckBias(AWSProperty):
"""
`DriftCheckBias <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-driftcheckbias.html>`__
"""
props: PropsDictType = {
"ConfigFile": (FileSource, False),
"PostTrainingConstraints": (MetricsSource, False),
"PreTrainingConstraints": (MetricsSource, False),
}
[docs]class DriftCheckExplainability(AWSProperty):
"""
`DriftCheckExplainability <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-driftcheckexplainability.html>`__
"""
props: PropsDictType = {
"ConfigFile": (FileSource, False),
"Constraints": (MetricsSource, False),
}
[docs]class DriftCheckModelDataQuality(AWSProperty):
"""
`DriftCheckModelDataQuality <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-driftcheckmodeldataquality.html>`__
"""
props: PropsDictType = {
"Constraints": (MetricsSource, False),
"Statistics": (MetricsSource, False),
}
[docs]class DriftCheckModelQuality(AWSProperty):
"""
`DriftCheckModelQuality <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-driftcheckmodelquality.html>`__
"""
props: PropsDictType = {
"Constraints": (MetricsSource, False),
"Statistics": (MetricsSource, False),
}
[docs]class DriftCheckBaselines(AWSProperty):
"""
`DriftCheckBaselines <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-driftcheckbaselines.html>`__
"""
props: PropsDictType = {
"Bias": (DriftCheckBias, False),
"Explainability": (DriftCheckExplainability, False),
"ModelDataQuality": (DriftCheckModelDataQuality, False),
"ModelQuality": (DriftCheckModelQuality, False),
}
[docs]class ModelCardProperty(AWSProperty):
"""
`ModelCardProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelcard.html>`__
"""
props: PropsDictType = {
"ModelCardContent": (str, True),
"ModelCardStatus": (str, True),
}
[docs]class Bias(AWSProperty):
"""
`Bias <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-bias.html>`__
"""
props: PropsDictType = {
"PostTrainingReport": (MetricsSource, False),
"PreTrainingReport": (MetricsSource, False),
"Report": (MetricsSource, False),
}
[docs]class Explainability(AWSProperty):
"""
`Explainability <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-explainability.html>`__
"""
props: PropsDictType = {
"Report": (MetricsSource, False),
}
[docs]class ModelDataQuality(AWSProperty):
"""
`ModelDataQuality <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modeldataquality.html>`__
"""
props: PropsDictType = {
"Constraints": (MetricsSource, False),
"Statistics": (MetricsSource, False),
}
[docs]class ModelQuality(AWSProperty):
"""
`ModelQuality <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelquality.html>`__
"""
props: PropsDictType = {
"Constraints": (MetricsSource, False),
"Statistics": (MetricsSource, False),
}
[docs]class ModelMetrics(AWSProperty):
"""
`ModelMetrics <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelmetrics.html>`__
"""
props: PropsDictType = {
"Bias": (Bias, False),
"Explainability": (Explainability, False),
"ModelDataQuality": (ModelDataQuality, False),
"ModelQuality": (ModelQuality, False),
}
[docs]class ModelPackageStatusItem(AWSProperty):
"""
`ModelPackageStatusItem <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelpackagestatusitem.html>`__
"""
props: PropsDictType = {
"FailureReason": (str, False),
"Name": (str, True),
"Status": (str, True),
}
[docs]class ModelPackageStatusDetails(AWSProperty):
"""
`ModelPackageStatusDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-modelpackagestatusdetails.html>`__
"""
props: PropsDictType = {
"ValidationStatuses": ([ModelPackageStatusItem], False),
}
[docs]class SourceAlgorithmSpecification(AWSProperty):
"""
`SourceAlgorithmSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-sourcealgorithmspecification.html>`__
"""
props: PropsDictType = {
"SourceAlgorithms": ([SourceAlgorithm], True),
}
[docs]class S3DataSource(AWSProperty):
"""
`S3DataSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-s3datasource.html>`__
"""
props: PropsDictType = {
"S3DataType": (str, True),
"S3Uri": (str, True),
}
[docs]class DataSource(AWSProperty):
"""
`DataSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-datasource.html>`__
"""
props: PropsDictType = {
"S3DataSource": (S3DataSource, True),
}
[docs]class ValidationProfile(AWSProperty):
"""
`ValidationProfile <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-validationprofile.html>`__
"""
props: PropsDictType = {
"ProfileName": (str, True),
"TransformJobDefinition": (TransformJobDefinition, True),
}
[docs]class ValidationSpecification(AWSProperty):
"""
`ValidationSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelpackage-validationspecification.html>`__
"""
props: PropsDictType = {
"ValidationProfiles": ([ValidationProfile], True),
"ValidationRole": (str, True),
}
[docs]class ModelPackage(AWSObject):
"""
`ModelPackage <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackage.html>`__
"""
resource_type = "AWS::SageMaker::ModelPackage"
props: PropsDictType = {
"AdditionalInferenceSpecifications": (
[AdditionalInferenceSpecificationDefinition],
False,
),
"AdditionalInferenceSpecificationsToAdd": (
[AdditionalInferenceSpecificationDefinition],
False,
),
"ApprovalDescription": (str, False),
"CertifyForMarketplace": (boolean, False),
"ClientToken": (str, False),
"CustomerMetadataProperties": (dict, False),
"Domain": (str, False),
"DriftCheckBaselines": (DriftCheckBaselines, False),
"InferenceSpecification": (InferenceSpecification, False),
"MetadataProperties": (MetadataProperties, False),
"ModelApprovalStatus": (str, False),
"ModelCard": (ModelCardProperty, False),
"ModelMetrics": (ModelMetrics, False),
"ModelPackageDescription": (str, False),
"ModelPackageGroupName": (str, False),
"ModelPackageName": (str, False),
"ModelPackageStatusDetails": (ModelPackageStatusDetails, False),
"ModelPackageVersion": (integer, False),
"SamplePayloadUrl": (str, False),
"SecurityConfig": (SecurityConfig, False),
"SkipModelValidation": (str, False),
"SourceAlgorithmSpecification": (SourceAlgorithmSpecification, False),
"SourceUri": (str, False),
"Tags": (Tags, False),
"Task": (str, False),
"ValidationSpecification": (ValidationSpecification, False),
}
[docs]class ModelPackageGroup(AWSObject):
"""
`ModelPackageGroup <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html>`__
"""
resource_type = "AWS::SageMaker::ModelPackageGroup"
props: PropsDictType = {
"ModelPackageGroupDescription": (str, False),
"ModelPackageGroupName": (str, True),
"ModelPackageGroupPolicy": (dict, False),
"Tags": (Tags, False),
}
[docs]class ModelQualityAppSpecification(AWSProperty):
"""
`ModelQualityAppSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualityappspecification.html>`__
"""
props: PropsDictType = {
"ContainerArguments": ([str], False),
"ContainerEntrypoint": ([str], False),
"Environment": (dict, False),
"ImageUri": (str, True),
"PostAnalyticsProcessorSourceUri": (str, False),
"ProblemType": (str, True),
"RecordPreprocessorSourceUri": (str, False),
}
[docs]class ModelQualityBaselineConfig(AWSProperty):
"""
`ModelQualityBaselineConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelqualityjobdefinition-modelqualitybaselineconfig.html>`__
"""
props: PropsDictType = {
"BaseliningJobName": (str, False),
"ConstraintsResource": (ConstraintsResource, False),
}
[docs]class ModelQualityJobDefinition(AWSObject):
"""
`ModelQualityJobDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelqualityjobdefinition.html>`__
"""
resource_type = "AWS::SageMaker::ModelQualityJobDefinition"
props: PropsDictType = {
"EndpointName": (str, False),
"JobDefinitionName": (str, False),
"JobResources": (MonitoringResources, True),
"ModelQualityAppSpecification": (ModelQualityAppSpecification, True),
"ModelQualityBaselineConfig": (ModelQualityBaselineConfig, False),
"ModelQualityJobInput": (ModelQualityJobInput, True),
"ModelQualityJobOutputConfig": (MonitoringOutputConfig, True),
"NetworkConfig": (NetworkConfig, False),
"RoleArn": (str, True),
"StoppingCondition": (StoppingCondition, False),
"Tags": (Tags, False),
}
[docs]class MonitoringExecutionSummary(AWSProperty):
"""
`MonitoringExecutionSummary <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringexecutionsummary.html>`__
"""
props: PropsDictType = {
"CreationTime": (str, True),
"EndpointName": (str, False),
"FailureReason": (str, False),
"LastModifiedTime": (str, True),
"MonitoringExecutionStatus": (str, True),
"MonitoringScheduleName": (str, True),
"ProcessingJobArn": (str, False),
"ScheduledTime": (str, True),
}
[docs]class BaselineConfig(AWSProperty):
"""
`BaselineConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-baselineconfig.html>`__
"""
props: PropsDictType = {
"ConstraintsResource": (ConstraintsResource, False),
"StatisticsResource": (StatisticsResource, False),
}
[docs]class MonitoringAppSpecification(AWSProperty):
"""
`MonitoringAppSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringappspecification.html>`__
"""
props: PropsDictType = {
"ContainerArguments": ([str], False),
"ContainerEntrypoint": ([str], False),
"ImageUri": (str, True),
"PostAnalyticsProcessorSourceUri": (str, False),
"RecordPreprocessorSourceUri": (str, False),
}
[docs]class MonitoringJobDefinition(AWSProperty):
"""
`MonitoringJobDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringjobdefinition.html>`__
"""
props: PropsDictType = {
"BaselineConfig": (BaselineConfig, False),
"Environment": (dict, False),
"MonitoringAppSpecification": (MonitoringAppSpecification, True),
"MonitoringInputs": ([MonitoringInput], True),
"MonitoringOutputConfig": (MonitoringOutputConfig, True),
"MonitoringResources": (MonitoringResources, True),
"NetworkConfig": (NetworkConfig, False),
"RoleArn": (str, True),
"StoppingCondition": (StoppingCondition, False),
}
[docs]class ScheduleConfig(AWSProperty):
"""
`ScheduleConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-scheduleconfig.html>`__
"""
props: PropsDictType = {
"DataAnalysisEndTime": (str, False),
"DataAnalysisStartTime": (str, False),
"ScheduleExpression": (str, True),
}
[docs]class MonitoringScheduleConfig(AWSProperty):
"""
`MonitoringScheduleConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-monitoringscheduleconfig.html>`__
"""
props: PropsDictType = {
"MonitoringJobDefinition": (MonitoringJobDefinition, False),
"MonitoringJobDefinitionName": (str, False),
"MonitoringType": (str, False),
"ScheduleConfig": (ScheduleConfig, False),
}
[docs]class MonitoringSchedule(AWSObject):
"""
`MonitoringSchedule <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedule.html>`__
"""
resource_type = "AWS::SageMaker::MonitoringSchedule"
props: PropsDictType = {
"EndpointName": (str, False),
"FailureReason": (str, False),
"LastMonitoringExecutionSummary": (MonitoringExecutionSummary, False),
"MonitoringScheduleConfig": (MonitoringScheduleConfig, True),
"MonitoringScheduleName": (str, True),
"MonitoringScheduleStatus": (str, False),
"Tags": (Tags, False),
}
[docs]class NotebookInstance(AWSObject):
"""
`NotebookInstance <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html>`__
"""
resource_type = "AWS::SageMaker::NotebookInstance"
props: PropsDictType = {
"AcceleratorTypes": ([str], False),
"AdditionalCodeRepositories": ([str], False),
"DefaultCodeRepository": (str, False),
"DirectInternetAccess": (str, False),
"InstanceMetadataServiceConfiguration": (
InstanceMetadataServiceConfiguration,
False,
),
"InstanceType": (str, True),
"KmsKeyId": (str, False),
"LifecycleConfigName": (str, False),
"NotebookInstanceName": (str, False),
"PlatformIdentifier": (str, False),
"RoleArn": (str, True),
"RootAccess": (str, False),
"SecurityGroupIds": ([str], False),
"SubnetId": (str, False),
"Tags": (Tags, False),
"VolumeSizeInGB": (integer, False),
}
[docs]class NotebookInstanceLifecycleHook(AWSProperty):
"""
`NotebookInstanceLifecycleHook <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-notebookinstancelifecycleconfig-notebookinstancelifecyclehook.html>`__
"""
props: PropsDictType = {
"Content": (str, False),
}
[docs]class NotebookInstanceLifecycleConfig(AWSObject):
"""
`NotebookInstanceLifecycleConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstancelifecycleconfig.html>`__
"""
resource_type = "AWS::SageMaker::NotebookInstanceLifecycleConfig"
props: PropsDictType = {
"NotebookInstanceLifecycleConfigName": (str, False),
"OnCreate": ([NotebookInstanceLifecycleHook], False),
"OnStart": ([NotebookInstanceLifecycleHook], False),
}
[docs]class PartnerAppConfig(AWSProperty):
"""
`PartnerAppConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappconfig.html>`__
"""
props: PropsDictType = {
"AdminUsers": ([str], False),
"Arguments": (dict, False),
}
[docs]class PartnerAppMaintenanceConfig(AWSProperty):
"""
`PartnerAppMaintenanceConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-partnerapp-partnerappmaintenanceconfig.html>`__
"""
props: PropsDictType = {
"MaintenanceWindowStart": (str, True),
}
[docs]class PartnerApp(AWSObject):
"""
`PartnerApp <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-partnerapp.html>`__
"""
resource_type = "AWS::SageMaker::PartnerApp"
props: PropsDictType = {
"AppVersion": (str, False),
"ApplicationConfig": (PartnerAppConfig, False),
"AuthType": (str, True),
"EnableAutoMinorVersionUpgrade": (boolean, False),
"EnableIamSessionBasedIdentity": (boolean, False),
"ExecutionRoleArn": (str, True),
"KmsKeyId": (str, False),
"MaintenanceConfig": (PartnerAppMaintenanceConfig, False),
"Name": (str, True),
"Tags": (Tags, False),
"Tier": (str, True),
"Type": (str, True),
}
[docs]class ParallelismConfiguration(AWSProperty):
"""
`ParallelismConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-pipeline-parallelismconfiguration.html>`__
"""
props: PropsDictType = {
"MaxParallelExecutionSteps": (integer, True),
}
[docs]class S3Location(AWSProperty):
"""
`S3Location <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-pipeline-s3location.html>`__
"""
props: PropsDictType = {
"Bucket": (str, True),
"ETag": (str, False),
"Key": (str, True),
"Version": (str, False),
}
[docs]class PipelineDefinition(AWSProperty):
"""
`PipelineDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-pipeline-pipelinedefinition.html>`__
"""
props: PropsDictType = {
"PipelineDefinitionBody": (str, False),
"PipelineDefinitionS3Location": (S3Location, False),
}
[docs]class Pipeline(AWSObject):
"""
`Pipeline <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-pipeline.html>`__
"""
resource_type = "AWS::SageMaker::Pipeline"
props: PropsDictType = {
"ParallelismConfiguration": (ParallelismConfiguration, False),
"PipelineDefinition": (PipelineDefinition, True),
"PipelineDescription": (str, False),
"PipelineDisplayName": (str, False),
"PipelineName": (str, True),
"RoleArn": (str, True),
"Tags": (Tags, False),
}
[docs]class AppSpecification(AWSProperty):
"""
`AppSpecification <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-appspecification.html>`__
"""
props: PropsDictType = {
"ContainerArguments": ([str], False),
"ContainerEntrypoint": ([str], False),
"ImageUri": (str, True),
}
[docs]class ExperimentConfig(AWSProperty):
"""
`ExperimentConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-experimentconfig.html>`__
"""
props: PropsDictType = {
"ExperimentName": (str, False),
"RunName": (str, False),
"TrialComponentDisplayName": (str, False),
"TrialName": (str, False),
}
[docs]class AthenaDatasetDefinition(AWSProperty):
"""
`AthenaDatasetDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-athenadatasetdefinition.html>`__
"""
props: PropsDictType = {
"Catalog": (str, True),
"Database": (str, True),
"KmsKeyId": (str, False),
"OutputCompression": (str, False),
"OutputFormat": (str, True),
"OutputS3Uri": (str, True),
"QueryString": (str, True),
"WorkGroup": (str, False),
}
[docs]class RedshiftDatasetDefinition(AWSProperty):
"""
`RedshiftDatasetDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-redshiftdatasetdefinition.html>`__
"""
props: PropsDictType = {
"ClusterId": (str, True),
"ClusterRoleArn": (str, True),
"Database": (str, True),
"DbUser": (str, True),
"KmsKeyId": (str, False),
"OutputCompression": (str, False),
"OutputFormat": (str, True),
"OutputS3Uri": (str, True),
"QueryString": (str, True),
}
[docs]class DatasetDefinition(AWSProperty):
"""
`DatasetDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-datasetdefinition.html>`__
"""
props: PropsDictType = {
"AthenaDatasetDefinition": (AthenaDatasetDefinition, False),
"DataDistributionType": (str, False),
"InputMode": (str, False),
"LocalPath": (str, False),
"RedshiftDatasetDefinition": (RedshiftDatasetDefinition, False),
}
[docs]class FeatureStoreOutput(AWSProperty):
"""
`FeatureStoreOutput <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-featurestoreoutput.html>`__
"""
props: PropsDictType = {
"FeatureGroupName": (str, True),
}
[docs]class ProcessingOutputsObject(AWSProperty):
"""
`ProcessingOutputsObject <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputsobject.html>`__
"""
props: PropsDictType = {
"AppManaged": (boolean, False),
"FeatureStoreOutput": (FeatureStoreOutput, False),
"OutputName": (str, True),
"S3Output": (S3Output, False),
}
[docs]class ProcessingOutputConfig(AWSProperty):
"""
`ProcessingOutputConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingoutputconfig.html>`__
"""
props: PropsDictType = {
"KmsKeyId": (str, False),
"Outputs": ([ProcessingOutputsObject], True),
}
[docs]class ProcessingResources(AWSProperty):
"""
`ProcessingResources <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-processingjob-processingresources.html>`__
"""
props: PropsDictType = {
"ClusterConfig": (ClusterConfig, True),
}
[docs]class ProcessingJob(AWSObject):
"""
`ProcessingJob <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-processingjob.html>`__
"""
resource_type = "AWS::SageMaker::ProcessingJob"
props: PropsDictType = {
"AppSpecification": (AppSpecification, True),
"Environment": (dict, False),
"ExperimentConfig": (ExperimentConfig, False),
"NetworkConfig": (NetworkConfig, False),
"ProcessingInputs": ([ProcessingInputsObject], False),
"ProcessingJobName": (str, False),
"ProcessingOutputConfig": (ProcessingOutputConfig, False),
"ProcessingResources": (ProcessingResources, True),
"RoleArn": (str, True),
"StoppingCondition": (StoppingCondition, False),
"Tags": (Tags, False),
}
[docs]class ServiceCatalogProvisionedProductDetails(AWSProperty):
"""
`ServiceCatalogProvisionedProductDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-project-servicecatalogprovisionedproductdetails.html>`__
"""
props: PropsDictType = {
"ProvisionedProductId": (str, False),
"ProvisionedProductStatusMessage": (str, False),
}
[docs]class ProvisioningParameter(AWSProperty):
"""
`ProvisioningParameter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-project-provisioningparameter.html>`__
"""
props: PropsDictType = {
"Key": (str, True),
"Value": (str, True),
}
[docs]class ServiceCatalogProvisioningDetails(AWSProperty):
"""
`ServiceCatalogProvisioningDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-project-servicecatalogprovisioningdetails.html>`__
"""
props: PropsDictType = {
"PathId": (str, False),
"ProductId": (str, True),
"ProvisioningArtifactId": (str, False),
"ProvisioningParameters": ([ProvisioningParameter], False),
}
[docs]class CfnStackParameter(AWSProperty):
"""
`CfnStackParameter <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-project-cfnstackparameter.html>`__
"""
props: PropsDictType = {
"Key": (str, True),
"Value": (str, True),
}
[docs]class CfnTemplateProviderDetail(AWSProperty):
"""
`CfnTemplateProviderDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-project-cfntemplateproviderdetail.html>`__
"""
props: PropsDictType = {
"Parameters": ([CfnStackParameter], False),
"RoleARN": (str, False),
"TemplateName": (str, True),
"TemplateURL": (str, True),
}
[docs]class TemplateProviderDetail(AWSProperty):
"""
`TemplateProviderDetail <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-project-templateproviderdetail.html>`__
"""
props: PropsDictType = {
"CfnTemplateProviderDetail": (CfnTemplateProviderDetail, True),
}
[docs]class Project(AWSObject):
"""
`Project <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-project.html>`__
"""
resource_type = "AWS::SageMaker::Project"
props: PropsDictType = {
"ProjectDescription": (str, False),
"ProjectName": (str, True),
"ServiceCatalogProvisionedProductDetails": (
ServiceCatalogProvisionedProductDetails,
False,
),
"ServiceCatalogProvisioningDetails": (ServiceCatalogProvisioningDetails, False),
"Tags": (Tags, False),
"TemplateProviderDetails": ([TemplateProviderDetail], False),
}
[docs]class OwnershipSettings(AWSProperty):
"""
`OwnershipSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ownershipsettings.html>`__
"""
props: PropsDictType = {
"OwnerUserProfileName": (str, True),
}
[docs]class EFSFileSystem(AWSProperty):
"""
`EFSFileSystem <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-efsfilesystem.html>`__
"""
props: PropsDictType = {
"FileSystemId": (str, True),
}
[docs]class FSxLustreFileSystem(AWSProperty):
"""
`FSxLustreFileSystem <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-fsxlustrefilesystem.html>`__
"""
props: PropsDictType = {
"FileSystemId": (str, True),
}
[docs]class S3FileSystem(AWSProperty):
"""
`S3FileSystem <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-s3filesystem.html>`__
"""
props: PropsDictType = {
"S3Uri": (str, False),
}
[docs]class CustomFileSystem(AWSProperty):
"""
`CustomFileSystem <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-customfilesystem.html>`__
"""
props: PropsDictType = {
"EFSFileSystem": (EFSFileSystem, False),
"FSxLustreFileSystem": (FSxLustreFileSystem, False),
"S3FileSystem": (S3FileSystem, False),
}
[docs]class SpaceIdleSettings(AWSProperty):
"""
`SpaceIdleSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spaceidlesettings.html>`__
"""
props: PropsDictType = {
"IdleTimeoutInMinutes": (integer, False),
}
[docs]class SpaceAppLifecycleManagement(AWSProperty):
"""
`SpaceAppLifecycleManagement <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spaceapplifecyclemanagement.html>`__
"""
props: PropsDictType = {
"IdleSettings": (SpaceIdleSettings, False),
}
[docs]class SpaceCodeEditorAppSettings(AWSProperty):
"""
`SpaceCodeEditorAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacecodeeditorappsettings.html>`__
"""
props: PropsDictType = {
"AppLifecycleManagement": (SpaceAppLifecycleManagement, False),
"DefaultResourceSpec": (ResourceSpec, False),
}
[docs]class SpaceJupyterLabAppSettings(AWSProperty):
"""
`SpaceJupyterLabAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacejupyterlabappsettings.html>`__
"""
props: PropsDictType = {
"AppLifecycleManagement": (SpaceAppLifecycleManagement, False),
"CodeRepositories": ([CodeRepositoryProperty], False),
"DefaultResourceSpec": (ResourceSpec, False),
}
[docs]class EbsStorageSettings(AWSProperty):
"""
`EbsStorageSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-ebsstoragesettings.html>`__
"""
props: PropsDictType = {
"EbsVolumeSizeInGb": (integer, True),
}
[docs]class SpaceStorageSettings(AWSProperty):
"""
`SpaceStorageSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacestoragesettings.html>`__
"""
props: PropsDictType = {
"EbsStorageSettings": (EbsStorageSettings, False),
}
[docs]class SpaceSettings(AWSProperty):
"""
`SpaceSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesettings.html>`__
"""
props: PropsDictType = {
"AppType": (str, False),
"CodeEditorAppSettings": (SpaceCodeEditorAppSettings, False),
"CustomFileSystems": ([CustomFileSystem], False),
"JupyterLabAppSettings": (SpaceJupyterLabAppSettings, False),
"JupyterServerAppSettings": (JupyterServerAppSettings, False),
"KernelGatewayAppSettings": (KernelGatewayAppSettings, False),
"RemoteAccess": (str, False),
"SpaceManagedResources": (str, False),
"SpaceStorageSettings": (SpaceStorageSettings, False),
}
[docs]class SpaceSharingSettings(AWSProperty):
"""
`SpaceSharingSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacesharingsettings.html>`__
"""
props: PropsDictType = {
"SharingType": (str, True),
}
[docs]class Space(AWSObject):
"""
`Space <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-space.html>`__
"""
resource_type = "AWS::SageMaker::Space"
props: PropsDictType = {
"DomainId": (str, True),
"OwnershipSettings": (OwnershipSettings, False),
"SpaceDisplayName": (str, False),
"SpaceName": (str, True),
"SpaceSettings": (SpaceSettings, False),
"SpaceSharingSettings": (SpaceSharingSettings, False),
"Tags": (Tags, False),
}
[docs]class StudioLifecycleConfig(AWSObject):
"""
`StudioLifecycleConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-studiolifecycleconfig.html>`__
"""
resource_type = "AWS::SageMaker::StudioLifecycleConfig"
props: PropsDictType = {
"StudioLifecycleConfigAppType": (str, True),
"StudioLifecycleConfigContent": (str, True),
"StudioLifecycleConfigName": (str, True),
"Tags": (Tags, False),
}
[docs]class UserProfile(AWSObject):
"""
`UserProfile <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-userprofile.html>`__
"""
resource_type = "AWS::SageMaker::UserProfile"
props: PropsDictType = {
"DomainId": (str, True),
"SingleSignOnUserIdentifier": (str, False),
"SingleSignOnUserValue": (str, False),
"Tags": (Tags, False),
"UserProfileName": (str, True),
"UserSettings": (UserSettings, False),
}
[docs]class CognitoMemberDefinition(AWSProperty):
"""
`CognitoMemberDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-cognitomemberdefinition.html>`__
"""
props: PropsDictType = {
"CognitoClientId": (str, True),
"CognitoUserGroup": (str, True),
"CognitoUserPool": (str, True),
}
[docs]class OidcMemberDefinition(AWSProperty):
"""
`OidcMemberDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-oidcmemberdefinition.html>`__
"""
props: PropsDictType = {
"OidcGroups": ([str], True),
}
[docs]class MemberDefinition(AWSProperty):
"""
`MemberDefinition <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-memberdefinition.html>`__
"""
props: PropsDictType = {
"CognitoMemberDefinition": (CognitoMemberDefinition, False),
"OidcMemberDefinition": (OidcMemberDefinition, False),
}
[docs]class NotificationConfiguration(AWSProperty):
"""
`NotificationConfiguration <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-workteam-notificationconfiguration.html>`__
"""
props: PropsDictType = {
"NotificationTopicArn": (str, True),
}
[docs]class Workteam(AWSObject):
"""
`Workteam <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-workteam.html>`__
"""
resource_type = "AWS::SageMaker::Workteam"
props: PropsDictType = {
"Description": (str, False),
"MemberDefinitions": ([MemberDefinition], False),
"NotificationConfiguration": (NotificationConfiguration, False),
"Tags": (Tags, False),
"WorkforceName": (str, False),
"WorkteamName": (str, False),
}
[docs]class AlarmDetails(AWSProperty):
"""
`AlarmDetails <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-alarmdetails.html>`__
"""
props: PropsDictType = {
"AlarmName": (str, True),
}
[docs]class CapacitySizeConfig(AWSProperty):
"""
`CapacitySizeConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-cluster-capacitysizeconfig.html>`__
"""
props: PropsDictType = {
"Type": (str, True),
"Value": (integer, True),
}
[docs]class Container(AWSProperty):
"""
`Container <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-modelcard-container.html>`__
"""
props: PropsDictType = {
"Image": (str, True),
"ModelDataUrl": (str, False),
"NearestModelName": (str, False),
}
[docs]class HubAccessConfig(AWSProperty):
"""
`HubAccessConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-hubaccessconfig.html>`__
"""
props: PropsDictType = {
"HubContentArn": (str, True),
}
[docs]class RSessionAppSettings(AWSProperty):
"""
`RSessionAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-rsessionappsettings.html>`__
"""
props: PropsDictType = {
"CustomImages": ([CustomImage], False),
"DefaultResourceSpec": (ResourceSpec, False),
}