Show / Hide Table of Contents

Interface CfnLifecyclePolicy.IAmiExclusionRulesProperty

Defines criteria for AMIs that are excluded from lifecycle actions.

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

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.

Properties

IsPublic

Configures whether public AMIs are excluded from the lifecycle action.

object? IsPublic { get; }
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.

object? LastLaunched { get; }
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.

string[]? Regions { get; }
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.

string[]? SharedAccounts { get; }
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.

object? TagMap { get; }
Property Value

object

Remarks

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

Back to top Generated by DocFX