CfnFlowLogProps

class aws_cdk.aws_ec2.CfnFlowLogProps(*, resource_id, resource_type, traffic_type, deliver_logs_permission_arn=None, log_destination=None, log_destination_type=None, log_group_name=None)

Bases: object

__init__(*, resource_id, resource_type, traffic_type, deliver_logs_permission_arn=None, log_destination=None, log_destination_type=None, log_group_name=None)

Properties for defining a AWS::EC2::FlowLog.

Parameters
  • resource_id (str) – AWS::EC2::FlowLog.ResourceId.

  • resource_type (str) – AWS::EC2::FlowLog.ResourceType.

  • traffic_type (str) – AWS::EC2::FlowLog.TrafficType.

  • deliver_logs_permission_arn (Optional[str]) – AWS::EC2::FlowLog.DeliverLogsPermissionArn.

  • log_destination (Optional[str]) – AWS::EC2::FlowLog.LogDestination.

  • log_destination_type (Optional[str]) – AWS::EC2::FlowLog.LogDestinationType.

  • log_group_name (Optional[str]) – AWS::EC2::FlowLog.LogGroupName.

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

Attributes

deliver_logs_permission_arn

AWS::EC2::FlowLog.DeliverLogsPermissionArn.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-deliverlogspermissionarn

Return type

Optional[str]

log_destination

AWS::EC2::FlowLog.LogDestination.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-logdestination

Return type

Optional[str]

log_destination_type

AWS::EC2::FlowLog.LogDestinationType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-logdestinationtype

Return type

Optional[str]

log_group_name

AWS::EC2::FlowLog.LogGroupName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-loggroupname

Return type

Optional[str]

resource_id

AWS::EC2::FlowLog.ResourceId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-resourceid

Return type

str

resource_type

AWS::EC2::FlowLog.ResourceType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-resourcetype

Return type

str

traffic_type

AWS::EC2::FlowLog.TrafficType.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-flowlog.html#cfn-ec2-flowlog-traffictype

Return type

str