AWS SDK Version 3 for .NET
API Reference

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Imagebuilder.AmazonImagebuilderRequest
      Amazon.Imagebuilder.Model.CreateLifecyclePolicyRequest

Namespace: Amazon.Imagebuilder.Model
Assembly: AWSSDK.Imagebuilder.dll
Version: 3.x.y.z

Syntax

C#
public class CreateLifecyclePolicyRequest : AmazonImagebuilderRequest
         IAmazonWebServiceRequest

The CreateLifecyclePolicyRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property 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.

Public Property Description System.String

Gets and sets the property Description.

Optional description for the lifecycle policy.

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

Public Property Name System.String

Gets and sets the property Name.

The name of the lifecycle policy to create.

Public Property PolicyDetails System.Collections.Generic.List<Amazon.Imagebuilder.Model.LifecyclePolicyDetail>

Gets and sets the property PolicyDetails.

Configuration details for the lifecycle policy rules.

Public Property ResourceSelection Amazon.Imagebuilder.Model.LifecyclePolicyResourceSelection

Gets and sets the property ResourceSelection.

Selection criteria for the resources that the lifecycle policy applies to.

Public Property ResourceType Amazon.Imagebuilder.LifecyclePolicyResourceType

Gets and sets the property ResourceType.

The type of Image Builder resource that the lifecycle policy applies to.

Public Property Status Amazon.Imagebuilder.LifecyclePolicyStatus

Gets and sets the property Status.

Indicates whether the lifecycle policy resource is enabled.

Public Property Tags System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property Tags.

Tags to apply to the lifecycle policy resource.

Version Information

.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