CfnConnectionProps
- class aws_cdk.aws_directconnect.CfnConnectionProps(*, bandwidth, connection_name, location, lag_id=None, provider_name=None, request_mac_sec=None, tags=None)
Bases:
objectProperties for defining a
CfnConnection.- Parameters:
bandwidth (
str) – The bandwidth of the connection.connection_name (
str) – The name of the connection.location (
str) – The location of the connection.lag_id (
Union[str,ILagRef,None])provider_name (
Optional[str]) – The name of the service provider associated with the requested connection.request_mac_sec (
Union[bool,IResolvable,None]) – Indicates whether you want the connection to support MAC Security (MACsec).tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – The tags associated with the connection.
- See:
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_directconnect as directconnect cfn_connection_props = directconnect.CfnConnectionProps( bandwidth="bandwidth", connection_name="connectionName", location="location", # the properties below are optional lag_id="lagId", provider_name="providerName", request_mac_sec=False, tags=[CfnTag( key="key", value="value" )] )
Attributes
- bandwidth
The bandwidth of the connection.
- connection_name
The name of the connection.
- lag_id
-
- Type:
see
- location
The location of the connection.
- provider_name
The name of the service provider associated with the requested connection.
- request_mac_sec
Indicates whether you want the connection to support MAC Security (MACsec).
- tags
The tags associated with the connection.