AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateLifecyclePolicy operation. Create a lifecycle policy resource.
Namespace: Amazon.Imagebuilder.Model
Assembly: AWSSDK.Imagebuilder.dll
Version: 3.x.y.z
public class CreateLifecyclePolicyRequest : AmazonImagebuilderRequest IAmazonWebServiceRequest
The CreateLifecyclePolicyRequest type exposes the following members
Name | Description | |
---|---|---|
CreateLifecyclePolicyRequest() |
Name | Type | Description | |
---|---|---|---|
ClientToken | System.String |
Gets and sets the property ClientToken. Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference. |
|
Description | System.String |
Gets and sets the property Description. Optional description for the lifecycle policy. |
|
ExecutionRole | System.String |
Gets and sets the property ExecutionRole. The name or Amazon Resource Name (ARN) for the IAM role you create that grants Image Builder access to run lifecycle actions. |
|
Name | System.String |
Gets and sets the property Name. The name of the lifecycle policy to create. |
|
PolicyDetails | System.Collections.Generic.List<Amazon.Imagebuilder.Model.LifecyclePolicyDetail> |
Gets and sets the property PolicyDetails. Configuration details for the lifecycle policy rules. |
|
ResourceSelection | Amazon.Imagebuilder.Model.LifecyclePolicyResourceSelection |
Gets and sets the property ResourceSelection. Selection criteria for the resources that the lifecycle policy applies to. |
|
ResourceType | Amazon.Imagebuilder.LifecyclePolicyResourceType |
Gets and sets the property ResourceType. The type of Image Builder resource that the lifecycle policy applies to. |
|
Status | Amazon.Imagebuilder.LifecyclePolicyStatus |
Gets and sets the property Status. Indicates whether the lifecycle policy resource is enabled. |
|
Tags | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Tags. Tags to apply to the lifecycle policy resource. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5