MGNSourceServerLaunchResult

class aws_cdk.mixins_preview.aws_mgn.events.MGNSourceServerLaunchResult

Bases: object

(experimental) EventBridge event pattern for aws.mgn@MGNSourceServerLaunchResult.

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_mgn import events as mgn_events

m_gn_source_server_launch_result = mgn_events.MGNSourceServerLaunchResult()
Stability:

experimental

Static Methods

classmethod event_pattern(*, event_metadata=None, job_id=None, state=None)

(experimental) EventBridge event pattern for MGN Source Server Launch Result.

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

  • job_id (Optional[Sequence[str]]) – (experimental) job-id property. Specify an array of string values to match this event if the actual value of job-id 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

  • state (Optional[Sequence[str]]) – (experimental) state property. Specify an array of string values to match this event if the actual value of state 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

MGNSourceServerLaunchResultProps

class MGNSourceServerLaunchResult.MGNSourceServerLaunchResultProps(*, event_metadata=None, job_id=None, state=None)

Bases: object

(experimental) Props type for aws.mgn@MGNSourceServerLaunchResult event.

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

  • job_id (Optional[Sequence[str]]) – (experimental) job-id property. Specify an array of string values to match this event if the actual value of job-id 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

  • state (Optional[Sequence[str]]) – (experimental) state property. Specify an array of string values to match this event if the actual value of state 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:

from aws_cdk import AWSEventMetadataProps
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_mgn import events as mgn_events

m_gn_source_server_launch_result_props = mgn_events.MGNSourceServerLaunchResult.MGNSourceServerLaunchResultProps(
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    job_id=["jobId"],
    state=["state"]
)

Attributes

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

job_id

(experimental) job-id property.

Specify an array of string values to match this event if the actual value of job-id 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

state

(experimental) state property.

Specify an array of string values to match this event if the actual value of state 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