Interface RuleScope

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
RuleScope.Jsii$Proxy

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:00.755Z") @Stability(Stable) public interface RuleScope extends software.amazon.jsii.JsiiSerializable
The scope and id in which a given SecurityGroup rule should be defined.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ec2.*;
 SecurityGroup securityGroup;
 RuleScope ruleScope = RuleScope.builder()
         .id("id")
         .scope(securityGroup)
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for RuleScope
    static final class 
    An implementation for RuleScope
  • Method Summary

    Modifier and Type
    Method
    Description
     
    The construct ID to use for the rule.
    The SecurityGroup in which a rule should be scoped.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details