Show / Hide Table of Contents

Class CfnScopeProps

Properties for defining a CfnScope.

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkflowmonitor-scope.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.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 CfnScope.

Properties

Tags

The tags for the scope.

Targets

The targets for the scope.

Constructors

CfnScopeProps()

Properties for defining a CfnScope.

public CfnScopeProps()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkflowmonitor-scope.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.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

The tags for the scope.

public ICfnTag[]? Tags { get; set; }
Property Value

ICfnTag[]

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkflowmonitor-scope.html#cfn-networkflowmonitor-scope-tags

Targets

The targets for the scope.

public object Targets { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkflowmonitor-scope.html#cfn-networkflowmonitor-scope-targets

Type union: either IResolvable or (either IResolvable or CfnScope.ITargetResourceProperty)[]

Implements

ICfnScopeProps
Back to top Generated by DocFX