[ aws . devops-agent ]
create-private-connection
--name <value>
--mode <value>
[--tags <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
--name (string) [required]
Unique name for this Private Connection within the account.
Constraints:
- min:
3- max:
30- pattern:
[a-z0-9]([a-z0-9-]*[a-z0-9])?
--mode (tagged union structure) [required]
Private Connection mode configuration.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:serviceManaged,selfManaged.serviceManaged -> (structure)
Service manages the Resource Gateway lifecycle.
hostAddress -> (string) [required]
IP address or DNS name of the target resource.
Constraints:
- min:
3- max:
255- pattern:
[a-zA-Z0-9.:\-]+vpcId -> (string) [required]
VPC to create the service-managed Resource Gateway in.
Constraints:
- min:
5- max:
50- pattern:
vpc-(([0-9a-z]{8})|([0-9a-z]{17}))subnetIds -> (list) [required]
Subnets that the service-managed Resource Gateway will span.
Constraints:
- min:
1- max:
20(string)
Subnet identifier.
Constraints:
- min:
15- max:
24- pattern:
subnet-(([0-9a-z]{8})|([0-9a-z]{17}))securityGroupIds -> (list)
Security groups to attach to the service-managed Resource Gateway. If not specified, a default security group is created.
Constraints:
- min:
1- max:
5(string)
Security group identifier.
Constraints:
- min:
11- max:
20- pattern:
sg-(([0-9a-z]{8})|([0-9a-z]{17}))ipAddressType -> (string)
IP address type of the service-managed Resource Gateway.
Possible values:
IPV4IPV6DUAL_STACKipv4AddressesPerEni -> (integer)
Number of IPv4 addresses in each ENI for the service-managed Resource Gateway.
Constraints:
- min:
1- max:
62portRanges -> (list)
TCP port ranges that a consumer can use to access the resource.
Constraints:
- min:
1- max:
11(string)
TCP port range expression (single port or range e.g. ‘443’ or ‘8080-8090’). Valid port values are 1-65535, enforced at runtime.
Constraints:
- min:
1- pattern:
((\d{1,5}\-\d{1,5})|(\d+))certificate -> (string)
Certificate for the Private Connection.
Constraints:
- min:
1- max:
32768selfManaged -> (structure)
Caller manages their own resource configuration.
resourceConfigurationId -> (string) [required]
The ARN of the Resource Configuration.
Constraints:
- min:
20- max:
2048- pattern:
arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourceconfiguration/rcfg-[0-9a-z]{17}certificate -> (string)
Certificate for the Private Connection.
Constraints:
- min:
1- max:
32768
Shorthand Syntax:
serviceManaged={hostAddress=string,vpcId=string,subnetIds=[string,string],securityGroupIds=[string,string],ipAddressType=string,ipv4AddressesPerEni=integer,portRanges=[string,string],certificate=string},selfManaged={resourceConfigurationId=string,certificate=string}
JSON Syntax:
{
"serviceManaged": {
"hostAddress": "string",
"vpcId": "string",
"subnetIds": ["string", ...],
"securityGroupIds": ["string", ...],
"ipAddressType": "IPV4"|"IPV6"|"DUAL_STACK",
"ipv4AddressesPerEni": integer,
"portRanges": ["string", ...],
"certificate": "string"
},
"selfManaged": {
"resourceConfigurationId": "string",
"certificate": "string"
}
}
--tags (map)
Tags to add to the Private Connection at creation time.
key -> (string)
Tag key string.
Constraints:
- min:
1- max:
128- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]*value -> (string)
Tag value string.
Constraints:
- min:
0- max:
256- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]*
Shorthand Syntax:
KeyName1=string,KeyName2=string
JSON Syntax:
{"string": "string"
...}
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
--cli-error-format (string)
The formatting style for error output. By default, errors are displayed in enhanced format.
name -> (string)
The name of the Private Connection.
Constraints:
- min:
3- max:
30- pattern:
[a-z0-9]([a-z0-9-]*[a-z0-9])?
type -> (string)
The type of the Private Connection.
Possible values:
SELF_MANAGEDSERVICE_MANAGED
resourceGatewayId -> (string)
The service-managed Resource Gateway ARN. Only present for service-managed Private Connections.
Constraints:
- min:
20- max:
2048- pattern:
arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourcegateway/rgw-[0-9a-z]{17}
hostAddress -> (string)
IP address or DNS name of the target resource. Only present for service-managed Private Connections.
Constraints:
- min:
3- max:
255- pattern:
[a-zA-Z0-9.:\-]+
vpcId -> (string)
VPC identifier of the service-managed Resource Gateway. Only present for service-managed Private Connections.
Constraints:
- min:
5- max:
50- pattern:
vpc-(([0-9a-z]{8})|([0-9a-z]{17}))
resourceConfigurationId -> (string)
The Resource Configuration ARN. Only present for self-managed Private Connections.
Constraints:
- min:
20- max:
2048- pattern:
arn:[a-z0-9\-]+:vpc-lattice:[a-zA-Z0-9\-]+:\d{12}:resourceconfiguration/rcfg-[0-9a-z]{17}
status -> (string)
The status of the Private Connection.
Possible values:
ACTIVECREATE_IN_PROGRESSCREATE_FAILEDDELETE_IN_PROGRESSDELETE_FAILED
certificateExpiryTime -> (timestamp)
The expiry time of the certificate associated with the Private Connection. Only present when a certificate is associated.
tags -> (map)
Tags associated with the created Private Connection.
key -> (string)
Tag key string.
Constraints:
- min:
1- max:
128- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]*value -> (string)
Tag value string.
Constraints:
- min:
0- max:
256- pattern:
[\p{L}\p{Z}\p{N}_.:/=+\-@]*