Show / Hide Table of Contents

Interface IRuleScope

The scope and id in which a given SecurityGroup rule should be defined.

Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IRuleScope
Syntax (vb)
Public Interface IRuleScope
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.EC2;

            SecurityGroup securityGroup;

            var ruleScope = new RuleScope {
                Id = "id",
                Scope = securityGroup
            };

Synopsis

Properties

Id

The construct ID to use for the rule.

Scope

The SecurityGroup in which a rule should be scoped.

Properties

Id

The construct ID to use for the rule.

string Id { get; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Scope

The SecurityGroup in which a rule should be scoped.

ISecurityGroup Scope { get; }
Property Value

ISecurityGroup

Remarks

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX