| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Swaps the CNAMEs of two environments.
elastic-beanstalk-swap-environment-cnames
[-s [
name] |
-S [desc]]
[-d [desc] |
-D [desc]]
| Name | Description | Required |
|---|---|---|
|
|
The name of the source environment. Type: String Default: None |
Conditional |
|
|
The ID of the source environment. Type: String Default: None |
Conditional |
|
|
The name of the destination environment. Type: String Default: None |
Conditional |
|
|
The ID of the destination environment. Type: String Default: None |
Conditional |
This example shows how to swap the CNAME for two environments.
PROMPT> elastic-beanstalk-swap-environment-cnames -s MySampleAppEnv -d MySampleAppEnv2