getFlowLog

Specifies a VPC flow log, which enables you to capture IP traffic for a specific network interface, subnet, or VPC.

Using getFlowLog

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getFlowLog(args: GetFlowLogArgs, opts?: InvokeOptions): Promise<GetFlowLogResult>
function getFlowLogOutput(args: GetFlowLogOutputArgs, opts?: InvokeOptions): Output<GetFlowLogResult>
def get_flow_log(id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetFlowLogResult
def get_flow_log_output(id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetFlowLogResult]
func LookupFlowLog(ctx *Context, args *LookupFlowLogArgs, opts ...InvokeOption) (*LookupFlowLogResult, error)
func LookupFlowLogOutput(ctx *Context, args *LookupFlowLogOutputArgs, opts ...InvokeOption) LookupFlowLogResultOutput

> Note: This function is named LookupFlowLog in the Go SDK.

public static class GetFlowLog 
{
    public static Task<GetFlowLogResult> InvokeAsync(GetFlowLogArgs args, InvokeOptions? opts = null)
    public static Output<GetFlowLogResult> Invoke(GetFlowLogInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFlowLogResult> getFlowLog(GetFlowLogArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:ec2:getFlowLog
  arguments:
    # arguments dictionary

The following arguments are supported:

Id string

The Flow Log ID

Id string

The Flow Log ID

id String

The Flow Log ID

id string

The Flow Log ID

id str

The Flow Log ID

id String

The Flow Log ID

getFlowLog Result

The following output properties are available:

Id string

The Flow Log ID

Tags List<Pulumi.AwsNative.EC2.Outputs.FlowLogTag>

The tags to apply to the flow logs.

Id string

The Flow Log ID

Tags []FlowLogTag

The tags to apply to the flow logs.

id String

The Flow Log ID

tags List<FlowLogTag>

The tags to apply to the flow logs.

id string

The Flow Log ID

tags FlowLogTag[]

The tags to apply to the flow logs.

id str

The Flow Log ID

tags Sequence[FlowLogTag]

The tags to apply to the flow logs.

id String

The Flow Log ID

tags List<Property Map>

The tags to apply to the flow logs.

Supporting Types

FlowLogTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0