FirewallAttachmentStatusChanged

class aws_cdk.mixins_preview.aws_networkfirewall.events.FirewallAttachmentStatusChanged

Bases: object

(experimental) EventBridge event pattern for aws.networkfirewall@FirewallAttachmentStatusChanged.

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_networkfirewall import events as networkfirewall_events

firewall_attachment_status_changed = networkfirewall_events.FirewallAttachmentStatusChanged()
Stability:

experimental

Static Methods

classmethod firewall_attachment_status_changed_pattern(*, data=None, event_metadata=None, metadata=None, version=None)

(experimental) EventBridge event pattern for Firewall Attachment Status Changed.

Parameters:
  • data (Optional[Sequence[Union[DataItem, Dict[str, Any]]]]) – (experimental) data property. Specify an array of string values to match this event if the actual value of data is one of the values in 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: - -

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

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

DataItem

class FirewallAttachmentStatusChanged.DataItem(*, availability_zone=None, current_attachment_status=None, endpoint_id=None, previous_attachment_status=None)

Bases: object

(experimental) Type definition for DataItem.

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

  • current_attachment_status (Optional[Sequence[str]]) – (experimental) Current Attachment Status property. Specify an array of string values to match this event if the actual value of Current Attachment Status is one of the values in 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_id (Optional[Sequence[str]]) – (experimental) Endpoint ID property. Specify an array of string values to match this event if the actual value of Endpoint 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

  • previous_attachment_status (Optional[Sequence[str]]) – (experimental) Previous Attachment Status property. Specify an array of string values to match this event if the actual value of Previous Attachment Status is one of the values in 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_networkfirewall import events as networkfirewall_events

data_item = networkfirewall_events.FirewallAttachmentStatusChanged.DataItem(
    availability_zone=["availabilityZone"],
    current_attachment_status=["currentAttachmentStatus"],
    endpoint_id=["endpointId"],
    previous_attachment_status=["previousAttachmentStatus"]
)

Attributes

availability_zone

(experimental) Availability Zone property.

Specify an array of string values to match this event if the actual value of Availability Zone is one of the values in 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

current_attachment_status

(experimental) Current Attachment Status property.

Specify an array of string values to match this event if the actual value of Current Attachment Status is one of the values in 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_id

(experimental) Endpoint ID property.

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

previous_attachment_status

(experimental) Previous Attachment Status property.

Specify an array of string values to match this event if the actual value of Previous Attachment Status is one of the values in 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

FirewallAttachmentStatusChangedProps

class FirewallAttachmentStatusChanged.FirewallAttachmentStatusChangedProps(*, data=None, event_metadata=None, metadata=None, version=None)

Bases: object

(experimental) Props type for aws.networkfirewall@FirewallAttachmentStatusChanged event.

Parameters:
  • data (Optional[Sequence[Union[DataItem, Dict[str, Any]]]]) – (experimental) data property. Specify an array of string values to match this event if the actual value of data is one of the values in 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: - -

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

  • version (Optional[Sequence[str]]) – (experimental) version property. Specify an array of string values to match this event if the actual value of version is one of the values in 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_networkfirewall import events as networkfirewall_events

firewall_attachment_status_changed_props = networkfirewall_events.FirewallAttachmentStatusChanged.FirewallAttachmentStatusChangedProps(
    data=[networkfirewall_events.FirewallAttachmentStatusChanged.DataItem(
        availability_zone=["availabilityZone"],
        current_attachment_status=["currentAttachmentStatus"],
        endpoint_id=["endpointId"],
        previous_attachment_status=["previousAttachmentStatus"]
    )],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    metadata=networkfirewall_events.FirewallAttachmentStatusChanged.Metadata(
        state_change_id=["stateChangeId"]
    ),
    version=["version"]
)

Attributes

data

(experimental) data property.

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

metadata

(experimental) metadata property.

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

version

(experimental) version property.

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

Metadata

class FirewallAttachmentStatusChanged.Metadata(*, state_change_id=None)

Bases: object

(experimental) Type definition for Metadata.

Parameters:

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

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_networkfirewall import events as networkfirewall_events

metadata = networkfirewall_events.FirewallAttachmentStatusChanged.Metadata(
    state_change_id=["stateChangeId"]
)

Attributes

state_change_id

(experimental) State Change ID property.

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