SageMakerNotebookInstanceStateChange
- class aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerNotebookInstanceStateChange
Bases:
object(experimental) EventBridge event pattern for aws.sagemaker@SageMakerNotebookInstanceStateChange.
- 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_notebook_instance_state_change = sagemaker_events.SageMakerNotebookInstanceStateChange()
- Stability:
experimental
Static Methods
- classmethod sage_maker_notebook_instance_state_change_pattern(*, creation_time=None, event_metadata=None, instance_type=None, last_modified_time=None, notebook_instance_arn=None, notebook_instance_lifecycle_config_name=None, notebook_instance_name=None, notebook_instance_status=None, role_arn=None, tags=None)
(experimental) EventBridge event pattern for SageMaker Notebook Instance 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: - -instance_type (
Optional[Sequence[str]]) – (experimental) InstanceType property. Specify an array of string values to match this event if the actual value of InstanceType 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 fieldlast_modified_time (
Optional[Sequence[str]]) – (experimental) LastModifiedTime property. Specify an array of string values to match this event if the actual value of LastModifiedTime 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 fieldnotebook_instance_arn (
Optional[Sequence[str]]) – (experimental) NotebookInstanceArn property. Specify an array of string values to match this event if the actual value of NotebookInstanceArn 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 fieldnotebook_instance_lifecycle_config_name (
Optional[Sequence[str]]) – (experimental) NotebookInstanceLifecycleConfigName property. Specify an array of string values to match this event if the actual value of NotebookInstanceLifecycleConfigName 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 fieldnotebook_instance_name (
Optional[Sequence[str]]) – (experimental) NotebookInstanceName property. Specify an array of string values to match this event if the actual value of NotebookInstanceName 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 fieldnotebook_instance_status (
Optional[Sequence[str]]) – (experimental) NotebookInstanceStatus property. Specify an array of string values to match this event if the actual value of NotebookInstanceStatus 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 fieldrole_arn (
Optional[Sequence[str]]) – (experimental) RoleArn property. Specify an array of string values to match this event if the actual value of RoleArn 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:
SageMakerNotebookInstanceStateChangeProps
- class SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps(*, creation_time=None, event_metadata=None, instance_type=None, last_modified_time=None, notebook_instance_arn=None, notebook_instance_lifecycle_config_name=None, notebook_instance_name=None, notebook_instance_status=None, role_arn=None, tags=None)
Bases:
object(experimental) Props type for aws.sagemaker@SageMakerNotebookInstanceStateChange 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: - -instance_type (
Optional[Sequence[str]]) – (experimental) InstanceType property. Specify an array of string values to match this event if the actual value of InstanceType 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 fieldlast_modified_time (
Optional[Sequence[str]]) – (experimental) LastModifiedTime property. Specify an array of string values to match this event if the actual value of LastModifiedTime 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 fieldnotebook_instance_arn (
Optional[Sequence[str]]) – (experimental) NotebookInstanceArn property. Specify an array of string values to match this event if the actual value of NotebookInstanceArn 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 fieldnotebook_instance_lifecycle_config_name (
Optional[Sequence[str]]) – (experimental) NotebookInstanceLifecycleConfigName property. Specify an array of string values to match this event if the actual value of NotebookInstanceLifecycleConfigName 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 fieldnotebook_instance_name (
Optional[Sequence[str]]) – (experimental) NotebookInstanceName property. Specify an array of string values to match this event if the actual value of NotebookInstanceName 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 fieldnotebook_instance_status (
Optional[Sequence[str]]) – (experimental) NotebookInstanceStatus property. Specify an array of string values to match this event if the actual value of NotebookInstanceStatus 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 fieldrole_arn (
Optional[Sequence[str]]) – (experimental) RoleArn property. Specify an array of string values to match this event if the actual value of RoleArn 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_notebook_instance_state_change_props = sagemaker_events.SageMakerNotebookInstanceStateChange.SageMakerNotebookInstanceStateChangeProps( creation_time=["creationTime"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), instance_type=["instanceType"], last_modified_time=["lastModifiedTime"], notebook_instance_arn=["notebookInstanceArn"], notebook_instance_lifecycle_config_name=["notebookInstanceLifecycleConfigName"], notebook_instance_name=["notebookInstanceName"], notebook_instance_status=["notebookInstanceStatus"], role_arn=["roleArn"], tags=[sagemaker_events.SageMakerNotebookInstanceStateChange.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
- instance_type
(experimental) InstanceType property.
Specify an array of string values to match this event if the actual value of InstanceType 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
- last_modified_time
(experimental) LastModifiedTime property.
Specify an array of string values to match this event if the actual value of LastModifiedTime 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
- notebook_instance_arn
(experimental) NotebookInstanceArn property.
Specify an array of string values to match this event if the actual value of NotebookInstanceArn 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
- notebook_instance_lifecycle_config_name
(experimental) NotebookInstanceLifecycleConfigName property.
Specify an array of string values to match this event if the actual value of NotebookInstanceLifecycleConfigName 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
- notebook_instance_name
(experimental) NotebookInstanceName property.
Specify an array of string values to match this event if the actual value of NotebookInstanceName 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
- notebook_instance_status
(experimental) NotebookInstanceStatus property.
Specify an array of string values to match this event if the actual value of NotebookInstanceStatus 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
- role_arn
(experimental) RoleArn property.
Specify an array of string values to match this event if the actual value of RoleArn 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