Show / Hide Table of Contents

Class CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty

Resource selection criteria for the lifecycle policy.

Inheritance
object
CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty
Implements
CfnLifecyclePolicyPropsMixin.IResourceSelectionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.ImageBuilder
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty : CfnLifecyclePolicyPropsMixin.IResourceSelectionProperty
Syntax (vb)
Public Class CfnLifecyclePolicyPropsMixin.ResourceSelectionProperty Implements CfnLifecyclePolicyPropsMixin.IResourceSelectionProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-resourceselection.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.CfnPropertyMixins.AWS.ImageBuilder;

             var resourceSelectionProperty = new ResourceSelectionProperty {
                 Recipes = new [] { new RecipeSelectionProperty {
                     Name = "name",
                     SemanticVersion = "semanticVersion"
                 } },
                 TagMap = new Dictionary<string, string> {
                     { "tagMapKey", "tagMap" }
                 }
             };

Synopsis

Constructors

ResourceSelectionProperty()

Resource selection criteria for the lifecycle policy.

Properties

Recipes

A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.

TagMap

A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.

Constructors

ResourceSelectionProperty()

Resource selection criteria for the lifecycle policy.

public ResourceSelectionProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-imagebuilder-lifecyclepolicy-resourceselection.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.CfnPropertyMixins.AWS.ImageBuilder;

             var resourceSelectionProperty = new ResourceSelectionProperty {
                 Recipes = new [] { new RecipeSelectionProperty {
                     Name = "name",
                     SemanticVersion = "semanticVersion"
                 } },
                 TagMap = new Dictionary<string, string> {
                     { "tagMapKey", "tagMap" }
                 }
             };

Properties

Recipes

A list of recipes that are used as selection criteria for the output images that the lifecycle policy applies to.

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

object

Remarks

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

Type union: either IResolvable or (either IResolvable or CfnLifecyclePolicyPropsMixin.IRecipeSelectionProperty)[]

TagMap

A list of tags that are used as selection criteria for the Image Builder image resources that the lifecycle policy applies to.

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

object

Remarks

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

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

Implements

CfnLifecyclePolicyPropsMixin.IResourceSelectionProperty
Back to top Generated by DocFX