OS Manuals

/usr/bin/cfn-elect-cmd-leader

CloudFormation helper scripts

From aws-cfn-bootstrap 2.0.42-r0 (enterprise-packages), captured 2026-11-08 by running cfn-elect-cmd-leader --help (exit 0). permalink

Usage: cfn-elect-cmd-leader [options]

Options:
  -h, --help            show this help message and exit
  -s STACK_NAME, --stack=STACK_NAME
                        A CloudFormation stack
  -c COMMAND_NAME, --command-name=COMMAND_NAME
                        The command name
  -i INVOCATION_ID, --invocation-id=INVOCATION_ID
                        The invocation ID
  -l LISTENER_ID, --listener-id=LISTENER_ID
                        The listener ID
  -u ENDPOINT, --url=ENDPOINT
                        The CloudFormation service URL. The endpoint URL must match the region
                        option. Use of this parameter is discouraged.
  --region=REGION       The CloudFormation region. Default: us-east-1.
  -v, --verbose         Enables verbose logging

  AWS Credentials:
    Options for specifying AWS Account Credentials.

    -f CREDENTIAL_FILE, --credential-file=CREDENTIAL_FILE
                        A credential file, readable only by the owner, with keys 'AWSAccessKeyId'
                        and 'AWSSecretKey'
    --role=IAM_ROLE     An IAM Role
    --access-key=ACCESS_KEY
                        An AWS Access Key
    --secret-key=SECRET_KEY
                        An AWS Secret Key

  Proxy:
    Options for specifying proxies. Format: [scheme://][user:password@]host:port

    --http-proxy=HTTP_PROXY
                        A (non-SSL) HTTP proxy
    --https-proxy=HTTPS_PROXY
                        An HTTPS proxy
Options (14)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-s, --stack STACK_NAMEA CloudFormation stackhelp
-c, --command-name COMMAND_NAMEThe command namehelp
-i, --invocation-id INVOCATION_IDThe invocation IDhelp
-l, --listener-id LISTENER_IDThe listener IDhelp
-u, --url ENDPOINTThe CloudFormation service URL.help
--region REGIONThe CloudFormation region.help
-v, --verboseEnables verbose logginghelp
-f, --credential-file CREDENTIAL_FILEA credential file, readable only by the owner, with keys 'AWSAccessKeyId' and 'AWSSecretKey'help
--role IAM_ROLEAn IAM Rolehelp
--access-key ACCESS_KEYAn AWS Access Keyhelp
--secret-key SECRET_KEYAn AWS Secret Keyhelp
--http-proxy HTTP_PROXYA (non-SSL) HTTP proxyhelp
--https-proxy HTTPS_PROXYAn HTTPS proxyhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.