Modify Transit Gateway Vpc Attachment
| ec2_modify_transit_gateway_vpc_attachment | R Documentation |
Modifies the specified VPC attachment¶
Description¶
Modifies the specified VPC attachment.
Usage¶
ec2_modify_transit_gateway_vpc_attachment(TransitGatewayAttachmentId,
AddSubnetIds, RemoveSubnetIds, Options, DryRun)
Arguments¶
TransitGatewayAttachmentId[required] The ID of the attachment.
AddSubnetIdsThe IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
RemoveSubnetIdsThe IDs of one or more subnets to remove.
OptionsThe new VPC attachment options.
DryRunChecks 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.
Value¶
A list with the following syntax:
list(
TransitGatewayVpcAttachment = list(
TransitGatewayAttachmentId = "string",
TransitGatewayId = "string",
VpcId = "string",
VpcOwnerId = "string",
State = "initiating"|"initiatingRequest"|"pendingAcceptance"|"rollingBack"|"pending"|"available"|"modifying"|"deleting"|"deleted"|"failed"|"rejected"|"rejecting"|"failing",
SubnetIds = list(
"string"
),
CreationTime = as.POSIXct(
"2015-01-01"
),
Options = list(
DnsSupport = "enable"|"disable",
SecurityGroupReferencingSupport = "enable"|"disable",
Ipv6Support = "enable"|"disable",
ApplianceModeSupport = "enable"|"disable"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
Request syntax¶
svc$modify_transit_gateway_vpc_attachment(
TransitGatewayAttachmentId = "string",
AddSubnetIds = list(
"string"
),
RemoveSubnetIds = list(
"string"
),
Options = list(
DnsSupport = "enable"|"disable",
SecurityGroupReferencingSupport = "enable"|"disable",
Ipv6Support = "enable"|"disable",
ApplianceModeSupport = "enable"|"disable"
),
DryRun = TRUE|FALSE
)