Show / Hide Table of Contents

Class CfnLifecyclePolicy.AmiExclusionRulesProperty

Defines criteria for AMIs that are excluded from lifecycle actions.

Inheritance
object
CfnLifecyclePolicy.AmiExclusionRulesProperty
Implements
CfnLifecyclePolicy.IAmiExclusionRulesProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnLifecyclePolicy.AmiExclusionRulesProperty : CfnLifecyclePolicy.IAmiExclusionRulesProperty
Syntax (vb)
Public Class CfnLifecyclePolicy.AmiExclusionRulesProperty Implements CfnLifecyclePolicy.IAmiExclusionRulesProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-amiexclusionrules.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 amiExclusionRulesProperty = new AmiExclusionRulesProperty {
                 IsPublic = false,
                 LastLaunched = new LastLaunchedProperty {
                     Unit = "unit",
                     Value = 123
                 },
                 Regions = new [] { "regions" },
                 SharedAccounts = new [] { "sharedAccounts" },
                 TagMap = new Dictionary<string, string> {
                     { "tagMapKey", "tagMap" }
                 }
             };

Synopsis

Constructors

AmiExclusionRulesProperty()

Defines criteria for AMIs that are excluded from lifecycle actions.

Properties

IsPublic

Configures whether public AMIs are excluded from the lifecycle action.

LastLaunched

Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.

Regions

Configures AWS Region s that are excluded from the lifecycle action.

SharedAccounts

Specifies AWS account s whose resources are excluded from the lifecycle action.

TagMap

Lists tags that should be excluded from lifecycle actions for the AMIs that have them.

Constructors

AmiExclusionRulesProperty()

Defines criteria for AMIs that are excluded from lifecycle actions.

public AmiExclusionRulesProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-amiexclusionrules.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 amiExclusionRulesProperty = new AmiExclusionRulesProperty {
                 IsPublic = false,
                 LastLaunched = new LastLaunchedProperty {
                     Unit = "unit",
                     Value = 123
                 },
                 Regions = new [] { "regions" },
                 SharedAccounts = new [] { "sharedAccounts" },
                 TagMap = new Dictionary<string, string> {
                     { "tagMapKey", "tagMap" }
                 }
             };

Properties

IsPublic

Configures whether public AMIs are excluded from the lifecycle action.

public object? IsPublic { get; set; }
Property Value

object

Remarks

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

LastLaunched

Specifies configuration details for Image Builder to exclude the most recent resources from lifecycle actions.

public object? LastLaunched { get; set; }
Property Value

object

Remarks

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

Regions

Configures AWS Region s that are excluded from the lifecycle action.

public string[]? Regions { get; set; }
Property Value

string[]

Remarks

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

SharedAccounts

Specifies AWS account s whose resources are excluded from the lifecycle action.

public string[]? SharedAccounts { get; set; }
Property Value

string[]

Remarks

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

TagMap

Lists tags that should be excluded from lifecycle actions for the AMIs that have them.

public object? TagMap { get; set; }
Property Value

object

Remarks

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

Implements

CfnLifecyclePolicy.IAmiExclusionRulesProperty
Back to top Generated by DocFX