ModelEvents

class aws_cdk.mixins_preview.aws_sagemaker.events.ModelEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for Model.

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
from aws_cdk.interfaces import aws_sagemaker as interfaces_aws_sagemaker

# model_ref: interfaces_aws_sagemaker.IModelRef

model_events = sagemaker_events.ModelEvents.from_model(model_ref)

Methods

aws_api_call_via_cloud_trail_pattern(*, aws_region=None, error_code=None, error_message=None, event_id=None, event_metadata=None, event_name=None, event_source=None, event_time=None, event_type=None, event_version=None, request_id=None, request_parameters=None, response_elements=None, source_ip_address=None, user_agent=None, user_identity=None)

(experimental) EventBridge event pattern for Model AWS API Call via CloudTrail.

Parameters:
  • aws_region (Optional[Sequence[str]]) – (experimental) awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • error_code (Optional[Sequence[str]]) – (experimental) errorCode property. Specify an array of string values to match this event if the actual value of errorCode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • error_message (Optional[Sequence[str]]) – (experimental) errorMessage property. Specify an array of string values to match this event if the actual value of errorMessage is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_id (Optional[Sequence[str]]) – (experimental) eventID property. Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • event_name (Optional[Sequence[str]]) – (experimental) eventName property. Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_source (Optional[Sequence[str]]) – (experimental) eventSource property. Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_time (Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_type (Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_version (Optional[Sequence[str]]) – (experimental) eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • request_id (Optional[Sequence[str]]) – (experimental) requestID property. Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • request_parameters (Union[RequestParameters, Dict[str, Any], None]) – (experimental) requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • response_elements (Union[ResponseElements, Dict[str, Any], None]) – (experimental) responseElements property. Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_ip_address (Optional[Sequence[str]]) – (experimental) sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_agent (Optional[Sequence[str]]) – (experimental) userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_identity (Union[UserIdentity, Dict[str, Any], None]) – (experimental) userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

sage_maker_transform_job_state_change_pattern(*, creation_time=None, event_metadata=None, model_name=None, tags=None, transform_end_time=None, transform_input=None, transform_job_arn=None, transform_job_name=None, transform_job_status=None, transform_output=None, transform_resources=None, transform_start_time=None)

(experimental) EventBridge event pattern for Model SageMaker Transform Job 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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • model_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Model reference

  • tags (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_end_time (Optional[Sequence[str]]) – (experimental) TransformEndTime property. Specify an array of string values to match this event if the actual value of TransformEndTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_input (Union[TransformInput, Dict[str, Any], None]) – (experimental) TransformInput property. Specify an array of string values to match this event if the actual value of TransformInput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_job_arn (Optional[Sequence[str]]) – (experimental) TransformJobArn property. Specify an array of string values to match this event if the actual value of TransformJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_job_name (Optional[Sequence[str]]) – (experimental) TransformJobName property. Specify an array of string values to match this event if the actual value of TransformJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_job_status (Optional[Sequence[str]]) – (experimental) TransformJobStatus property. Specify an array of string values to match this event if the actual value of TransformJobStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_output (Union[TransformOutput, Dict[str, Any], None]) – (experimental) TransformOutput property. Specify an array of string values to match this event if the actual value of TransformOutput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_resources (Union[TransformResources, Dict[str, Any], None]) – (experimental) TransformResources property. Specify an array of string values to match this event if the actual value of TransformResources is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_start_time (Optional[Sequence[str]]) – (experimental) TransformStartTime property. Specify an array of string values to match this event if the actual value of TransformStartTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

Static Methods

classmethod from_model(model_ref)

(experimental) Create ModelEvents from a Model reference.

Parameters:

model_ref (IModelRef)

Stability:

experimental

Return type:

ModelEvents

AWSAPICallViaCloudTrail

class ModelEvents.AWSAPICallViaCloudTrail

Bases: object

(experimental) aws.sagemaker@AWSAPICallViaCloudTrail event types for Model.

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

a_wSAPICall_via_cloud_trail = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail()
Stability:

experimental

AWSAPICallViaCloudTrailProps

class ModelEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(*, aws_region=None, error_code=None, error_message=None, event_id=None, event_metadata=None, event_name=None, event_source=None, event_time=None, event_type=None, event_version=None, request_id=None, request_parameters=None, response_elements=None, source_ip_address=None, user_agent=None, user_identity=None)

Bases: object

(experimental) Props type for Model aws.sagemaker@AWSAPICallViaCloudTrail event.

Parameters:
  • aws_region (Optional[Sequence[str]]) – (experimental) awsRegion property. Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • error_code (Optional[Sequence[str]]) – (experimental) errorCode property. Specify an array of string values to match this event if the actual value of errorCode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • error_message (Optional[Sequence[str]]) – (experimental) errorMessage property. Specify an array of string values to match this event if the actual value of errorMessage is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_id (Optional[Sequence[str]]) – (experimental) eventID property. Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • event_name (Optional[Sequence[str]]) – (experimental) eventName property. Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_source (Optional[Sequence[str]]) – (experimental) eventSource property. Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_time (Optional[Sequence[str]]) – (experimental) eventTime property. Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_type (Optional[Sequence[str]]) – (experimental) eventType property. Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_version (Optional[Sequence[str]]) – (experimental) eventVersion property. Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • request_id (Optional[Sequence[str]]) – (experimental) requestID property. Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • request_parameters (Union[RequestParameters, Dict[str, Any], None]) – (experimental) requestParameters property. Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • response_elements (Union[ResponseElements, Dict[str, Any], None]) – (experimental) responseElements property. Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • source_ip_address (Optional[Sequence[str]]) – (experimental) sourceIPAddress property. Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_agent (Optional[Sequence[str]]) – (experimental) userAgent property. Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_identity (Union[UserIdentity, Dict[str, Any], None]) – (experimental) userIdentity property. Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

# tags: Any

a_wSAPICall_via_cloud_trail_props = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.AWSAPICallViaCloudTrailProps(
    aws_region=["awsRegion"],
    error_code=["errorCode"],
    error_message=["errorMessage"],
    event_id=["eventId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    event_name=["eventName"],
    event_source=["eventSource"],
    event_time=["eventTime"],
    event_type=["eventType"],
    event_version=["eventVersion"],
    request_id=["requestId"],
    request_parameters=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.RequestParameters(
        algorithm_specification=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.AlgorithmSpecification(
            training_image=["trainingImage"],
            training_input_mode=["trainingInputMode"]
        ),
        enable_inter_container_traffic_encryption=["enableInterContainerTrafficEncryption"],
        enable_managed_spot_training=["enableManagedSpotTraining"],
        enable_network_isolation=["enableNetworkIsolation"],
        endpoint_config_name=["endpointConfigName"],
        endpoint_name=["endpointName"],
        execution_role_arn=["executionRoleArn"],
        hyper_parameters=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.HyperParameters(
            eval_metric=["evalMetric"],
            num_round=["numRound"],
            objective=["objective"]
        ),
        input_data_config=[sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem2(
            channel_name=["channelName"],
            content_type=["contentType"],
            data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.DataSource1(
                s3_data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource1(
                    s3_data_distribution_type=["s3DataDistributionType"],
                    s3_data_type=["s3DataType"],
                    s3_uri=["s3Uri"]
                )
            )
        )],
        model_name=["modelName"],
        output_data_config=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.OutputDataConfig(
            remove_job_name_from_s3_output_path=["removeJobNameFromS3OutputPath"],
            s3_output_path=["s3OutputPath"]
        ),
        primary_container=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.PrimaryContainer(
            container_hostname=["containerHostname"],
            image=["image"],
            model_data_url=["modelDataUrl"]
        ),
        production_variants=[sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem(
            initial_instance_count=["initialInstanceCount"],
            initial_variant_weight=["initialVariantWeight"],
            instance_type=["instanceType"],
            model_name=["modelName"],
            variant_name=["variantName"]
        )],
        resource_config=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.ResourceConfig(
            instance_count=["instanceCount"],
            instance_type=["instanceType"],
            volume_size_in_gb=["volumeSizeInGb"]
        ),
        role_arn=["roleArn"],
        stopping_condition=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.StoppingCondition(
            max_runtime_in_seconds=["maxRuntimeInSeconds"]
        ),
        tags=[tags],
        training_job_name=["trainingJobName"],
        transform_input=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.TransformInput(
            compression_type=["compressionType"],
            content_type=["contentType"],
            data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.DataSource(
                s3_data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource(
                    s3_data_type=["s3DataType"],
                    s3_uri=["s3Uri"]
                )
            )
        ),
        transform_job_name=["transformJobName"],
        transform_output=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.TransformOutput(
            s3_output_path=["s3OutputPath"]
        ),
        transform_resources=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.TransformResources(
            instance_count=["instanceCount"],
            instance_type=["instanceType"]
        )
    ),
    response_elements=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.ResponseElements(
        endpoint_config_arn=["endpointConfigArn"],
        model_arn=["modelArn"],
        training_job_arn=["trainingJobArn"],
        transform_job_arn=["transformJobArn"]
    ),
    source_ip_address=["sourceIpAddress"],
    user_agent=["userAgent"],
    user_identity=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.UserIdentity(
        access_key_id=["accessKeyId"],
        account_id=["accountId"],
        arn=["arn"],
        invoked_by=["invokedBy"],
        principal_id=["principalId"],
        session_context=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.SessionContext(
            attributes=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.Attributes(
                creation_date=["creationDate"],
                mfa_authenticated=["mfaAuthenticated"]
            ),
            session_issuer=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.SessionIssuer(
                account_id=["accountId"],
                arn=["arn"],
                principal_id=["principalId"],
                type=["type"],
                user_name=["userName"]
            ),
            web_id_federation_data=["webIdFederationData"]
        ),
        type=["type"]
    )
)

Attributes

aws_region

(experimental) awsRegion property.

Specify an array of string values to match this event if the actual value of awsRegion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

error_code

(experimental) errorCode property.

Specify an array of string values to match this event if the actual value of errorCode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

error_message

(experimental) errorMessage property.

Specify an array of string values to match this event if the actual value of errorMessage is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_id

(experimental) eventID property.

Specify an array of string values to match this event if the actual value of eventID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

event_name

(experimental) eventName property.

Specify an array of string values to match this event if the actual value of eventName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_source

(experimental) eventSource property.

Specify an array of string values to match this event if the actual value of eventSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_time

(experimental) eventTime property.

Specify an array of string values to match this event if the actual value of eventTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_type

(experimental) eventType property.

Specify an array of string values to match this event if the actual value of eventType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_version

(experimental) eventVersion property.

Specify an array of string values to match this event if the actual value of eventVersion is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

request_id

(experimental) requestID property.

Specify an array of string values to match this event if the actual value of requestID is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

request_parameters

(experimental) requestParameters property.

Specify an array of string values to match this event if the actual value of requestParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

response_elements

(experimental) responseElements property.

Specify an array of string values to match this event if the actual value of responseElements is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

source_ip_address

(experimental) sourceIPAddress property.

Specify an array of string values to match this event if the actual value of sourceIPAddress is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

user_agent

(experimental) userAgent property.

Specify an array of string values to match this event if the actual value of userAgent is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

user_identity

(experimental) userIdentity property.

Specify an array of string values to match this event if the actual value of userIdentity is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

AlgorithmSpecification

class ModelEvents.AWSAPICallViaCloudTrail.AlgorithmSpecification(*, training_image=None, training_input_mode=None)

Bases: object

(experimental) Type definition for AlgorithmSpecification.

Parameters:
  • training_image (Optional[Sequence[str]]) – (experimental) trainingImage property. Specify an array of string values to match this event if the actual value of trainingImage is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_input_mode (Optional[Sequence[str]]) – (experimental) trainingInputMode property. Specify an array of string values to match this event if the actual value of trainingInputMode is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

algorithm_specification = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.AlgorithmSpecification(
    training_image=["trainingImage"],
    training_input_mode=["trainingInputMode"]
)

Attributes

training_image

(experimental) trainingImage property.

Specify an array of string values to match this event if the actual value of trainingImage is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

training_input_mode

(experimental) trainingInputMode property.

Specify an array of string values to match this event if the actual value of trainingInputMode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Attributes

class ModelEvents.AWSAPICallViaCloudTrail.Attributes(*, creation_date=None, mfa_authenticated=None)

Bases: object

(experimental) Type definition for Attributes.

Parameters:
  • creation_date (Optional[Sequence[str]]) – (experimental) creationDate property. Specify an array of string values to match this event if the actual value of creationDate is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • mfa_authenticated (Optional[Sequence[str]]) – (experimental) mfaAuthenticated property. Specify an array of string values to match this event if the actual value of mfaAuthenticated is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

attributes = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.Attributes(
    creation_date=["creationDate"],
    mfa_authenticated=["mfaAuthenticated"]
)

Attributes

creation_date

(experimental) creationDate property.

Specify an array of string values to match this event if the actual value of creationDate is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

mfa_authenticated

(experimental) mfaAuthenticated property.

Specify an array of string values to match this event if the actual value of mfaAuthenticated is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

DataSource

class ModelEvents.AWSAPICallViaCloudTrail.DataSource(*, s3_data_source=None)

Bases: object

(experimental) Type definition for DataSource.

Parameters:

s3_data_source (Union[S3DataSource, Dict[str, Any], None]) – (experimental) s3DataSource property. Specify an array of string values to match this event if the actual value of s3DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

data_source = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.DataSource(
    s3_data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource(
        s3_data_type=["s3DataType"],
        s3_uri=["s3Uri"]
    )
)

Attributes

s3_data_source

(experimental) s3DataSource property.

Specify an array of string values to match this event if the actual value of s3DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

DataSource1

class ModelEvents.AWSAPICallViaCloudTrail.DataSource1(*, s3_data_source=None)

Bases: object

(experimental) Type definition for DataSource_1.

Parameters:

s3_data_source (Union[S3DataSource1, Dict[str, Any], None]) – (experimental) s3DataSource property. Specify an array of string values to match this event if the actual value of s3DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

data_source1 = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.DataSource1(
    s3_data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource1(
        s3_data_distribution_type=["s3DataDistributionType"],
        s3_data_type=["s3DataType"],
        s3_uri=["s3Uri"]
    )
)

Attributes

s3_data_source

(experimental) s3DataSource property.

Specify an array of string values to match this event if the actual value of s3DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

HyperParameters

class ModelEvents.AWSAPICallViaCloudTrail.HyperParameters(*, eval_metric=None, num_round=None, objective=None)

Bases: object

(experimental) Type definition for HyperParameters.

Parameters:
  • eval_metric (Optional[Sequence[str]]) – (experimental) eval_metric property. Specify an array of string values to match this event if the actual value of eval_metric is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • num_round (Optional[Sequence[str]]) – (experimental) num_round property. Specify an array of string values to match this event if the actual value of num_round is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • objective (Optional[Sequence[str]]) – (experimental) objective property. Specify an array of string values to match this event if the actual value of objective is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

hyper_parameters = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.HyperParameters(
    eval_metric=["evalMetric"],
    num_round=["numRound"],
    objective=["objective"]
)

Attributes

eval_metric

(experimental) eval_metric property.

Specify an array of string values to match this event if the actual value of eval_metric is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

num_round

(experimental) num_round property.

Specify an array of string values to match this event if the actual value of num_round is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

objective

(experimental) objective property.

Specify an array of string values to match this event if the actual value of objective is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

OutputDataConfig

class ModelEvents.AWSAPICallViaCloudTrail.OutputDataConfig(*, remove_job_name_from_s3_output_path=None, s3_output_path=None)

Bases: object

(experimental) Type definition for OutputDataConfig.

Parameters:
  • remove_job_name_from_s3_output_path (Optional[Sequence[str]]) – (experimental) removeJobNameFromS3OutputPath property. Specify an array of string values to match this event if the actual value of removeJobNameFromS3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_output_path (Optional[Sequence[str]]) – (experimental) s3OutputPath property. Specify an array of string values to match this event if the actual value of s3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

output_data_config = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.OutputDataConfig(
    remove_job_name_from_s3_output_path=["removeJobNameFromS3OutputPath"],
    s3_output_path=["s3OutputPath"]
)

Attributes

remove_job_name_from_s3_output_path

(experimental) removeJobNameFromS3OutputPath property.

Specify an array of string values to match this event if the actual value of removeJobNameFromS3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_output_path

(experimental) s3OutputPath property.

Specify an array of string values to match this event if the actual value of s3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

PrimaryContainer

class ModelEvents.AWSAPICallViaCloudTrail.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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • image (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • model_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 the aws_events.Match for 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.ModelEvents.AWSAPICallViaCloudTrail.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.Match for 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.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

RequestParameters

class ModelEvents.AWSAPICallViaCloudTrail.RequestParameters(*, algorithm_specification=None, enable_inter_container_traffic_encryption=None, enable_managed_spot_training=None, enable_network_isolation=None, endpoint_config_name=None, endpoint_name=None, execution_role_arn=None, hyper_parameters=None, input_data_config=None, model_name=None, output_data_config=None, primary_container=None, production_variants=None, resource_config=None, role_arn=None, stopping_condition=None, tags=None, training_job_name=None, transform_input=None, transform_job_name=None, transform_output=None, transform_resources=None)

Bases: object

(experimental) Type definition for RequestParameters.

Parameters:
  • algorithm_specification (Union[AlgorithmSpecification, Dict[str, Any], None]) – (experimental) algorithmSpecification property. Specify an array of string values to match this event if the actual value of algorithmSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • enable_inter_container_traffic_encryption (Optional[Sequence[str]]) – (experimental) enableInterContainerTrafficEncryption property. Specify an array of string values to match this event if the actual value of enableInterContainerTrafficEncryption is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • enable_managed_spot_training (Optional[Sequence[str]]) – (experimental) enableManagedSpotTraining property. Specify an array of string values to match this event if the actual value of enableManagedSpotTraining is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • enable_network_isolation (Optional[Sequence[str]]) – (experimental) enableNetworkIsolation property. Specify an array of string values to match this event if the actual value of enableNetworkIsolation is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • endpoint_config_name (Optional[Sequence[str]]) – (experimental) endpointConfigName property. Specify an array of string values to match this event if the actual value of endpointConfigName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • endpoint_name (Optional[Sequence[str]]) – (experimental) endpointName property. Specify an array of string values to match this event if the actual value of endpointName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • 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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • hyper_parameters (Union[HyperParameters, Dict[str, Any], None]) – (experimental) hyperParameters property. Specify an array of string values to match this event if the actual value of hyperParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • input_data_config (Optional[Sequence[Union[RequestParametersItem2, Dict[str, Any]]]]) – (experimental) inputDataConfig property. Specify an array of string values to match this event if the actual value of inputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • model_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • output_data_config (Union[OutputDataConfig, Dict[str, Any], None]) – (experimental) outputDataConfig property. Specify an array of string values to match this event if the actual value of outputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • primary_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • production_variants (Optional[Sequence[Union[RequestParametersItem, Dict[str, Any]]]]) – (experimental) productionVariants property. Specify an array of string values to match this event if the actual value of productionVariants is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • resource_config (Union[ResourceConfig, Dict[str, Any], None]) – (experimental) resourceConfig property. Specify an array of string values to match this event if the actual value of resourceConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • role_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • stopping_condition (Union[StoppingCondition, Dict[str, Any], None]) – (experimental) stoppingCondition property. Specify an array of string values to match this event if the actual value of stoppingCondition is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • tags (Optional[Sequence[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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_job_name (Optional[Sequence[str]]) – (experimental) trainingJobName property. Specify an array of string values to match this event if the actual value of trainingJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_input (Union[TransformInput, Dict[str, Any], None]) – (experimental) transformInput property. Specify an array of string values to match this event if the actual value of transformInput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_job_name (Optional[Sequence[str]]) – (experimental) transformJobName property. Specify an array of string values to match this event if the actual value of transformJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_output (Union[TransformOutput, Dict[str, Any], None]) – (experimental) transformOutput property. Specify an array of string values to match this event if the actual value of transformOutput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_resources (Union[TransformResources, Dict[str, Any], None]) – (experimental) transformResources property. Specify an array of string values to match this event if the actual value of transformResources is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

# tags: Any

request_parameters = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.RequestParameters(
    algorithm_specification=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.AlgorithmSpecification(
        training_image=["trainingImage"],
        training_input_mode=["trainingInputMode"]
    ),
    enable_inter_container_traffic_encryption=["enableInterContainerTrafficEncryption"],
    enable_managed_spot_training=["enableManagedSpotTraining"],
    enable_network_isolation=["enableNetworkIsolation"],
    endpoint_config_name=["endpointConfigName"],
    endpoint_name=["endpointName"],
    execution_role_arn=["executionRoleArn"],
    hyper_parameters=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.HyperParameters(
        eval_metric=["evalMetric"],
        num_round=["numRound"],
        objective=["objective"]
    ),
    input_data_config=[sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem2(
        channel_name=["channelName"],
        content_type=["contentType"],
        data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.DataSource1(
            s3_data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource1(
                s3_data_distribution_type=["s3DataDistributionType"],
                s3_data_type=["s3DataType"],
                s3_uri=["s3Uri"]
            )
        )
    )],
    model_name=["modelName"],
    output_data_config=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.OutputDataConfig(
        remove_job_name_from_s3_output_path=["removeJobNameFromS3OutputPath"],
        s3_output_path=["s3OutputPath"]
    ),
    primary_container=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.PrimaryContainer(
        container_hostname=["containerHostname"],
        image=["image"],
        model_data_url=["modelDataUrl"]
    ),
    production_variants=[sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem(
        initial_instance_count=["initialInstanceCount"],
        initial_variant_weight=["initialVariantWeight"],
        instance_type=["instanceType"],
        model_name=["modelName"],
        variant_name=["variantName"]
    )],
    resource_config=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.ResourceConfig(
        instance_count=["instanceCount"],
        instance_type=["instanceType"],
        volume_size_in_gb=["volumeSizeInGb"]
    ),
    role_arn=["roleArn"],
    stopping_condition=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.StoppingCondition(
        max_runtime_in_seconds=["maxRuntimeInSeconds"]
    ),
    tags=[tags],
    training_job_name=["trainingJobName"],
    transform_input=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.TransformInput(
        compression_type=["compressionType"],
        content_type=["contentType"],
        data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.DataSource(
            s3_data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource(
                s3_data_type=["s3DataType"],
                s3_uri=["s3Uri"]
            )
        )
    ),
    transform_job_name=["transformJobName"],
    transform_output=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.TransformOutput(
        s3_output_path=["s3OutputPath"]
    ),
    transform_resources=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.TransformResources(
        instance_count=["instanceCount"],
        instance_type=["instanceType"]
    )
)

Attributes

algorithm_specification

(experimental) algorithmSpecification property.

Specify an array of string values to match this event if the actual value of algorithmSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

enable_inter_container_traffic_encryption

(experimental) enableInterContainerTrafficEncryption property.

Specify an array of string values to match this event if the actual value of enableInterContainerTrafficEncryption is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

enable_managed_spot_training

(experimental) enableManagedSpotTraining property.

Specify an array of string values to match this event if the actual value of enableManagedSpotTraining is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

enable_network_isolation

(experimental) enableNetworkIsolation property.

Specify an array of string values to match this event if the actual value of enableNetworkIsolation is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

endpoint_config_name

(experimental) endpointConfigName property.

Specify an array of string values to match this event if the actual value of endpointConfigName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

endpoint_name

(experimental) endpointName property.

Specify an array of string values to match this event if the actual value of endpointName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

hyper_parameters

(experimental) hyperParameters property.

Specify an array of string values to match this event if the actual value of hyperParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

input_data_config

(experimental) inputDataConfig property.

Specify an array of string values to match this event if the actual value of inputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

output_data_config

(experimental) outputDataConfig property.

Specify an array of string values to match this event if the actual value of outputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

production_variants

(experimental) productionVariants property.

Specify an array of string values to match this event if the actual value of productionVariants is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

resource_config

(experimental) resourceConfig property.

Specify an array of string values to match this event if the actual value of resourceConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

stopping_condition

(experimental) stoppingCondition property.

Specify an array of string values to match this event if the actual value of stoppingCondition is one of the values in the array. Use one of the constructors on the aws_events.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

training_job_name

(experimental) trainingJobName property.

Specify an array of string values to match this event if the actual value of trainingJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_input

(experimental) transformInput property.

Specify an array of string values to match this event if the actual value of transformInput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_job_name

(experimental) transformJobName property.

Specify an array of string values to match this event if the actual value of transformJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_output

(experimental) transformOutput property.

Specify an array of string values to match this event if the actual value of transformOutput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_resources

(experimental) transformResources property.

Specify an array of string values to match this event if the actual value of transformResources is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

RequestParametersItem

class ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem(*, initial_instance_count=None, initial_variant_weight=None, instance_type=None, model_name=None, variant_name=None)

Bases: object

(experimental) Type definition for RequestParametersItem.

Parameters:
  • initial_instance_count (Optional[Sequence[str]]) – (experimental) initialInstanceCount property. Specify an array of string values to match this event if the actual value of initialInstanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • initial_variant_weight (Optional[Sequence[str]]) – (experimental) initialVariantWeight property. Specify an array of string values to match this event if the actual value of initialVariantWeight is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • 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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • model_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Model reference

  • variant_name (Optional[Sequence[str]]) – (experimental) variantName property. Specify an array of string values to match this event if the actual value of variantName is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

request_parameters_item = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem(
    initial_instance_count=["initialInstanceCount"],
    initial_variant_weight=["initialVariantWeight"],
    instance_type=["instanceType"],
    model_name=["modelName"],
    variant_name=["variantName"]
)

Attributes

initial_instance_count

(experimental) initialInstanceCount property.

Specify an array of string values to match this event if the actual value of initialInstanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

initial_variant_weight

(experimental) initialVariantWeight property.

Specify an array of string values to match this event if the actual value of initialVariantWeight is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

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.Match for 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.Match for more advanced matching options.

Default:
  • Filter with the Model reference

Stability:

experimental

variant_name

(experimental) variantName property.

Specify an array of string values to match this event if the actual value of variantName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

RequestParametersItem2

class ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem2(*, channel_name=None, content_type=None, data_source=None)

Bases: object

(experimental) Type definition for RequestParametersItem_2.

Parameters:
  • channel_name (Optional[Sequence[str]]) – (experimental) channelName property. Specify an array of string values to match this event if the actual value of channelName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • content_type (Optional[Sequence[str]]) – (experimental) contentType property. Specify an array of string values to match this event if the actual value of contentType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • data_source (Union[DataSource1, Dict[str, Any], None]) – (experimental) dataSource property. Specify an array of string values to match this event if the actual value of dataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

request_parameters_item2 = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.RequestParametersItem2(
    channel_name=["channelName"],
    content_type=["contentType"],
    data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.DataSource1(
        s3_data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource1(
            s3_data_distribution_type=["s3DataDistributionType"],
            s3_data_type=["s3DataType"],
            s3_uri=["s3Uri"]
        )
    )
)

Attributes

channel_name

(experimental) channelName property.

Specify an array of string values to match this event if the actual value of channelName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

content_type

(experimental) contentType property.

Specify an array of string values to match this event if the actual value of contentType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

data_source

(experimental) dataSource property.

Specify an array of string values to match this event if the actual value of dataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ResourceConfig

class ModelEvents.AWSAPICallViaCloudTrail.ResourceConfig(*, instance_count=None, instance_type=None, volume_size_in_gb=None)

Bases: object

(experimental) Type definition for ResourceConfig.

Parameters:
  • instance_count (Optional[Sequence[str]]) – (experimental) instanceCount property. Specify an array of string values to match this event if the actual value of instanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • 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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • volume_size_in_gb (Optional[Sequence[str]]) – (experimental) volumeSizeInGB property. Specify an array of string values to match this event if the actual value of volumeSizeInGB is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

resource_config = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.ResourceConfig(
    instance_count=["instanceCount"],
    instance_type=["instanceType"],
    volume_size_in_gb=["volumeSizeInGb"]
)

Attributes

instance_count

(experimental) instanceCount property.

Specify an array of string values to match this event if the actual value of instanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

volume_size_in_gb

(experimental) volumeSizeInGB property.

Specify an array of string values to match this event if the actual value of volumeSizeInGB is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ResponseElements

class ModelEvents.AWSAPICallViaCloudTrail.ResponseElements(*, endpoint_config_arn=None, model_arn=None, training_job_arn=None, transform_job_arn=None)

Bases: object

(experimental) Type definition for ResponseElements.

Parameters:
  • endpoint_config_arn (Optional[Sequence[str]]) – (experimental) endpointConfigArn property. Specify an array of string values to match this event if the actual value of endpointConfigArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • model_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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_job_arn (Optional[Sequence[str]]) – (experimental) trainingJobArn property. Specify an array of string values to match this event if the actual value of trainingJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_job_arn (Optional[Sequence[str]]) – (experimental) transformJobArn property. Specify an array of string values to match this event if the actual value of transformJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

response_elements = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.ResponseElements(
    endpoint_config_arn=["endpointConfigArn"],
    model_arn=["modelArn"],
    training_job_arn=["trainingJobArn"],
    transform_job_arn=["transformJobArn"]
)

Attributes

endpoint_config_arn

(experimental) endpointConfigArn property.

Specify an array of string values to match this event if the actual value of endpointConfigArn is one of the values in the array. Use one of the constructors on the aws_events.Match for 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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

training_job_arn

(experimental) trainingJobArn property.

Specify an array of string values to match this event if the actual value of trainingJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_job_arn

(experimental) transformJobArn property.

Specify an array of string values to match this event if the actual value of transformJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

S3DataSource

class ModelEvents.AWSAPICallViaCloudTrail.S3DataSource(*, s3_data_type=None, s3_uri=None)

Bases: object

(experimental) Type definition for S3DataSource.

Parameters:
  • s3_data_type (Optional[Sequence[str]]) – (experimental) s3DataType property. Specify an array of string values to match this event if the actual value of s3DataType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_uri (Optional[Sequence[str]]) – (experimental) s3Uri property. Specify an array of string values to match this event if the actual value of s3Uri is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

s3_data_source = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource(
    s3_data_type=["s3DataType"],
    s3_uri=["s3Uri"]
)

Attributes

s3_data_type

(experimental) s3DataType property.

Specify an array of string values to match this event if the actual value of s3DataType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_uri

(experimental) s3Uri property.

Specify an array of string values to match this event if the actual value of s3Uri is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

S3DataSource1

class ModelEvents.AWSAPICallViaCloudTrail.S3DataSource1(*, s3_data_distribution_type=None, s3_data_type=None, s3_uri=None)

Bases: object

(experimental) Type definition for S3DataSource_1.

Parameters:
  • s3_data_distribution_type (Optional[Sequence[str]]) – (experimental) s3DataDistributionType property. Specify an array of string values to match this event if the actual value of s3DataDistributionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_data_type (Optional[Sequence[str]]) – (experimental) s3DataType property. Specify an array of string values to match this event if the actual value of s3DataType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_uri (Optional[Sequence[str]]) – (experimental) s3Uri property. Specify an array of string values to match this event if the actual value of s3Uri is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

s3_data_source1 = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource1(
    s3_data_distribution_type=["s3DataDistributionType"],
    s3_data_type=["s3DataType"],
    s3_uri=["s3Uri"]
)

Attributes

s3_data_distribution_type

(experimental) s3DataDistributionType property.

Specify an array of string values to match this event if the actual value of s3DataDistributionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_data_type

(experimental) s3DataType property.

Specify an array of string values to match this event if the actual value of s3DataType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_uri

(experimental) s3Uri property.

Specify an array of string values to match this event if the actual value of s3Uri is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

SessionContext

class ModelEvents.AWSAPICallViaCloudTrail.SessionContext(*, attributes=None, session_issuer=None, web_id_federation_data=None)

Bases: object

(experimental) Type definition for SessionContext.

Parameters:
  • attributes (Union[Attributes, Dict[str, Any], None]) – (experimental) attributes property. Specify an array of string values to match this event if the actual value of attributes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • session_issuer (Union[SessionIssuer, Dict[str, Any], None]) – (experimental) sessionIssuer property. Specify an array of string values to match this event if the actual value of sessionIssuer is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • web_id_federation_data (Optional[Sequence[str]]) – (experimental) webIdFederationData property. Specify an array of string values to match this event if the actual value of webIdFederationData is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

session_context = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.SessionContext(
    attributes=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.Attributes(
        creation_date=["creationDate"],
        mfa_authenticated=["mfaAuthenticated"]
    ),
    session_issuer=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.SessionIssuer(
        account_id=["accountId"],
        arn=["arn"],
        principal_id=["principalId"],
        type=["type"],
        user_name=["userName"]
    ),
    web_id_federation_data=["webIdFederationData"]
)

Attributes

attributes

(experimental) attributes property.

Specify an array of string values to match this event if the actual value of attributes is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

session_issuer

(experimental) sessionIssuer property.

Specify an array of string values to match this event if the actual value of sessionIssuer is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

web_id_federation_data

(experimental) webIdFederationData property.

Specify an array of string values to match this event if the actual value of webIdFederationData is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

SessionIssuer

class ModelEvents.AWSAPICallViaCloudTrail.SessionIssuer(*, account_id=None, arn=None, principal_id=None, type=None, user_name=None)

Bases: object

(experimental) Type definition for SessionIssuer.

Parameters:
  • account_id (Optional[Sequence[str]]) – (experimental) accountId property. Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • arn (Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • principal_id (Optional[Sequence[str]]) – (experimental) principalId property. Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • user_name (Optional[Sequence[str]]) – (experimental) userName property. Specify an array of string values to match this event if the actual value of userName is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

session_issuer = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.SessionIssuer(
    account_id=["accountId"],
    arn=["arn"],
    principal_id=["principalId"],
    type=["type"],
    user_name=["userName"]
)

Attributes

account_id

(experimental) accountId property.

Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

arn

(experimental) arn property.

Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

principal_id

(experimental) principalId property.

Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

user_name

(experimental) userName property.

Specify an array of string values to match this event if the actual value of userName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

StoppingCondition

class ModelEvents.AWSAPICallViaCloudTrail.StoppingCondition(*, max_runtime_in_seconds=None)

Bases: object

(experimental) Type definition for StoppingCondition.

Parameters:

max_runtime_in_seconds (Optional[Sequence[str]]) – (experimental) maxRuntimeInSeconds property. Specify an array of string values to match this event if the actual value of maxRuntimeInSeconds is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

stopping_condition = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.StoppingCondition(
    max_runtime_in_seconds=["maxRuntimeInSeconds"]
)

Attributes

max_runtime_in_seconds

(experimental) maxRuntimeInSeconds property.

Specify an array of string values to match this event if the actual value of maxRuntimeInSeconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

TransformInput

class ModelEvents.AWSAPICallViaCloudTrail.TransformInput(*, compression_type=None, content_type=None, data_source=None)

Bases: object

(experimental) Type definition for TransformInput.

Parameters:
  • compression_type (Optional[Sequence[str]]) – (experimental) compressionType property. Specify an array of string values to match this event if the actual value of compressionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • content_type (Optional[Sequence[str]]) – (experimental) contentType property. Specify an array of string values to match this event if the actual value of contentType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • data_source (Union[DataSource, Dict[str, Any], None]) – (experimental) dataSource property. Specify an array of string values to match this event if the actual value of dataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

transform_input = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.TransformInput(
    compression_type=["compressionType"],
    content_type=["contentType"],
    data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.DataSource(
        s3_data_source=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.S3DataSource(
            s3_data_type=["s3DataType"],
            s3_uri=["s3Uri"]
        )
    )
)

Attributes

compression_type

(experimental) compressionType property.

Specify an array of string values to match this event if the actual value of compressionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

content_type

(experimental) contentType property.

Specify an array of string values to match this event if the actual value of contentType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

data_source

(experimental) dataSource property.

Specify an array of string values to match this event if the actual value of dataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

TransformOutput

class ModelEvents.AWSAPICallViaCloudTrail.TransformOutput(*, s3_output_path=None)

Bases: object

(experimental) Type definition for TransformOutput.

Parameters:

s3_output_path (Optional[Sequence[str]]) – (experimental) s3OutputPath property. Specify an array of string values to match this event if the actual value of s3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

transform_output = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.TransformOutput(
    s3_output_path=["s3OutputPath"]
)

Attributes

s3_output_path

(experimental) s3OutputPath property.

Specify an array of string values to match this event if the actual value of s3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

TransformResources

class ModelEvents.AWSAPICallViaCloudTrail.TransformResources(*, instance_count=None, instance_type=None)

Bases: object

(experimental) Type definition for TransformResources.

Parameters:
  • instance_count (Optional[Sequence[str]]) – (experimental) instanceCount property. Specify an array of string values to match this event if the actual value of instanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • 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 the aws_events.Match for 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

transform_resources = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.TransformResources(
    instance_count=["instanceCount"],
    instance_type=["instanceType"]
)

Attributes

instance_count

(experimental) instanceCount property.

Specify an array of string values to match this event if the actual value of instanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

UserIdentity

class ModelEvents.AWSAPICallViaCloudTrail.UserIdentity(*, access_key_id=None, account_id=None, arn=None, invoked_by=None, principal_id=None, session_context=None, type=None)

Bases: object

(experimental) Type definition for UserIdentity.

Parameters:
  • access_key_id (Optional[Sequence[str]]) – (experimental) accessKeyId property. Specify an array of string values to match this event if the actual value of accessKeyId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • account_id (Optional[Sequence[str]]) – (experimental) accountId property. Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • arn (Optional[Sequence[str]]) – (experimental) arn property. Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • invoked_by (Optional[Sequence[str]]) – (experimental) invokedBy property. Specify an array of string values to match this event if the actual value of invokedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • principal_id (Optional[Sequence[str]]) – (experimental) principalId property. Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • session_context (Union[SessionContext, Dict[str, Any], None]) – (experimental) sessionContext property. Specify an array of string values to match this event if the actual value of sessionContext is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • type (Optional[Sequence[str]]) – (experimental) type property. Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

user_identity = sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.UserIdentity(
    access_key_id=["accessKeyId"],
    account_id=["accountId"],
    arn=["arn"],
    invoked_by=["invokedBy"],
    principal_id=["principalId"],
    session_context=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.SessionContext(
        attributes=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.Attributes(
            creation_date=["creationDate"],
            mfa_authenticated=["mfaAuthenticated"]
        ),
        session_issuer=sagemaker_events.ModelEvents.AWSAPICallViaCloudTrail.SessionIssuer(
            account_id=["accountId"],
            arn=["arn"],
            principal_id=["principalId"],
            type=["type"],
            user_name=["userName"]
        ),
        web_id_federation_data=["webIdFederationData"]
    ),
    type=["type"]
)

Attributes

access_key_id

(experimental) accessKeyId property.

Specify an array of string values to match this event if the actual value of accessKeyId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

account_id

(experimental) accountId property.

Specify an array of string values to match this event if the actual value of accountId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

arn

(experimental) arn property.

Specify an array of string values to match this event if the actual value of arn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

invoked_by

(experimental) invokedBy property.

Specify an array of string values to match this event if the actual value of invokedBy is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

principal_id

(experimental) principalId property.

Specify an array of string values to match this event if the actual value of principalId is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

session_context

(experimental) sessionContext property.

Specify an array of string values to match this event if the actual value of sessionContext is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

type

(experimental) type property.

Specify an array of string values to match this event if the actual value of type is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

SageMakerTransformJobStateChange

class ModelEvents.SageMakerTransformJobStateChange

Bases: object

(experimental) aws.sagemaker@SageMakerTransformJobStateChange event types for Model.

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_transform_job_state_change = sagemaker_events.ModelEvents.SageMakerTransformJobStateChange()
Stability:

experimental

DataSource

class ModelEvents.SageMakerTransformJobStateChange.DataSource(*, s3_data_source=None)

Bases: object

(experimental) Type definition for DataSource.

Parameters:

s3_data_source (Union[S3DataSource, Dict[str, Any], None]) – (experimental) S3DataSource property. Specify an array of string values to match this event if the actual value of S3DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

data_source = sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.DataSource(
    s3_data_source=sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.S3DataSource(
        s3_data_type=["s3DataType"],
        s3_uri=["s3Uri"]
    )
)

Attributes

s3_data_source

(experimental) S3DataSource property.

Specify an array of string values to match this event if the actual value of S3DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

S3DataSource

class ModelEvents.SageMakerTransformJobStateChange.S3DataSource(*, s3_data_type=None, s3_uri=None)

Bases: object

(experimental) Type definition for S3DataSource.

Parameters:
  • s3_data_type (Optional[Sequence[str]]) – (experimental) S3DataType property. Specify an array of string values to match this event if the actual value of S3DataType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_uri (Optional[Sequence[str]]) – (experimental) S3Uri property. Specify an array of string values to match this event if the actual value of S3Uri is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

s3_data_source = sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.S3DataSource(
    s3_data_type=["s3DataType"],
    s3_uri=["s3Uri"]
)

Attributes

s3_data_type

(experimental) S3DataType property.

Specify an array of string values to match this event if the actual value of S3DataType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_uri

(experimental) S3Uri property.

Specify an array of string values to match this event if the actual value of S3Uri is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

SageMakerTransformJobStateChangeProps

class ModelEvents.SageMakerTransformJobStateChange.SageMakerTransformJobStateChangeProps(*, creation_time=None, event_metadata=None, model_name=None, tags=None, transform_end_time=None, transform_input=None, transform_job_arn=None, transform_job_name=None, transform_job_status=None, transform_output=None, transform_resources=None, transform_start_time=None)

Bases: object

(experimental) Props type for Model aws.sagemaker@SageMakerTransformJobStateChange 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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • model_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 the aws_events.Match for more advanced matching options. Default: - Filter with the Model reference

  • tags (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 the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_end_time (Optional[Sequence[str]]) – (experimental) TransformEndTime property. Specify an array of string values to match this event if the actual value of TransformEndTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_input (Union[TransformInput, Dict[str, Any], None]) – (experimental) TransformInput property. Specify an array of string values to match this event if the actual value of TransformInput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_job_arn (Optional[Sequence[str]]) – (experimental) TransformJobArn property. Specify an array of string values to match this event if the actual value of TransformJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_job_name (Optional[Sequence[str]]) – (experimental) TransformJobName property. Specify an array of string values to match this event if the actual value of TransformJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_job_status (Optional[Sequence[str]]) – (experimental) TransformJobStatus property. Specify an array of string values to match this event if the actual value of TransformJobStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_output (Union[TransformOutput, Dict[str, Any], None]) – (experimental) TransformOutput property. Specify an array of string values to match this event if the actual value of TransformOutput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_resources (Union[TransformResources, Dict[str, Any], None]) – (experimental) TransformResources property. Specify an array of string values to match this event if the actual value of TransformResources is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • transform_start_time (Optional[Sequence[str]]) – (experimental) TransformStartTime property. Specify an array of string values to match this event if the actual value of TransformStartTime is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

sage_maker_transform_job_state_change_props = sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.SageMakerTransformJobStateChangeProps(
    creation_time=["creationTime"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    model_name=["modelName"],
    tags=[sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.Tags(
        key=["key"],
        value=["value"]
    )],
    transform_end_time=["transformEndTime"],
    transform_input=sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.TransformInput(
        compression_type=["compressionType"],
        content_type=["contentType"],
        data_source=sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.DataSource(
            s3_data_source=sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.S3DataSource(
                s3_data_type=["s3DataType"],
                s3_uri=["s3Uri"]
            )
        ),
        split_type=["splitType"]
    ),
    transform_job_arn=["transformJobArn"],
    transform_job_name=["transformJobName"],
    transform_job_status=["transformJobStatus"],
    transform_output=sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.TransformOutput(
        assemble_with=["assembleWith"],
        s3_output_path=["s3OutputPath"]
    ),
    transform_resources=sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.TransformResources(
        instance_count=["instanceCount"],
        instance_type=["instanceType"]
    ),
    transform_start_time=["transformStartTime"]
)

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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

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.Match for more advanced matching options.

Default:
  • Filter with the Model reference

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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_end_time

(experimental) TransformEndTime property.

Specify an array of string values to match this event if the actual value of TransformEndTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_input

(experimental) TransformInput property.

Specify an array of string values to match this event if the actual value of TransformInput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_job_arn

(experimental) TransformJobArn property.

Specify an array of string values to match this event if the actual value of TransformJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_job_name

(experimental) TransformJobName property.

Specify an array of string values to match this event if the actual value of TransformJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_job_status

(experimental) TransformJobStatus property.

Specify an array of string values to match this event if the actual value of TransformJobStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_output

(experimental) TransformOutput property.

Specify an array of string values to match this event if the actual value of TransformOutput is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_resources

(experimental) TransformResources property.

Specify an array of string values to match this event if the actual value of TransformResources is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

transform_start_time

(experimental) TransformStartTime property.

Specify an array of string values to match this event if the actual value of TransformStartTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Tags

class ModelEvents.SageMakerTransformJobStateChange.Tags(*, key=None, value=None)

Bases: object

(experimental) Type definition for Tags.

Parameters:
  • key (Optional[Sequence[str]]) – (experimental) Key property. Specify an array of string values to match this event if the actual value of Key is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) Value property. Specify an array of string values to match this event if the actual value of Value is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

tags = sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.Tags(
    key=["key"],
    value=["value"]
)

Attributes

key

(experimental) Key property.

Specify an array of string values to match this event if the actual value of Key is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) Value property.

Specify an array of string values to match this event if the actual value of Value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

TransformInput

class ModelEvents.SageMakerTransformJobStateChange.TransformInput(*, compression_type=None, content_type=None, data_source=None, split_type=None)

Bases: object

(experimental) Type definition for TransformInput.

Parameters:
  • compression_type (Optional[Sequence[str]]) – (experimental) CompressionType property. Specify an array of string values to match this event if the actual value of CompressionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • content_type (Optional[Sequence[str]]) – (experimental) ContentType property. Specify an array of string values to match this event if the actual value of ContentType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • data_source (Union[DataSource, Dict[str, Any], None]) – (experimental) DataSource property. Specify an array of string values to match this event if the actual value of DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • split_type (Optional[Sequence[str]]) – (experimental) SplitType property. Specify an array of string values to match this event if the actual value of SplitType is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

transform_input = sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.TransformInput(
    compression_type=["compressionType"],
    content_type=["contentType"],
    data_source=sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.DataSource(
        s3_data_source=sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.S3DataSource(
            s3_data_type=["s3DataType"],
            s3_uri=["s3Uri"]
        )
    ),
    split_type=["splitType"]
)

Attributes

compression_type

(experimental) CompressionType property.

Specify an array of string values to match this event if the actual value of CompressionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

content_type

(experimental) ContentType property.

Specify an array of string values to match this event if the actual value of ContentType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

data_source

(experimental) DataSource property.

Specify an array of string values to match this event if the actual value of DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

split_type

(experimental) SplitType property.

Specify an array of string values to match this event if the actual value of SplitType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

TransformOutput

class ModelEvents.SageMakerTransformJobStateChange.TransformOutput(*, assemble_with=None, s3_output_path=None)

Bases: object

(experimental) Type definition for TransformOutput.

Parameters:
  • assemble_with (Optional[Sequence[str]]) – (experimental) AssembleWith property. Specify an array of string values to match this event if the actual value of AssembleWith is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_output_path (Optional[Sequence[str]]) – (experimental) S3OutputPath property. Specify an array of string values to match this event if the actual value of S3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for 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

transform_output = sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.TransformOutput(
    assemble_with=["assembleWith"],
    s3_output_path=["s3OutputPath"]
)

Attributes

assemble_with

(experimental) AssembleWith property.

Specify an array of string values to match this event if the actual value of AssembleWith is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_output_path

(experimental) S3OutputPath property.

Specify an array of string values to match this event if the actual value of S3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

TransformResources

class ModelEvents.SageMakerTransformJobStateChange.TransformResources(*, instance_count=None, instance_type=None)

Bases: object

(experimental) Type definition for TransformResources.

Parameters:
  • instance_count (Optional[Sequence[str]]) – (experimental) InstanceCount property. Specify an array of string values to match this event if the actual value of InstanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • 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 the aws_events.Match for 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

transform_resources = sagemaker_events.ModelEvents.SageMakerTransformJobStateChange.TransformResources(
    instance_count=["instanceCount"],
    instance_type=["instanceType"]
)

Attributes

instance_count

(experimental) InstanceCount property.

Specify an array of string values to match this event if the actual value of InstanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

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.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental