FlowLogResourceType

class aws_cdk.aws_ec2.FlowLogResourceType

Bases: object

The type of resource to create the flow log for.

stability :stability: experimental

__init__()

Initialize self. See help(type(self)) for accurate signature.

Return type

None

Attributes

resource_id

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

stability :stability: experimental

Return type

str

resource_type

The type of resource to attach a flow log to.

stability :stability: experimental

Return type

str

Static Methods

classmethod from_network_interface_id(id)

The Network Interface to attach the Flow Log to.

Parameters

id (str) –

stability :stability: experimental

Return type

FlowLogResourceType

classmethod from_subnet(subnet)

The subnet to attach the Flow Log to.

Parameters

subnet (ISubnet) –

stability :stability: experimental

Return type

FlowLogResourceType

classmethod from_vpc(vpc)

The VPC to attach the Flow Log to.

Parameters

vpc (IVpc) –

stability :stability: experimental

Return type

FlowLogResourceType