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 TypeFieldDescriptionstatic final Port
Port.DNS_TCP
Well-known DNS port (TCP 53).static final Port
Port.DNS_UDP
Well-known DNS port (UDP 53).static final Port
Port.HTTP
Well-known HTTP port (TCP 80).static final Port
Port.HTTPS
Well-known HTTPS port (TCP 443).static final Port
Port.IMAP
Well-known IMAP port (TCP 143).static final Port
Port.IMAPS
Well-known IMAPS port (TCP 993).static final Port
Port.LDAP
Well-known LDAP port (TCP 389).static final Port
Port.MSSQL
Well-known Microsoft SQL Server port (TCP 1433).static final Port
Port.MYSQL_AURORA
Well-known MySQL and Aurora port (TCP 3306).static final Port
Port.NFS
Well-known NFS port (TCP 2049).static final Port
Port.POP3
Well-known POP3 port (TCP 110).static final Port
Port.POP3_S
Well-known POP3S port (TCP 995).static final Port
Port.POSTGRES
Well-known PostgreSQL port (TCP 5432).static final Port
Port.RDP
Well-known Microsoft Remote Desktop Protocol port (TCP 3389).static final Port
Port.SMB
Well-known SMB port (TCP 445).static final Port
Port.SMTP
Well-known SMTP port (TCP 25).static final Port
Port.SSH
Well-known SSH port (TCP 22).Modifier and TypeMethodDescriptionstatic 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.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 RuleScope
SecurityGroup.determineRuleScope
(IPeer peer, Port connection, String fromTo) Determine where to parent a new ingress/egress rule.protected RuleScope
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.