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
System.String
Scope
The SecurityGroup in which a rule should be scoped.
ISecurityGroup Scope { get; }
Property Value