[ aws . elb-proxy ]

create-proxy

Description

Creates a proxy. A proxy is a fully managed, Envoy-based proxy that runs your Envoy configuration on Amazon EC2 instances inside your own virtual private cloud (VPC). AWS provisions and scales the proxy, upgrades the Envoy version, patches the operating system, and monitors its health.

See also: AWS API Documentation

Synopsis

  create-proxy
--name <value>
--type <value>
--proxy-version <value>
--role-arn <value>
--configuration <value>
--network-configuration <value>
[--attributes <value>]
[--customer-kms-key-arn <value>]
[--tags <value>]
[--client-token <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>]
[--help]

Options

--name (string) [required]

The name of the proxy. The name must be unique within your account for the Region. The valid characters are a-z, 0-9, and hyphens (-). You can’t use a hyphen as the first or last character.

Constraints:

  • min: 1
  • max: 32
  • pattern: .*(^[a-zA-Z0-9]+$|^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$).*

--type (string) [required]

The type of proxy.

Possible values:

  • envoy

--proxy-version (string) [required]

The version of the proxy software, in major.minor format.

Constraints:

  • min: 1
  • max: 64
  • pattern: \d+\.\d+

--role-arn (string) [required]

The Amazon Resource Name (ARN) of the IAM role that provides permissions to the code that your Envoy configuration runs on the proxy, such as filters and extensions. These are the permissions that this code needs when it calls AWS services.

Constraints:

  • min: 20
  • max: 2048
  • pattern: arn:[a-z-]+:iam::[0-9]{12}:role/.+

--configuration (structure) [required]

The configuration for the proxy.

configurationFile -> (structure)

The configuration file for the proxy.

configurationBytes -> (blob) [required]

The contents of the configuration file.

Constraints:

  • min: 0
  • max: 1048576

configurationArchive -> (structure)

The configuration archive for the proxy. This is a bundle of the files referenced by the configuration file.

configurationBytes -> (blob) [required]

The contents of the configuration archive.

Constraints:

  • min: 0
  • max: 52428800

Shorthand Syntax:

configurationFile={configurationBytes=blob},configurationArchive={configurationBytes=blob}

JSON Syntax:

{
  "configurationFile": {
    "configurationBytes": blob
  },
  "configurationArchive": {
    "configurationBytes": blob
  }
}

--network-configuration (structure) [required]

The network configuration for the proxy.

ipConfiguration -> (structure) [required]

The IP configuration for the proxy.

ipAddressingConfiguration -> (structure) [required]

The IP addressing configuration for the proxy.

ipv4Addressability -> (string) [required]

The IPv4 addressability setting for the proxy.

Possible values:

  • off
  • internet-facing
  • internal

ipv6Addressability -> (string) [required]

The IPv6 addressability setting for the proxy.

Possible values:

  • off
  • internet-facing
  • internal

vpcConfiguration -> (structure) [required]

The VPC configuration for the proxy.

subnets -> (list) [required]

The subnets used by the proxy.

Constraints:

  • min: 1

(structure)

The details of a subnet.

subnetId -> (string) [required]

The ID of the subnet.

Constraints:

  • min: 1
  • max: 1024
  • pattern: subnet-.+

securityGroups -> (list) [required]

The security groups used by the proxy.

Constraints:

  • min: 1

(structure)

The details of a security group.

securityGroupId -> (string) [required]

The ID of the security group.

Constraints:

  • min: 1
  • max: 1024
  • pattern: sg-.+

JSON Syntax:

{
  "ipConfiguration": {
    "ipAddressingConfiguration": {
      "ipv4Addressability": "off"|"internet-facing"|"internal",
      "ipv6Addressability": "off"|"internet-facing"|"internal"
    }
  },
  "vpcConfiguration": {
    "subnets": [
      {
        "subnetId": "string"
      }
      ...
    ],
    "securityGroups": [
      {
        "securityGroupId": "string"
      }
      ...
    ]
  }
}

--attributes (list)

The attributes for the proxy. Attributes can be changed after creation. Attributes that you don’t specify are set to their default values.

(structure)

A key-value attribute for a proxy.

key -> (string) [required]

The key of the attribute.

Constraints:

  • min: 1
  • max: 1024

value -> (string) [required]

The value of the attribute.

Constraints:

  • min: 0
  • max: 2048

Shorthand Syntax:

key=string,value=string ...

JSON Syntax:

[
  {
    "key": "string",
    "value": "string"
  }
  ...
]

--customer-kms-key-arn (string)

The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy’s configuration content. If you don’t specify a key, the default service-owned key is used.

