Class CfnScopeProps
Properties for defining a CfnScope.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.NetworkFlowMonitor
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnScopeProps : ICfnScopeProps
Syntax (vb)
Public Class CfnScopeProps Implements ICfnScopeProps
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.NetworkFlowMonitor;
var cfnScopeProps = new CfnScopeProps {
Targets = new [] { new TargetResourceProperty {
Region = "region",
TargetIdentifier = new TargetIdentifierProperty {
TargetId = new TargetIdProperty {
AccountId = "accountId"
},
TargetType = "targetType"
}
} },
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnScopeProps() | Properties for defining a |
Properties
| Tags | The tags for the scope. |
| Targets | The targets for the scope. |
Constructors
CfnScopeProps()
Properties for defining a CfnScope.
public CfnScopeProps()
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.NetworkFlowMonitor;
var cfnScopeProps = new CfnScopeProps {
Targets = new [] { new TargetResourceProperty {
Region = "region",
TargetIdentifier = new TargetIdentifierProperty {
TargetId = new TargetIdProperty {
AccountId = "accountId"
},
TargetType = "targetType"
}
} },
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
Tags
Targets
The targets for the scope.
public object Targets { get; set; }