Show / Hide Table of Contents

Class CfnGuardHook.StackFiltersProperty

The StackFilters property type specifies stack level filters for a Hook.

Inheritance
object
CfnGuardHook.StackFiltersProperty
Implements
CfnGuardHook.IStackFiltersProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnGuardHook.StackFiltersProperty : CfnGuardHook.IStackFiltersProperty
Syntax (vb)
Public Class CfnGuardHook.StackFiltersProperty Implements CfnGuardHook.IStackFiltersProperty
Remarks

The StackNames or StackRoles properties are optional. However, you must specify at least one of these properties.

For more information, see CloudFormation Hooks stack level filters .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackfilters.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;

             var stackFiltersProperty = new StackFiltersProperty {
                 FilteringCriteria = "filteringCriteria",

                 // the properties below are optional
                 StackNames = new StackNamesProperty {
                     Exclude = new [] { "exclude" },
                     Include = new [] { "include" }
                 },
                 StackRoles = new StackRolesProperty {
                     Exclude = new [] { "exclude" },
                     Include = new [] { "include" }
                 }
             };

Synopsis

Constructors

StackFiltersProperty()

The StackFilters property type specifies stack level filters for a Hook.

Properties

FilteringCriteria

The filtering criteria.

StackNames

Includes or excludes specific stacks from Hook invocations.

StackRoles

Includes or excludes specific stacks from Hook invocations based on their associated IAM roles.

Constructors

StackFiltersProperty()

The StackFilters property type specifies stack level filters for a Hook.

public StackFiltersProperty()
Remarks

The StackNames or StackRoles properties are optional. However, you must specify at least one of these properties.

For more information, see CloudFormation Hooks stack level filters .

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackfilters.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;

             var stackFiltersProperty = new StackFiltersProperty {
                 FilteringCriteria = "filteringCriteria",

                 // the properties below are optional
                 StackNames = new StackNamesProperty {
                     Exclude = new [] { "exclude" },
                     Include = new [] { "include" }
                 },
                 StackRoles = new StackRolesProperty {
                     Exclude = new [] { "exclude" },
                     Include = new [] { "include" }
                 }
             };

Properties

FilteringCriteria

The filtering criteria.

public string FilteringCriteria { get; set; }
Property Value

string

Remarks

    Default: - "ALL"

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackfilters.html#cfn-cloudformation-guardhook-stackfilters-filteringcriteria

    StackNames

    Includes or excludes specific stacks from Hook invocations.

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

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackfilters.html#cfn-cloudformation-guardhook-stackfilters-stacknames

    Type union: either IResolvable or CfnGuardHook.IStackNamesProperty

    StackRoles

    Includes or excludes specific stacks from Hook invocations based on their associated IAM roles.

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

    object

    Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudformation-guardhook-stackfilters.html#cfn-cloudformation-guardhook-stackfilters-stackroles

    Type union: either IResolvable or CfnGuardHook.IStackRolesProperty

    Implements

    CfnGuardHook.IStackFiltersProperty
    Back to top Generated by DocFX