| Package | Description |
|---|---|
| software.amazon.awscdk.services.ec2 |
Amazon EC2 Construct Library
|
| software.amazon.awscdk.services.elasticloadbalancing |
Amazon Elastic Load Balancing Construct Library
|
| software.amazon.awscdk.services.elasticloadbalancingv2 |
Amazon Elastic Load Balancing V2 Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
static Port |
Port.ah()
A single AH port.
|
static Port |
Port.allIcmp()
All ICMP traffic.
|
static Port |
Port.allIcmpV6()
All ICMPv6 traffic.
|
static Port |
Port.allTcp()
Any TCP traffic.
|
static Port |
Port.allTraffic()
All traffic.
|
static Port |
Port.allUdp()
Any UDP traffic.
|
Port |
Port.Builder.build() |
static Port |
Port.esp()
A single ESP port.
|
Port |
SecurityGroup.getDefaultPort() |
default Port |
ConnectionsProps.getDefaultPort()
Default port range for initiating connections to and from this object.
|
Port |
ConnectionsProps.Jsii$Proxy.getDefaultPort() |
Port |
Connections.getDefaultPort()
The default port configured for this connection peer, if available.
|
static Port |
Port.icmpPing()
ICMP ping (echo) traffic.
|
static Port |
Port.icmpType(Number type)
All codes for a single ICMP type.
|
static Port |
Port.icmpTypeAndCode(Number type,
Number code)
A specific combination of ICMP type and code.
|
static Port |
Port.tcp(Number port)
A single TCP port.
|
static Port |
Port.tcpRange(Number startPort,
Number endPort)
A TCP port range.
|
static Port |
Port.udp(Number port)
A single UDP port.
|
static Port |
Port.udpRange(Number startPort,
Number endPort)
A UDP port range.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SecurityGroup.addEgressRule(IPeer peer,
Port connection)
Add an egress rule for the current security group.
|
void |
ISecurityGroup.addEgressRule(IPeer peer,
Port connection)
Add an egress rule for the current security group.
|
void |
ISecurityGroup.Jsii$Proxy.addEgressRule(IPeer peer,
Port connection)
Add an egress rule for the current security group.
|
void |
SecurityGroup.addEgressRule(IPeer peer,
Port connection,
String description)
Add an egress rule for the current security group.
|
void |
ISecurityGroup.addEgressRule(IPeer peer,
Port connection,
String description)
Add an egress rule for the current security group.
|
void |
ISecurityGroup.Jsii$Proxy.addEgressRule(IPeer peer,
Port connection,
String description)
Add an egress rule for the current security group.
|
void |
SecurityGroup.addEgressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
Add an egress rule for the current security group.
|
void |
ISecurityGroup.addEgressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
Add an egress rule for the current security group.
|
void |
ISecurityGroup.Jsii$Proxy.addEgressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
Add an egress rule for the current security group.
|
default void |
ISecurityGroup.Jsii$Default.addEgressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
Add an egress rule for the current security group.
|
void |
SecurityGroup.addIngressRule(IPeer peer,
Port connection)
Add an ingress rule for the current security group.
|
void |
ISecurityGroup.addIngressRule(IPeer peer,
Port connection)
Add an ingress rule for the current security group.
|
void |
ISecurityGroup.Jsii$Proxy.addIngressRule(IPeer peer,
Port connection)
Add an ingress rule for the current security group.
|
void |
SecurityGroup.addIngressRule(IPeer peer,
Port connection,
String description)
Add an ingress rule for the current security group.
|
void |
ISecurityGroup.addIngressRule(IPeer peer,
Port connection,
String description)
Add an ingress rule for the current security group.
|
void |
ISecurityGroup.Jsii$Proxy.addIngressRule(IPeer peer,
Port connection,
String description)
Add an ingress rule for the current security group.
|
void |
SecurityGroup.addIngressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
Add an ingress rule for the current security group.
|
void |
ISecurityGroup.addIngressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
Add an ingress rule for the current security group.
|
void |
ISecurityGroup.Jsii$Proxy.addIngressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
Add an ingress rule for the current security group.
|
default void |
ISecurityGroup.Jsii$Default.addIngressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
Add an ingress rule for the current security group.
|
void |
Connections.allowFrom(IConnectable other,
Port portRange)
Allow connections from the peer on the given port.
|
void |
Connections.allowFrom(IConnectable other,
Port portRange,
String description)
Allow connections from the peer on the given port.
|
void |
Connections.allowFromAnyIpv4(Port portRange)
Allow from any IPv4 ranges.
|
void |
Connections.allowFromAnyIpv4(Port portRange,
String description)
Allow from any IPv4 ranges.
|
void |
Connections.allowInternally(Port portRange)
Allow hosts inside the security group to connect to each other on the given port.
|
void |
Connections.allowInternally(Port portRange,
String description)
Allow hosts inside the security group to connect to each other on the given port.
|
void |
Connections.allowTo(IConnectable other,
Port portRange)
Allow connections to the peer on the given port.
|
void |
Connections.allowTo(IConnectable other,
Port portRange,
String description)
Allow connections to the peer on the given port.
|
void |
Connections.allowToAnyIpv4(Port portRange)
Allow to all IPv4 ranges.
|
void |
Connections.allowToAnyIpv4(Port portRange,
String description)
Allow to all IPv4 ranges.
|
ConnectionsProps.Builder |
ConnectionsProps.Builder.defaultPort(Port defaultPort)
Sets the value of
ConnectionsProps.getDefaultPort() |
Connections.Builder |
Connections.Builder.defaultPort(Port defaultPort)
Default port range for initiating connections to and from this object.
|
protected com.fasterxml.jackson.databind.node.ObjectNode |
SecurityGroup.determineRuleScope(IPeer peer,
Port connection,
String fromTo)
Determine where to parent a new ingress/egress rule.
|
protected com.fasterxml.jackson.databind.node.ObjectNode |
SecurityGroup.determineRuleScope(IPeer peer,
Port connection,
String fromTo,
Boolean remoteRule)
Determine where to parent a new ingress/egress rule.
|
| Constructor and Description |
|---|
ListenerPort(ISecurityGroup securityGroup,
Port defaultPort) |
| Modifier and Type | Method and Description |
|---|---|
void |
ApplicationTargetGroup.registerConnectable(IConnectable connectable,
Port portRange)
Register a connectable as a member of this target group.
|
void |
IApplicationListener.registerConnectable(IConnectable connectable,
Port portRange)
Register that a connectable that has been added to this load balancer.
|
void |
IApplicationListener.Jsii$Proxy.registerConnectable(IConnectable connectable,
Port portRange)
Register that a connectable that has been added to this load balancer.
|
default void |
IApplicationListener.Jsii$Default.registerConnectable(IConnectable connectable,
Port portRange)
Register that a connectable that has been added to this load balancer.
|
void |
IApplicationTargetGroup.registerConnectable(IConnectable connectable,
Port portRange)
Register a connectable as a member of this target group.
|
void |
IApplicationTargetGroup.Jsii$Proxy.registerConnectable(IConnectable connectable,
Port portRange)
Register a connectable as a member of this target group.
|
default void |
IApplicationTargetGroup.Jsii$Default.registerConnectable(IConnectable connectable,
Port portRange)
Register a connectable as a member of this target group.
|
void |
ApplicationListener.registerConnectable(IConnectable connectable,
Port portRange)
Register that a connectable that has been added to this load balancer.
|
Copyright © 2022. All rights reserved.