Cookie の設定を選択する

当社は、当社のサイトおよびサービスを提供するために必要な必須 Cookie および類似のツールを使用しています。当社は、パフォーマンス Cookie を使用して匿名の統計情報を収集することで、お客様が当社のサイトをどのように利用しているかを把握し、改善に役立てています。必須 Cookie は無効化できませんが、[カスタマイズ] または [拒否] をクリックしてパフォーマンス Cookie を拒否することはできます。

お客様が同意した場合、AWS および承認された第三者は、Cookie を使用して便利なサイト機能を提供したり、お客様の選択を記憶したり、関連する広告を含む関連コンテンツを表示したりします。すべての必須ではない Cookie を受け入れるか拒否するには、[受け入れる] または [拒否] をクリックしてください。より詳細な選択を行うには、[カスタマイズ] をクリックしてください。

LifecyclePolicyDetailFilter - EC2 Image Builder
このページはお客様の言語に翻訳されていません。 翻訳のリクエスト

LifecyclePolicyDetailFilter

Defines filters that the lifecycle policy uses to determine impacted resource.

Contents

type

Filter resources based on either age or count.

Type: String

Valid Values: AGE | COUNT

Required: Yes

value

The number of units for the time period or for the count. For example, a value of 6 might refer to six months or six AMIs.

Note

For count-based filters, this value represents the minimum number of resources to keep on hand. If you have fewer resources than this number, the resource is excluded from lifecycle actions.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 1000.

Required: Yes

retainAtLeast

For age-based filters, this is the number of resources to keep on hand after the lifecycle DELETE action is applied. Impacted resources are only deleted if you have more than this number of resources. If you have fewer resources than this number, the impacted resource is not deleted.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 10.

Required: No

unit

Defines the unit of time that the lifecycle policy uses to determine impacted resources. This is required for age-based rules.

Type: String

Valid Values: DAYS | WEEKS | MONTHS | YEARS

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

プライバシーサイト規約Cookie の設定
© 2025, Amazon Web Services, Inc. or its affiliates.All rights reserved.