FlowLogResourceType

class aws_cdk.aws_ec2.FlowLogResourceType

Bases: object

(experimental) The type of resource to create the flow log for.

Stability

experimental

Attributes

resource_id

(experimental) The Id of the resource that the flow log should be attached to.

Stability

experimental

Return type

str

resource_type

(experimental) The type of resource to attach a flow log to.

Stability

experimental

Return type

str

Static Methods

classmethod from_network_interface_id(id)

(experimental) The Network Interface to attach the Flow Log to.

Parameters

id (str) –

Stability

experimental

Return type

FlowLogResourceType

classmethod from_subnet(subnet)

(experimental) The subnet to attach the Flow Log to.

Parameters

subnet (ISubnet) –

Stability

experimental

Return type

FlowLogResourceType

classmethod from_vpc(vpc)

(experimental) The VPC to attach the Flow Log to.

Parameters

vpc (IVpc) –

Stability

experimental

Return type

FlowLogResourceType