Constraints:

  • min: 1
  • max: 2048
  • pattern: arn:[a-z-]+:kms:[a-z0-9-]+:[0-9]{12}:key/(mrk-)?[a-f0-9-]+

--tags (map)

The tags for the proxy.

Constraints:

  • min: 0
  • max: 200

key -> (string)

The key of a tag.

Constraints:

  • min: 1
  • max: 128

value -> (string)

The value of a tag.

Constraints:

  • min: 0
  • max: 256

Shorthand Syntax:

KeyName1=string,KeyName2=string

JSON Syntax:

{"string": "string"
  ...}

--client-token (string)

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Constraints:

  • min: 1
  • max: 64
  • pattern: [!-~]+

--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.

Global Options

--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.

  • json
  • text
  • table
  • yaml
  • yaml-stream
  • off

--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.

  • on
  • off
  • auto

--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.

  • base64
  • raw-in-base64-out

--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.

  • legacy
  • json
  • yaml
  • text
  • table
  • enhanced

--help (boolean)

Display help for the command/subcommand.

Output

arn -> (string)

The Amazon Resource Name (ARN) of the proxy.

Constraints:

  • min: 1
  • max: 2048

name -> (string)

The name of the proxy.

Constraints:

  • min: 1
  • max: 32
  • pattern: .*(^[a-zA-Z0-9]+$|^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$).*

type -> (string)

The type of proxy.

Possible values:

  • envoy

proxyVersion -> (string)

The version of the proxy software.

Constraints:

  • min: 1
  • max: 64
  • pattern: \d+\.\d+

dnsName -> (string)

The DNS name of the proxy.

roleArn -> (string)

The Amazon Resource Name (ARN) of the IAM role that provides permissions to the code that your Envoy configuration runs on the proxy, such as filters and extensions. These are the permissions that this code needs when it calls AWS services.

Constraints:

  • min: 20
  • max: 2048
  • pattern: arn:[a-z-]+:iam::[0-9]{12}:role/.+

networkConfiguration -> (structure)

The network configuration for the proxy.

ipConfiguration -> (structure) [required]

The IP configuration for the proxy.

ipAddressingConfiguration -> (structure) [required]

The IP addressing configuration for the proxy.

ipv4Addressability -> (string) [required]

The IPv4 addressability setting for the proxy.

Possible values:

  • off
  • internet-facing
  • internal

ipv6Addressability -> (string) [required]

The IPv6 addressability setting for the proxy.

Possible values:

  • off
  • internet-facing
  • internal

vpcConfiguration -> (structure) [required]

The VPC configuration for the proxy.

vpcId -> (string)

The ID of the VPC.

availabilityZones -> (list) [required]

The Availability Zones used by the proxy.

(structure)

A subnet and its associated Availability Zone.

subnetId -> (string) [required]

The ID of the subnet.

Constraints:

  • min: 1
  • max: 1024
  • pattern: subnet-.+

zoneId -> (string) [required]

The ID of the Availability Zone.

zoneName -> (string)

The name of the Availability Zone (for example, us-east-1a ).

securityGroups -> (list) [required]

The security groups used by the proxy.

Constraints:

  • min: 1

(structure)

The details of a security group.

securityGroupId -> (string) [required]

The ID of the security group.

Constraints:

  • min: 1
  • max: 1024
  • pattern: sg-.+

status -> (structure)

The status of the proxy.

code -> (string) [required]

The status code of the proxy.

Possible values:

  • action-required
  • active
  • create-failed
  • create-in-progress
  • deleted
  • delete-in-progress
  • update-in-progress
  • cancel-update-in-progress

reasons -> (list) [required]

The reasons for the current status of the proxy.

(structure)

A reason for the current status of a proxy.

code -> (string) [required]

The status reason code.

target -> (string)

The target resource of the status reason.

message -> (string)

The status reason message.

configurationMetadata -> (structure)

The configuration metadata for the proxy.

configFileHash -> (string)

The SHA-256 hash of the configuration file.

configArchiveHash -> (string)

The SHA-256 hash of the configuration archive. This value is absent when the proxy does not have a configuration archive.

configFileLastUpdatedAt -> (timestamp)

The date and time that the configuration file was last updated.

configArchiveLastUpdatedAt -> (timestamp)

The date and time that the configuration archive was last updated.

createdAt -> (timestamp)

The date and time that the proxy was created.

customerKmsKeyArn -> (string)

The Amazon Resource Name (ARN) of the customer managed KMS key used to encrypt the proxy’s configuration content. This value is absent when the proxy uses the default service-owned key.

Constraints:

  • min: 1
  • max: 2048
  • pattern: arn:[a-z-]+:kms:[a-z0-9-]+:[0-9]{12}:key/(mrk-)?[a-f0-9-]+