Interface IFlowLogProps
Properties of a VPC Flow Log.
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFlowLogProps : IFlowLogOptions
Syntax (vb)
Public Interface IFlowLogProps
Inherits IFlowLogOptions
Remarks
ExampleMetadata: infused
Examples
CfnTransitGateway tgw;
new FlowLog(this, "TransitGatewayFlowLog", new FlowLogProps {
ResourceType = FlowLogResourceType.FromTransitGatewayId(tgw.Ref)
});
Synopsis
Properties
FlowLogName | The name of the FlowLog. |
ResourceType | The type of resource for which to create the flow log. |
Properties
FlowLogName
The name of the FlowLog.
virtual string FlowLogName { get; }
Property Value
System.String
Remarks
Since the FlowLog resource doesn't support providing a physical name, the value provided here will be recorded in the Name
tag.
Default: CDK generated name
ResourceType
The type of resource for which to create the flow log.
FlowLogResourceType ResourceType { get; }
Property Value