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

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

    Create Lag Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Lag(name: string, args: LagArgs, opts?: CustomResourceOptions);
    @overload
    def Lag(resource_name: str,
            args: LagArgs,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Lag(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            connections_bandwidth: Optional[str] = None,
            location: Optional[str] = None,
            lag_name: Optional[str] = None,
            minimum_links: Optional[int] = None,
            provider_name: Optional[str] = None,
            request_mac_sec: Optional[bool] = None,
            tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewLag(ctx *Context, name string, args LagArgs, opts ...ResourceOption) (*Lag, error)
    public Lag(string name, LagArgs args, CustomResourceOptions? opts = null)
    public Lag(String name, LagArgs args)
    public Lag(String name, LagArgs args, CustomResourceOptions options)
    
    type: aws-native:directconnect:Lag
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args LagArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args LagArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args LagArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LagArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LagArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Lag Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Lag resource accepts the following input properties:

    ConnectionsBandwidth string
    The bandwidth of the individual physical dedicated connections bundled by the LAG.
    Location string
    The location for the LAG.
    LagName string
    The name of the LAG.
    MinimumLinks int
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    ProviderName string
    The name of the service provider associated with the requested LAG.
    RequestMacSec bool
    Indicates whether you want the LAG to support MAC Security (MACsec).
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags associated with the LAG.
    ConnectionsBandwidth string
    The bandwidth of the individual physical dedicated connections bundled by the LAG.
    Location string
    The location for the LAG.
    LagName string
    The name of the LAG.
    MinimumLinks int
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    ProviderName string
    The name of the service provider associated with the requested LAG.
    RequestMacSec bool
    Indicates whether you want the LAG to support MAC Security (MACsec).
    Tags TagArgs
    The tags associated with the LAG.
    connectionsBandwidth String
    The bandwidth of the individual physical dedicated connections bundled by the LAG.
    location String
    The location for the LAG.
    lagName String
    The name of the LAG.
    minimumLinks Integer
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    providerName String
    The name of the service provider associated with the requested LAG.
    requestMacSec Boolean
    Indicates whether you want the LAG to support MAC Security (MACsec).
    tags List<Tag>
    The tags associated with the LAG.
    connectionsBandwidth string
    The bandwidth of the individual physical dedicated connections bundled by the LAG.
    location string
    The location for the LAG.
    lagName string
    The name of the LAG.
    minimumLinks number
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    providerName string
    The name of the service provider associated with the requested LAG.
    requestMacSec boolean
    Indicates whether you want the LAG to support MAC Security (MACsec).
    tags Tag[]
    The tags associated with the LAG.
    connections_bandwidth str
    The bandwidth of the individual physical dedicated connections bundled by the LAG.
    location str
    The location for the LAG.
    lag_name str
    The name of the LAG.
    minimum_links int
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    provider_name str
    The name of the service provider associated with the requested LAG.
    request_mac_sec bool
    Indicates whether you want the LAG to support MAC Security (MACsec).
    tags Sequence[TagArgs]
    The tags associated with the LAG.
    connectionsBandwidth String
    The bandwidth of the individual physical dedicated connections bundled by the LAG.
    location String
    The location for the LAG.
    lagName String
    The name of the LAG.
    minimumLinks Number
    The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.
    providerName String
    The name of the service provider associated with the requested LAG.
    requestMacSec Boolean
    Indicates whether you want the LAG to support MAC Security (MACsec).
    tags List<Property Map>
    The tags associated with the LAG.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Lag resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LagArn string
    The ARN of the LAG.
    LagId string
    The ID of the LAG.
    LagState string
    The state of the LAG.
    Id string
    The provider-assigned unique ID for this managed resource.
    LagArn string
    The ARN of the LAG.
    LagId string
    The ID of the LAG.
    LagState string
    The state of the LAG.
    id String
    The provider-assigned unique ID for this managed resource.
    lagArn String
    The ARN of the LAG.
    lagId String
    The ID of the LAG.
    lagState String
    The state of the LAG.
    id string
    The provider-assigned unique ID for this managed resource.
    lagArn string
    The ARN of the LAG.
    lagId string
    The ID of the LAG.
    lagState string
    The state of the LAG.
    id str
    The provider-assigned unique ID for this managed resource.
    lag_arn str
    The ARN of the LAG.
    lag_id str
    The ID of the LAG.
    lag_state str
    The state of the LAG.
    id String
    The provider-assigned unique ID for this managed resource.
    lagArn String
    The ARN of the LAG.
    lagId String
    The ID of the LAG.
    lagState String
    The state of the LAG.

    Supporting Types

    Tag, TagArgs

    A set of tags to apply to the resource.
    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.