Show / Hide Table of Contents

Interface CfnLifecyclePolicy.IExclusionRulesProperty

Specifies resources that lifecycle policy actions should not apply to.

Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnLifecyclePolicy.IExclusionRulesProperty
Syntax (vb)
Public Interface CfnLifecyclePolicy.IExclusionRulesProperty
Remarks

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

Synopsis

Properties

Amis

Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.

TagMap

Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.

Properties

Amis

Lists configuration values that apply to AMIs that Image Builder should exclude from the lifecycle action.

object? Amis { get; }
Property Value

object

Remarks

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

Type union: either IResolvable or CfnLifecyclePolicy.IAmiExclusionRulesProperty

TagMap

Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.

object? TagMap { get; }
Property Value

object

Remarks

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

Type union: either Dictionary<string, string> or IResolvable

Back to top Generated by DocFX