# Copyright (c) 2012-2024, 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),
"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),
"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 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-monitoringschedule-s3output.html>`__
"""
props: PropsDictType = {
"LocalPath": (str, True),
"S3UploadMode": (str, False),
"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-monitoringschedule-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 VpcConfig(AWSProperty):
"""
`VpcConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-vpcconfig.html>`__
"""
props: PropsDictType = {
"SecurityGroupIds": ([str], True),
"Subnets": ([str], True),
}
[docs]class NetworkConfig(AWSProperty):
"""
`NetworkConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedule-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-monitoringschedule-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 JupyterServerAppSettings(AWSProperty):
"""
`JupyterServerAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterserverappsettings.html>`__
"""
props: PropsDictType = {
"DefaultResourceSpec": (ResourceSpec, False),
}
[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 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),
}
[docs]class DefaultSpaceSettings(AWSProperty):
"""
`DefaultSpaceSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-defaultspacesettings.html>`__
"""
props: PropsDictType = {
"ExecutionRole": (str, True),
"JupyterServerAppSettings": (JupyterServerAppSettings, False),
"KernelGatewayAppSettings": (KernelGatewayAppSettings, False),
"SecurityGroups": ([str], 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 DomainSettings(AWSProperty):
"""
`DomainSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-domain-domainsettings.html>`__
"""
props: PropsDictType = {
"DockerSettings": (DockerSettings, False),
"RStudioServerProDomainSettings": (RStudioServerProDomainSettings, False),
"SecurityGroupIds": ([str], False),
}
[docs]class CodeEditorAppSettings(AWSProperty):
"""
`CodeEditorAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-codeeditorappsettings.html>`__
"""
props: PropsDictType = {
"CustomImages": ([CustomImage], False),
"DefaultResourceSpec": (ResourceSpec, False),
"LifecycleConfigArns": ([str], 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 CustomFileSystemConfig(AWSProperty):
"""
`CustomFileSystemConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-customfilesystemconfig.html>`__
"""
props: PropsDictType = {
"EFSFileSystemConfig": (EFSFileSystemConfig, 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 CodeRepositoryProperty(AWSProperty):
"""
`CodeRepositoryProperty <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-coderepository.html>`__
"""
props: PropsDictType = {
"RepositoryUrl": (str, True),
}
[docs]class JupyterLabAppSettings(AWSProperty):
"""
`JupyterLabAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-jupyterlabappsettings.html>`__
"""
props: PropsDictType = {
"CodeRepositories": ([CodeRepositoryProperty], 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 UserSettings(AWSProperty):
"""
`UserSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-userprofile-usersettings.html>`__
"""
props: PropsDictType = {
"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),
}
[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], True),
"Tags": (Tags, False),
"VpcId": (str, True),
}
[docs]class Alarm(AWSProperty):
"""
`Alarm <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-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 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 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 = {
"AcceleratorType": (str, False),
"ContainerStartupHealthCheckTimeoutInSeconds": (integer, False),
"EnableSSMAccess": (boolean, False),
"InitialInstanceCount": (integer, False),
"InitialVariantWeight": (double, False),
"InstanceType": (str, False),
"ManagedInstanceScaling": (ManagedInstanceScaling, False),
"ModelDataDownloadTimeoutInSeconds": (integer, False),
"ModelName": (str, False),
"RoutingConfig": (RoutingConfig, False),
"ServerlessConfig": (ServerlessConfig, 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 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 = {
"ComputeResourceRequirements": (
InferenceComponentComputeResourceRequirements,
True,
),
"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 = {
"EndpointArn": (str, False),
"EndpointName": (str, True),
"InferenceComponentName": (str, False),
"RuntimeConfig": (InferenceComponentRuntimeConfig, True),
"Specification": (InferenceComponentSpecification, True),
"Tags": (Tags, False),
"VariantName": (str, True),
}
[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 RepositoryAuthConfig(AWSProperty):
"""
`RepositoryAuthConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-imageconfig-repositoryauthconfig.html>`__
"""
props: PropsDictType = {
"RepositoryCredentialsProviderArn": (str, True),
}
[docs]class ImageConfig(AWSProperty):
"""
`ImageConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-imageconfig.html>`__
"""
props: PropsDictType = {
"RepositoryAccessMode": (str, True),
"RepositoryAuthConfig": (RepositoryAuthConfig, False),
}
[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 ModelDataSource(AWSProperty):
"""
`ModelDataSource <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-modeldatasource.html>`__
"""
props: PropsDictType = {
"S3DataSource": (S3DataSource, True),
}
[docs]class MultiModelConfig(AWSProperty):
"""
`MultiModelConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-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),
"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-modelcard-securityconfig.html>`__
"""
props: PropsDictType = {
"KmsKeyId": (str, False),
}
[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 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 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),
"LastModifiedTime": (str, False),
"MetadataProperties": (MetadataProperties, False),
"ModelApprovalStatus": (str, False),
"ModelMetrics": (ModelMetrics, False),
"ModelPackageDescription": (str, False),
"ModelPackageGroupName": (str, False),
"ModelPackageName": (str, False),
"ModelPackageStatusDetails": (ModelPackageStatusDetails, False),
"ModelPackageVersion": (integer, False),
"SamplePayloadUrl": (str, False),
"SkipModelValidation": (str, False),
"SourceAlgorithmSpecification": (SourceAlgorithmSpecification, 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 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 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 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, True),
"Tags": (Tags, 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 CustomFileSystem(AWSProperty):
"""
`CustomFileSystem <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-customfilesystem.html>`__
"""
props: PropsDictType = {
"EFSFileSystem": (EFSFileSystem, False),
}
[docs]class SpaceCodeEditorAppSettings(AWSProperty):
"""
`SpaceCodeEditorAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacecodeeditorappsettings.html>`__
"""
props: PropsDictType = {
"DefaultResourceSpec": (ResourceSpec, False),
}
[docs]class SpaceJupyterLabAppSettings(AWSProperty):
"""
`SpaceJupyterLabAppSettings <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-spacejupyterlabappsettings.html>`__
"""
props: PropsDictType = {
"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),
"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 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 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 ModelAccessConfig(AWSProperty):
"""
`ModelAccessConfig <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-model-containerdefinition-modeldatasource-s3datasource-modelaccessconfig.html>`__
"""
props: PropsDictType = {
"AcceptEula": (boolean, 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),
}