CfnNetworkInsightsAnalysisProps

class aws_cdk.aws_ec2.CfnNetworkInsightsAnalysisProps(*, network_insights_path_id, additional_accounts=None, filter_in_arns=None, tags=None)

Bases: object

Properties for defining a CfnNetworkInsightsAnalysis.

Parameters:
  • network_insights_path_id (str) – The ID of the path.

  • additional_accounts (Optional[Sequence[str]]) – The member accounts that contain resources that the path can traverse.

  • filter_in_arns (Optional[Sequence[str]]) – The Amazon Resource Names (ARN) of the resources that the path must traverse.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tags to apply.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_ec2 as ec2

cfn_network_insights_analysis_props = ec2.CfnNetworkInsightsAnalysisProps(
    network_insights_path_id="networkInsightsPathId",

    # the properties below are optional
    additional_accounts=["additionalAccounts"],
    filter_in_arns=["filterInArns"],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

additional_accounts

The member accounts that contain resources that the path can traverse.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html#cfn-ec2-networkinsightsanalysis-additionalaccounts

filter_in_arns

The Amazon Resource Names (ARN) of the resources that the path must traverse.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html#cfn-ec2-networkinsightsanalysis-filterinarns

network_insights_path_id

The ID of the path.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html#cfn-ec2-networkinsightsanalysis-networkinsightspathid

tags

The tags to apply.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html#cfn-ec2-networkinsightsanalysis-tags