create_transit_gateway_connect
¶
create_transit_gateway_connect(
*,
config_overrides: Optional[EC2ClientConfig] = None,
transport_transit_gateway_attachment_id: Optional[
TransitGatewayAttachmentId
] = None,
options: Optional[CreateTransitGatewayConnectRequestOptions] = None,
tag_specifications: Optional[TagSpecificationList] = None,
dry_run: Optional[Boolean] = None,
) -> CreateTransitGatewayConnectResult
Creates a Connect attachment from a specified transit gateway attachment. A Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a transit gateway and an appliance.
A Connect attachment uses an existing VPC or Amazon Web Services Direct Connect attachment as the underlying transport mechanism.
Parameters:
-
transport_transit_gateway_attachment_id(Optional[TransitGatewayAttachmentId], default:None) –The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.
-
options(Optional[CreateTransitGatewayConnectRequestOptions], default:None) –The Connect attachment options.
-
tag_specifications(Optional[TagSpecificationList], default:None) –The tags to apply to the Connect attachment.
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 | |