Uses of Class
software.amazon.awscdk.services.ec2.Port
Package
Description
Amazon EC2 Construct Library
Amazon Elastic Load Balancing Construct Library
Amazon Elastic Load Balancing V2 Construct Library
-
Uses of Port in software.amazon.awscdk.services.ec2
Modifier and TypeMethodDescriptionstatic Port
Port.ah()
A single AH port.static Port
Port.allIcmp()
All ICMP traffic.static Port
Port.allTcp()
Any TCP traffic.static Port
Port.allTraffic()
All traffic.static Port
Port.allUdp()
Any UDP traffic.Port.Builder.build()
static Port
Port.esp()
A single ESP port.Connections.getDefaultPort()
The default port configured for this connection peer, if available.default Port
ConnectionsProps.getDefaultPort()
Default port range for initiating connections to and from this object.final Port
ConnectionsProps.Jsii$Proxy.getDefaultPort()
SecurityGroup.getDefaultPort()
static Port
Port.icmpPing()
ICMP ping (echo) traffic.static Port
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
A single TCP port.static Port
A TCP port range.static Port
A single UDP port.static Port
A UDP port range.Modifier and TypeMethodDescriptionvoid
ISecurityGroup.addEgressRule
(IPeer peer, Port connection) 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.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.final void
ISecurityGroup.Jsii$Proxy.addEgressRule
(IPeer peer, Port connection) Add an egress rule for the current security group.final void
ISecurityGroup.Jsii$Proxy.addEgressRule
(IPeer peer, Port connection, String description) Add an egress rule for the current security group.final void
ISecurityGroup.Jsii$Proxy.addEgressRule
(IPeer peer, Port connection, String description, Boolean remoteRule) Add an egress rule for the current security group.void
SecurityGroup.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
SecurityGroup.addEgressRule
(IPeer peer, Port connection, String description, Boolean remoteRule) Add an egress rule for the current security group.void
ISecurityGroup.addIngressRule
(IPeer peer, Port connection) 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.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.final void
ISecurityGroup.Jsii$Proxy.addIngressRule
(IPeer peer, Port connection) Add an ingress rule for the current security group.final void
ISecurityGroup.Jsii$Proxy.addIngressRule
(IPeer peer, Port connection, String description) Add an ingress rule for the current security group.final void
ISecurityGroup.Jsii$Proxy.addIngressRule
(IPeer peer, Port connection, String description, Boolean remoteRule) Add an ingress rule for the current security group.void
SecurityGroup.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
SecurityGroup.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.Connections.Builder.defaultPort
(Port defaultPort) Default port range for initiating connections to and from this object.ConnectionsProps.Builder.defaultPort
(Port defaultPort) Sets the value ofConnectionsProps.getDefaultPort()
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. -
Uses of Port in software.amazon.awscdk.services.elasticloadbalancing
-
Uses of Port in software.amazon.awscdk.services.elasticloadbalancingv2
Modifier and TypeMethodDescriptionvoid
ApplicationListener.registerConnectable
(IConnectable connectable, Port portRange) Register that a connectable that has been added to this load balancer.void
ApplicationTargetGroup.registerConnectable
(IConnectable connectable, Port portRange) Register a connectable as a member of this target group.default void
IApplicationListener.Jsii$Default.registerConnectable
(IConnectable connectable, Port portRange) Register that a connectable that has been added to this load balancer.final void
IApplicationListener.Jsii$Proxy.registerConnectable
(IConnectable connectable, Port portRange) Register that a connectable that has been added to this load balancer.void
IApplicationListener.registerConnectable
(IConnectable connectable, Port portRange) Register that a connectable that has been added to this load balancer.default void
IApplicationTargetGroup.Jsii$Default.registerConnectable
(IConnectable connectable, Port portRange) Register a connectable as a member of this target group.final void
IApplicationTargetGroup.Jsii$Proxy.registerConnectable
(IConnectable connectable, Port portRange) Register a connectable as a member of this target group.void
IApplicationTargetGroup.registerConnectable
(IConnectable connectable, Port portRange) Register a connectable as a member of this target group.