1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. directconnect
  5. getLag

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.57.0
published on Monday, Mar 9, 2026 by Pulumi

    Resource Type definition for AWS::DirectConnect::Lag

    Using getLag

    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 getLag(args: GetLagArgs, opts?: InvokeOptions): Promise<GetLagResult>
    function getLagOutput(args: GetLagOutputArgs, opts?: InvokeOptions): Output<GetLagResult>
    def get_lag(lag_arn: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetLagResult
    def get_lag_output(lag_arn: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetLagResult]
    func LookupLag(ctx *Context, args *LookupLagArgs, opts ...InvokeOption) (*LookupLagResult, error)
    func LookupLagOutput(ctx *Context, args *LookupLagOutputArgs, opts ...InvokeOption) LookupLagResultOutput

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

    public static class GetLag 
    {
        public static Task<GetLagResult> InvokeAsync(GetLagArgs args, InvokeOptions? opts = null)
        public static Output<GetLagResult> Invoke(GetLagInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLagResult> getLag(GetLagArgs args, InvokeOptions options)
    public static Output<GetLagResult> getLag(GetLagArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:directconnect:getLag
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LagArn string
    The ARN of the LAG.
    LagArn string
    The ARN of the LAG.
    lagArn String
    The ARN of the LAG.
    lagArn string
    The ARN of the LAG.
    lag_arn str
    The ARN of the LAG.
    lagArn String
    The ARN of the LAG.

    getLag Result

    The following output properties are available:

    LagArn string
    The ARN of the LAG.
    LagId string
    The ID of the LAG.
    LagName string
    The name of the LAG.
    LagState string
    The state of the LAG.
    MinimumLinks int
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    The tags associated with the LAG.
    LagArn string
    The ARN of the LAG.
    LagId string
    The ID of the LAG.
    LagName string
    The name of the LAG.
    LagState string
    The state of the LAG.
    MinimumLinks int
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    Tags Tag
    The tags associated with the LAG.
    lagArn String
    The ARN of the LAG.
    lagId String
    The ID of the LAG.
    lagName String
    The name of the LAG.
    lagState String
    The state of the LAG.
    minimumLinks Integer
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    tags List<Tag>
    The tags associated with the LAG.
    lagArn string
    The ARN of the LAG.
    lagId string
    The ID of the LAG.
    lagName string
    The name of the LAG.
    lagState string
    The state of the LAG.
    minimumLinks number
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    tags Tag[]
    The tags associated with the LAG.
    lag_arn str
    The ARN of the LAG.
    lag_id str
    The ID of the LAG.
    lag_name str
    The name of the LAG.
    lag_state str
    The state of the LAG.
    minimum_links int
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    tags Sequence[root_Tag]
    The tags associated with the LAG.
    lagArn String
    The ARN of the LAG.
    lagId String
    The ID of the LAG.
    lagName String
    The name of the LAG.
    lagState String
    The state of the LAG.
    minimumLinks Number
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    tags List<Property Map>
    The tags associated with the LAG.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.57.0
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.