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 IExclusionRulesProperty
Syntax (vb)
Public Interface IExclusionRulesProperty
Remarks
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.
virtual object Amis { get; }
Property Value
System.Object
Remarks
TagMap
Contains a list of tags that Image Builder uses to skip lifecycle actions for Image Builder image resources that have them.
virtual object TagMap { get; }
Property Value
System.Object