[ aws . acm ]

get-inventory-configuration

Description

Returns the organization’s configuration for Certificate inventory for organizations. The certificate inventory is the set of certificates observed in the organization’s accounts. The configuration says which Regions and accounts are collected, how long data is kept, and whether collection is on. It also shows how far setup has progressed, the organization’s AWS Certificate Manager (ACM) plan (Essentials or Pro), and whether Certificate actions for organizations are on. Certificate actions are the operations that act on certificates and certificate authorities in the organization’s member accounts.

The caller must be the organization’s management account or its delegated administrator. If the caller’s account is not in an organization, or the caller is neither of these accounts, the operation returns AccessDeniedException. The message names the unmet condition. Before the first PutInventoryConfiguration call, the operation returns ResourceNotFoundException.

See also: AWS API Documentation

Synopsis

  get-inventory-configuration
[--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

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

Configuration -> (structure)

The organization’s inventory configuration.

RegionalScope -> (structure) [required]

The Regions collected from.

Mode -> (string) [required]

How the Regions list is applied.

Possible values:

  • ALL_REGIONS
  • INCLUDE
  • EXCLUDE

Regions -> (list)

The Regions to include or exclude. Required when Mode is INCLUDE or EXCLUDE, and not allowed when Mode is ALL_REGIONS.

Constraints:

  • min: 1
  • max: 100

(string)

An AWS Region code, such as us-west-2.

Constraints:

  • min: 6
  • max: 32
  • pattern: [a-z]{2,4}(-[a-z]+)+-[0-9]+

AccountScope -> (structure) [required]

The accounts collected from.

Mode -> (string) [required]

How AccountIds and OrganizationalUnitIds are applied.

Possible values:

  • ALL_ACCOUNTS
  • INCLUDE
  • EXCLUDE

OrganizationalUnitIds -> (list)

The organizational units to include or exclude.

Constraints:

  • min: 0
  • max: 100

(string)

An organizational unit ID, such as ou-ab12-cd34ef56.

Constraints:

  • min: 16
  • max: 68
  • pattern: ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}

AccountIds -> (list)

The accounts to include or exclude.

Constraints:

  • min: 0
  • max: 500

(string)

A 12-digit AWS account ID, such as 111122223333.

Constraints:

  • min: 12
  • max: 12
  • pattern: [0-9]{12}

DataRetentionDays -> (integer) [required]

How many days inventory data is kept.

Status -> (string) [required]

Whether collection is on. After a DISABLED request while the organization has an ACM plan, Status stays ENABLED until the plan ends at the end of the billing period.

Possible values:

  • ENABLED
  • DISABLED

ProvisioningStatus -> (string) [required]

How far setup of the current configuration has progressed in the organization’s accounts.

Possible values:

  • ENABLING
  • ENABLED
  • DISABLING
  • DISABLED
  • FAILED

ProvisioningStatusReason -> (structure)

Why setup failed. Present only when ProvisioningStatus is FAILED.

Code -> (string) [required]

The cause, as a code.

Possible values:

  • TRUSTED_ACCESS_DISABLED
  • INTERNAL_FAILURE

Message -> (string)

The cause and what to do about it, for a person to read.

HomeRegion -> (string) [required]

The home Region: the Region where the configuration is managed. It is the Region of the first PutInventoryConfiguration call.

Constraints:

  • min: 6
  • max: 32
  • pattern: [a-z]{2,4}(-[a-z]+)+-[0-9]+

LifecycleManagement -> (structure) [required]

The state of Certificate actions for organizations. Certificate actions are the operations that act on certificates and certificate authorities in the organization’s member accounts, such as RenewMemberCertificate. Status is DISABLED until certificate actions are first turned on.

Status -> (string) [required]

Whether Certificate actions for organizations are on. Certificate actions are the operations that act on certificates and certificate authorities in the organization’s member accounts, such as RenewMemberCertificate. DISABLED until they are first turned on.

Possible values:

  • ENABLED
  • DISABLED

ProvisioningStatus -> (string) [required]

How far setup of Certificate actions for organizations has progressed in the organization’s member accounts.

Possible values:

  • ENABLING
  • ENABLED
  • DISABLING
  • DISABLED
  • FAILED

ProvisioningStatusReason -> (structure)

Why setup failed. Present only when ProvisioningStatus is FAILED.

Code -> (string) [required]

The cause, as a code.

Possible values:

  • TRUSTED_ACCESS_DISABLED
  • INTERNAL_FAILURE

Message -> (string)

The cause and what to do about it, for a person to read.

ExpiryNotification -> (structure) [required]

Certificate expiry notifications as stored. Until they are configured, Enabled is false, LeadTimeDays is 7, and Frequency is ONCE.

Enabled -> (boolean)

Whether notifications are sent. Defaults to false. When true, Channel and TopicArn are required.

Channel -> (string)

Where notifications are delivered. Set together with TopicArn.

Possible values:

  • SNS

TopicArn -> (string)

The Amazon SNS topic to publish to. Set together with Channel.

Constraints:

  • min: 1
  • max: 1024
  • pattern: arn:aws(-[a-z]+)*:sns:[a-z]{2,}(-[a-z]+)+-[0-9]+:[0-9]{12}:([A-Za-z0-9_-]{1,256}|[A-Za-z0-9_-]{1,251}\.fifo)

LeadTimeDays -> (integer)

Days before NotAfter that notifications start: 7, 30, 60, or 90. Defaults to 7.

Constraints:

  • min: 7
  • max: 90

Frequency -> (string)

How often a notification is sent for a certificate within LeadTimeDays. Defaults to ONCE.

Possible values:

  • ONCE
  • DAILY
  • WEEKLY

LastDeliveryStatus -> (structure)

The latest verification or delivery outcome for ExpiryNotification. Absent while inventory Status is DISABLED or notifications are off.

Status -> (string) [required]

The latest outcome.

Possible values:

  • PENDING_VERIFICATION
  • VERIFIED
  • VERIFICATION_FAILED
  • DELIVERED
  • DELIVERY_FAILED

UpdatedAt -> (timestamp)

When Status last changed. Can be absent while PENDING_VERIFICATION.

Message -> (string)

Why verification or delivery failed. Present only for VERIFICATION_FAILED and DELIVERY_FAILED.

Constraints:

  • min: 0
  • max: 1024

InventoryTierConfiguration -> (structure)

The organization’s ACM plan. Present while the organization has a plan or one is being applied, and while a scheduled change is pending. Absent when the organization has no plan. Only GetInventoryConfiguration returns it. PutInventoryConfiguration never does.

Tier -> (string) [required]

The plan in effect, or, while Status is PENDING, the plan being applied.

Possible values:

  • ESSENTIALS
  • PRO

Status -> (string) [required]

PENDING while a requested plan is not yet in effect, usually for a few seconds after PutInventoryConfiguration. ACTIVE after the plan takes effect. A scheduled downgrade or end of the plan shows as ACTIVE with a ScheduledChange.

Possible values:

  • PENDING
  • ACTIVE

ScheduledChange -> (structure)

A change that is scheduled but not yet in effect: a move to a lower plan, or the end of the plan. Absent when no change is scheduled.

Tier -> (string)

The lower plan that takes effect. Absent when the plan ends with no plan to follow.

Possible values:

  • ESSENTIALS
  • PRO

EffectiveAt -> (timestamp) [required]

When the change takes effect.