SageMakerModelStateChange
- class aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerModelStateChange
Bases:
object(experimental) EventBridge event pattern for aws.sagemaker@SageMakerModelStateChange.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events sage_maker_model_state_change = sagemaker_events.SageMakerModelStateChange()
- Stability:
experimental
Static Methods
- classmethod sage_maker_model_state_change_pattern(*, creation_time=None, event_metadata=None, execution_role_arn=None, model_arn=None, model_name=None, primary_container=None, tags=None)
(experimental) EventBridge event pattern for SageMaker Model State Change.
- Parameters:
creation_time (
Optional[Sequence[str]]) – (experimental) CreationTime property. Specify an array of string values to match this event if the actual value of CreationTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -execution_role_arn (
Optional[Sequence[str]]) – (experimental) ExecutionRoleArn property. Specify an array of string values to match this event if the actual value of ExecutionRoleArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmodel_arn (
Optional[Sequence[str]]) – (experimental) ModelArn property. Specify an array of string values to match this event if the actual value of ModelArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmodel_name (
Optional[Sequence[str]]) – (experimental) ModelName property. Specify an array of string values to match this event if the actual value of ModelName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprimary_container (
Union[PrimaryContainer,Dict[str,Any],None]) – (experimental) PrimaryContainer property. Specify an array of string values to match this event if the actual value of PrimaryContainer is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtags (
Optional[Sequence[Union[Tags,Dict[str,Any]]]]) – (experimental) Tags property. Specify an array of string values to match this event if the actual value of Tags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
PrimaryContainer
- class SageMakerModelStateChange.PrimaryContainer(*, container_hostname=None, image=None, model_data_url=None)
Bases:
object(experimental) Type definition for PrimaryContainer.
- Parameters:
container_hostname (
Optional[Sequence[str]]) – (experimental) ContainerHostname property. Specify an array of string values to match this event if the actual value of ContainerHostname is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldimage (
Optional[Sequence[str]]) – (experimental) Image property. Specify an array of string values to match this event if the actual value of Image is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmodel_data_url (
Optional[Sequence[str]]) – (experimental) ModelDataUrl property. Specify an array of string values to match this event if the actual value of ModelDataUrl is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events primary_container = sagemaker_events.SageMakerModelStateChange.PrimaryContainer( container_hostname=["containerHostname"], image=["image"], model_data_url=["modelDataUrl"] )
Attributes
- container_hostname
(experimental) ContainerHostname property.
Specify an array of string values to match this event if the actual value of ContainerHostname is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- image
(experimental) Image property.
Specify an array of string values to match this event if the actual value of Image is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- model_data_url
(experimental) ModelDataUrl property.
Specify an array of string values to match this event if the actual value of ModelDataUrl is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
SageMakerModelStateChangeProps
- class SageMakerModelStateChange.SageMakerModelStateChangeProps(*, creation_time=None, event_metadata=None, execution_role_arn=None, model_arn=None, model_name=None, primary_container=None, tags=None)
Bases:
object(experimental) Props type for aws.sagemaker@SageMakerModelStateChange event.
- Parameters:
creation_time (
Optional[Sequence[str]]) – (experimental) CreationTime property. Specify an array of string values to match this event if the actual value of CreationTime is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldevent_metadata (
Union[AWSEventMetadataProps,Dict[str,Any],None]) – (experimental) EventBridge event metadata. Default: - -execution_role_arn (
Optional[Sequence[str]]) – (experimental) ExecutionRoleArn property. Specify an array of string values to match this event if the actual value of ExecutionRoleArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmodel_arn (
Optional[Sequence[str]]) – (experimental) ModelArn property. Specify an array of string values to match this event if the actual value of ModelArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmodel_name (
Optional[Sequence[str]]) – (experimental) ModelName property. Specify an array of string values to match this event if the actual value of ModelName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldprimary_container (
Union[PrimaryContainer,Dict[str,Any],None]) – (experimental) PrimaryContainer property. Specify an array of string values to match this event if the actual value of PrimaryContainer is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtags (
Optional[Sequence[Union[Tags,Dict[str,Any]]]]) – (experimental) Tags property. Specify an array of string values to match this event if the actual value of Tags is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import AWSEventMetadataProps # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events sage_maker_model_state_change_props = sagemaker_events.SageMakerModelStateChange.SageMakerModelStateChangeProps( creation_time=["creationTime"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), execution_role_arn=["executionRoleArn"], model_arn=["modelArn"], model_name=["modelName"], primary_container=sagemaker_events.SageMakerModelStateChange.PrimaryContainer( container_hostname=["containerHostname"], image=["image"], model_data_url=["modelDataUrl"] ), tags=[sagemaker_events.SageMakerModelStateChange.Tags( key=["key"], value=["value"] )] )
Attributes
- creation_time
(experimental) CreationTime property.
Specify an array of string values to match this event if the actual value of CreationTime is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- execution_role_arn
(experimental) ExecutionRoleArn property.
Specify an array of string values to match this event if the actual value of ExecutionRoleArn is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- model_arn
(experimental) ModelArn property.
Specify an array of string values to match this event if the actual value of ModelArn is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- model_name
(experimental) ModelName property.
Specify an array of string values to match this event if the actual value of ModelName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- primary_container
(experimental) PrimaryContainer property.
Specify an array of string values to match this event if the actual value of PrimaryContainer is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- tags
(experimental) Tags property.
Specify an array of string values to match this event if the actual value of Tags is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental