DNSFirewallAlert

class aws_cdk.mixins_preview.aws_route53resolver.events.DNSFirewallAlert

Bases: object

(experimental) EventBridge event pattern for aws.route53resolver@DNSFirewallAlert.

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_route53resolver import events as route53resolver_events

d_nSFirewall_alert = route53resolver_events.DNSFirewallAlert()
Stability:

experimental

Static Methods

classmethod dns_firewall_alert_pattern(*, account_id=None, event_metadata=None, firewall_domain_list_id=None, firewall_rule_action=None, firewall_rule_group_id=None, last_observed_at=None, query_class=None, query_name=None, query_type=None, resources=None, src_addr=None, src_port=None, transport=None, vpc_id=None)

(experimental) EventBridge event pattern for DNS Firewall Alert.

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

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

  • firewall_domain_list_id (Optional[Sequence[str]]) – (experimental) firewall-domain-list-id property. Specify an array of string values to match this event if the actual value of firewall-domain-list-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: - Filter with the FirewallDomainList reference

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

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

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

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

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

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

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

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

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

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

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

Return type:

EventPattern

DNSFirewallAlertProps

class DNSFirewallAlert.DNSFirewallAlertProps(*, account_id=None, event_metadata=None, firewall_domain_list_id=None, firewall_rule_action=None, firewall_rule_group_id=None, last_observed_at=None, query_class=None, query_name=None, query_type=None, resources=None, src_addr=None, src_port=None, transport=None, vpc_id=None)

Bases: object

(experimental) Props type for aws.route53resolver@DNSFirewallAlert event.

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

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

  • firewall_domain_list_id (Optional[Sequence[str]]) – (experimental) firewall-domain-list-id property. Specify an array of string values to match this event if the actual value of firewall-domain-list-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: - Filter with the FirewallDomainList reference

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

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

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

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

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

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

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

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

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

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

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

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_route53resolver import events as route53resolver_events

d_nSFirewall_alert_props = route53resolver_events.DNSFirewallAlert.DNSFirewallAlertProps(
    account_id=["accountId"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    firewall_domain_list_id=["firewallDomainListId"],
    firewall_rule_action=["firewallRuleAction"],
    firewall_rule_group_id=["firewallRuleGroupId"],
    last_observed_at=["lastObservedAt"],
    query_class=["queryClass"],
    query_name=["queryName"],
    query_type=["queryType"],
    resources=[route53resolver_events.DNSFirewallAlert.DnsFirewallAlertItem(
        resolver_endpoint_details=route53resolver_events.DNSFirewallAlert.ResolverEndpointDetails(
            id=["id"]
        ),
        resolver_network_interface_details=route53resolver_events.DNSFirewallAlert.ResolverNetworkInterfaceDetails(
            id=["id"]
        ),
        resource_type=["resourceType"]
    )],
    src_addr=["srcAddr"],
    src_port=["srcPort"],
    transport=["transport"],
    vpc_id=["vpcId"]
)

Attributes

account_id

(experimental) account-id property.

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

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

firewall_domain_list_id

(experimental) firewall-domain-list-id property.

Specify an array of string values to match this event if the actual value of firewall-domain-list-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:
  • Filter with the FirewallDomainList reference

Stability:

experimental

firewall_rule_action

(experimental) firewall-rule-action property.

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

firewall_rule_group_id

(experimental) firewall-rule-group-id property.

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

last_observed_at

(experimental) last-observed-at property.

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

query_class

(experimental) query-class property.

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

query_name

(experimental) query-name property.

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

query_type

(experimental) query-type property.

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

resources

(experimental) resources property.

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

src_addr

(experimental) src-addr property.

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

src_port

(experimental) src-port property.

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

transport

(experimental) transport property.

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

vpc_id

(experimental) vpc-id property.

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

DnsFirewallAlertItem

class DNSFirewallAlert.DnsFirewallAlertItem(*, resolver_endpoint_details=None, resolver_network_interface_details=None, resource_type=None)

Bases: object

(experimental) Type definition for DNSFirewallAlertItem.

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

  • resolver_network_interface_details (Union[ResolverNetworkInterfaceDetails, Dict[str, Any], None]) – (experimental) resolver-network-interface-details property. Specify an array of string values to match this event if the actual value of resolver-network-interface-details is one of the values in 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_type (Optional[Sequence[str]]) – (experimental) resource-type property. Specify an array of string values to match this event if the actual value of resource-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_route53resolver import events as route53resolver_events

dns_firewall_alert_item = route53resolver_events.DNSFirewallAlert.DnsFirewallAlertItem(
    resolver_endpoint_details=route53resolver_events.DNSFirewallAlert.ResolverEndpointDetails(
        id=["id"]
    ),
    resolver_network_interface_details=route53resolver_events.DNSFirewallAlert.ResolverNetworkInterfaceDetails(
        id=["id"]
    ),
    resource_type=["resourceType"]
)

Attributes

resolver_endpoint_details

(experimental) resolver-endpoint-details property.

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

resolver_network_interface_details

(experimental) resolver-network-interface-details property.

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

(experimental) resource-type property.

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

ResolverEndpointDetails

class DNSFirewallAlert.ResolverEndpointDetails(*, id=None)

Bases: object

(experimental) Type definition for Resolver-endpoint-details.

Parameters:

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

resolver_endpoint_details = route53resolver_events.DNSFirewallAlert.ResolverEndpointDetails(
    id=["id"]
)

Attributes

id

(experimental) id property.

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

ResolverNetworkInterfaceDetails

class DNSFirewallAlert.ResolverNetworkInterfaceDetails(*, id=None)

Bases: object

(experimental) Type definition for Resolver-network-interface-details.

Parameters:

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

resolver_network_interface_details = route53resolver_events.DNSFirewallAlert.ResolverNetworkInterfaceDetails(
    id=["id"]
)

Attributes

id

(experimental) id property.

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