CfnApplicationsListPropsMixin
- class aws_cdk.cfn_property_mixins.aws_fms.CfnApplicationsListPropsMixin(props, *, strategy=None)
Bases:
MixinCreates 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:
props (
Union[CfnApplicationsListMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
AppProperty
- class CfnApplicationsListPropsMixin.AppProperty(*, app_name=None, port=None, protocol=None)
Bases:
objectAn 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:
- 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.
- port
The application’s port number, for example 80.
- 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).