Show / Hide Table of Contents

Interface CfnLifecyclePolicy.ILastLaunchedProperty

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

Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLifecyclePolicy.ILastLaunchedProperty
Syntax (vb)
Public Interface CfnLifecyclePolicy.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.AWS.ImageBuilder;

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

Synopsis

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.

Properties

Unit

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

string Unit { get; }
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.

double Value { get; }
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

Back to top Generated by DocFX