Interface CfnGuardHook.ITargetFiltersProperty
The TargetFilters property type specifies the target filters for the Hook.
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnGuardHook.ITargetFiltersProperty
Syntax (vb)
Public Interface CfnGuardHook.ITargetFiltersProperty
Remarks
For more information, see CloudFormation Hook target filters .
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 targetFiltersProperty = new TargetFiltersProperty {
Targets = new [] { new HookTargetProperty {
Action = "action",
InvocationPoint = "invocationPoint",
TargetName = "targetName"
} },
// the properties below are optional
Actions = new [] { "actions" },
InvocationPoints = new [] { "invocationPoints" },
TargetNames = new [] { "targetNames" }
};
Synopsis
Properties
| Actions | List of actions that the hook is going to target. |
| InvocationPoints | List of invocation points that the hook is going to target. |
| TargetNames | List of type names that the hook is going to target. |
| Targets | List of hook targets. |
Properties
Actions
List of actions that the hook is going to target.
string[]? Actions { get; }
Property Value
string[]
Remarks
InvocationPoints
List of invocation points that the hook is going to target.
string[]? InvocationPoints { get; }
Property Value
string[]
Remarks
TargetNames
List of type names that the hook is going to target.
string[]? TargetNames { get; }
Property Value
string[]
Remarks
Targets
List of hook targets.
object Targets { get; }