Show / Hide Table of Contents

Class CfnLifecyclePolicyPropsMixin.LastLaunchedProperty

Defines criteria to exclude AMIs from lifecycle actions based on the last time they were used to launch an instance.

Inheritance
object
CfnLifecyclePolicyPropsMixin.LastLaunchedProperty
Implements
CfnLifecyclePolicyPropsMixin.ILastLaunchedProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnLifecyclePolicyPropsMixin.LastLaunchedProperty : CfnLifecyclePolicyPropsMixin.ILastLaunchedProperty
Syntax (vb)
Public Class CfnLifecyclePolicyPropsMixin.LastLaunchedProperty Implements CfnLifecyclePolicyPropsMixin.ILastLaunchedProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-lastlaunched.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins;

             var lastLaunchedProperty = new LastLaunchedProperty {
                 Unit = "unit",
                 Value = 123
             };

Synopsis

Constructors

LastLaunchedProperty()

Defines criteria to exclude AMIs from lifecycle actions based on the last time they were used to launch an instance.

Properties

Unit

Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI.

Value

The integer number of units for the time period.

Constructors

LastLaunchedProperty()

Defines criteria to exclude AMIs from lifecycle actions based on the last time they were used to launch an instance.

public LastLaunchedProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-lastlaunched.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.ImageBuilder.Mixins;

             var lastLaunchedProperty = new LastLaunchedProperty {
                 Unit = "unit",
                 Value = 123
             };

Properties

Unit

Defines the unit of time that the lifecycle policy uses to calculate elapsed time since the last instance launched from the AMI.

public string? Unit { get; set; }
Property Value

string

Remarks

For example: days, weeks, months, or years.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-lastlaunched.html#cfn-imagebuilder-lifecyclepolicy-lastlaunched-unit

Value

The integer number of units for the time period.

public double? Value { get; set; }
Property Value

double?

Remarks

For example 6 (months).

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-lastlaunched.html#cfn-imagebuilder-lifecyclepolicy-lastlaunched-value

Implements

CfnLifecyclePolicyPropsMixin.ILastLaunchedProperty
Back to top Generated by DocFX