Interface IngressRuleConfig
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,RuleConfig
- All Known Implementing Classes:
IngressRuleConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.130.0 (build 048a5ee)",
date="2026-05-20T12:39:45.434Z")
@Stability(Stable)
public interface IngressRuleConfig
extends software.amazon.jsii.JsiiSerializable, RuleConfig
Configuration for an ingress security group rule.
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.*;
IngressRuleConfig ingressRuleConfig = IngressRuleConfig.builder()
.cidrIp("cidrIp")
.cidrIpv6("cidrIpv6")
.sourcePrefixListId("sourcePrefixListId")
.sourceSecurityGroupId("sourceSecurityGroupId")
.sourceSecurityGroupOwnerId("sourceSecurityGroupOwnerId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forIngressRuleConfigstatic final classAn implementation forIngressRuleConfig -
Method Summary
Modifier and TypeMethodDescriptionstatic IngressRuleConfig.Builderbuilder()default StringThe ID of a source prefix list.default StringThe ID of a source security group.default StringThe AWS account ID of the owner of a source security group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.ec2.RuleConfig
getCidrIp, getCidrIpv6
-
Method Details
-
getSourcePrefixListId
The ID of a source prefix list.Default: - No source prefix list
-
getSourceSecurityGroupId
The ID of a source security group.Default: - No source security group
-
getSourceSecurityGroupOwnerId
The AWS account ID of the owner of a source security group.Default: - No source security group owner ID
-
builder
- Returns:
- a
IngressRuleConfig.BuilderofIngressRuleConfig
-