DirectConnectGateway class

Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.

  • @_s.JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)


DirectConnectGateway({int amazonSideAsn, String directConnectGatewayId, String directConnectGatewayName, DirectConnectGatewayState directConnectGatewayState, String ownerAccount, String stateChangeError})
DirectConnectGateway.fromJson(Map<String, dynamic> json)


amazonSideAsn int
The autonomous system number (ASN) for the Amazon side of the connection.
@_s.JsonKey(name: 'amazonSideAsn'), final
directConnectGatewayId String
The ID of the Direct Connect gateway.
@_s.JsonKey(name: 'directConnectGatewayId'), final
directConnectGatewayName String
The name of the Direct Connect gateway.
@_s.JsonKey(name: 'directConnectGatewayName'), final
directConnectGatewayState DirectConnectGatewayState
The state of the Direct Connect gateway. The following are the possible values: [...]
@_s.JsonKey(name: 'directConnectGatewayState'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
ownerAccount String
The ID of the AWS account that owns the Direct Connect gateway.
@_s.JsonKey(name: 'ownerAccount'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stateChangeError String
The error message if the state of an object failed to advance.
@_s.JsonKey(name: 'stateChangeError'), final


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]