CfnApplicationsListPropsMixin

class aws_cdk.cfn_property_mixins.aws_fms.CfnApplicationsListPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates an AWS Firewall Manager applications list.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-fms-applicationslist.html

CloudformationResource:

AWS::FMS::ApplicationsList

Mixin:

true

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.cfn_property_mixins import aws_fms as fms
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_applications_list_props_mixin = fms.CfnApplicationsListPropsMixin(fms.CfnApplicationsListMixinProps(
    apps_list=[fms.CfnApplicationsListPropsMixin.AppProperty(
        app_name="appName",
        port=123,
        protocol="protocol"
    )],
    list_name="listName",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::FMS::ApplicationsList.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['appsList', 'listName', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

AppProperty

class CfnApplicationsListPropsMixin.AppProperty(*, app_name=None, port=None, protocol=None)

Bases: object

An individual Firewall Manager application.

Parameters:
  • app_name (Optional[str]) – The application’s name.

  • port (Union[int, float, None]) – The application’s port number, for example 80.

  • protocol (Optional[str]) – The IP protocol name or number. The name can be one of tcp, udp, or icmp. For information on possible numbers, see Protocol Numbers (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-applicationslist-app.html

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.cfn_property_mixins import aws_fms as fms

app_property = fms.CfnApplicationsListPropsMixin.AppProperty(
    app_name="appName",
    port=123,
    protocol="protocol"
)

Attributes

app_name

The application’s name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-applicationslist-app.html#cfn-fms-applicationslist-app-appname

port

The application’s port number, for example 80.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-applicationslist-app.html#cfn-fms-applicationslist-app-port

protocol

The IP protocol name or number.

The name can be one of tcp, udp, or icmp. For information on possible numbers, see Protocol Numbers (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fms-applicationslist-app.html#cfn-fms-applicationslist-app-protocol