Uses of Class
software.amazon.awscdk.services.ec2.Port
Packages that use 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
Fields in software.amazon.awscdk.services.ec2 declared as PortModifier and TypeFieldDescriptionstatic final PortPort.DNS_TCPWell-known DNS port (TCP 53).static final PortPort.DNS_UDPWell-known DNS port (UDP 53).static final PortPort.HTTPWell-known HTTP port (TCP 80).static final PortPort.HTTPSWell-known HTTPS port (TCP 443).static final PortPort.IMAPWell-known IMAP port (TCP 143).static final PortPort.IMAPSWell-known IMAPS port (TCP 993).static final PortPort.LDAPWell-known LDAP port (TCP 389).static final PortPort.MSSQLWell-known Microsoft SQL Server port (TCP 1433).static final PortPort.MYSQL_AURORAWell-known MySQL and Aurora port (TCP 3306).static final PortPort.NFSWell-known NFS port (TCP 2049).static final PortPort.POP3Well-known POP3 port (TCP 110).static final PortPort.POP3_SWell-known POP3S port (TCP 995).static final PortPort.POSTGRESWell-known PostgreSQL port (TCP 5432).static final PortPort.RDPWell-known Microsoft Remote Desktop Protocol port (TCP 3389).static final PortPort.SMBWell-known SMB port (TCP 445).static final PortPort.SMTPWell-known SMTP port (TCP 25).static final PortPort.SSHWell-known SSH port (TCP 22).Methods in software.amazon.awscdk.services.ec2 that return PortModifier and TypeMethodDescriptionstatic PortPort.ah()A single AH port.static PortPort.allIcmp()All ICMP traffic.static PortPort.allIcmpV6()All ICMPv6 traffic.static PortPort.allTcp()Any TCP traffic.static PortPort.allTraffic()All traffic.static PortPort.allUdp()Any UDP traffic.Port.Builder.build()static PortPort.esp()A single ESP port.Connections.getDefaultPort()The default port configured for this connection peer, if available.default PortConnectionsProps.getDefaultPort()Default port range for initiating connections to and from this object.final PortConnectionsProps.Jsii$Proxy.getDefaultPort()SecurityGroup.getDefaultPort()static PortPort.icmpPing()ICMP ping (echo) traffic.static PortAll codes for a single ICMP type.static PortPort.icmpTypeAndCode(Number type, Number code) A specific combination of ICMP type and code.static PortA single TCP port.static PortA TCP port range.static PortA single UDP port.static PortA UDP port range.Methods in software.amazon.awscdk.services.ec2 with parameters of type PortModifier and TypeMethodDescriptionvoidISecurityGroup.addEgressRule(IPeer peer, Port connection) Add an egress rule for the current security group.voidISecurityGroup.addEgressRule(IPeer peer, Port connection, String description) Add an egress rule for the current security group.voidISecurityGroup.addEgressRule(IPeer peer, Port connection, String description, Boolean remoteRule) Add an egress rule for the current security group.default voidISecurityGroup.Jsii$Default.addEgressRule(IPeer peer, Port connection, String description, Boolean remoteRule) Add an egress rule for the current security group.final voidISecurityGroup.Jsii$Proxy.addEgressRule(IPeer peer, Port connection) Add an egress rule for the current security group.final voidISecurityGroup.Jsii$Proxy.addEgressRule(IPeer peer, Port connection, String description) Add an egress rule for the current security group.final voidISecurityGroup.Jsii$Proxy.addEgressRule(IPeer peer, Port connection, String description, Boolean remoteRule) Add an egress rule for the current security group.voidSecurityGroup.addEgressRule(IPeer peer, Port connection) Add an egress rule for the current security group.voidSecurityGroup.addEgressRule(IPeer peer, Port connection, String description) Add an egress rule for the current security group.voidSecurityGroup.addEgressRule(IPeer peer, Port connection, String description, Boolean remoteRule) Add an egress rule for the current security group.voidISecurityGroup.addIngressRule(IPeer peer, Port connection) Add an ingress rule for the current security group.voidISecurityGroup.addIngressRule(IPeer peer, Port connection, String description) Add an ingress rule for the current security group.voidISecurityGroup.addIngressRule(IPeer peer, Port connection, String description, Boolean remoteRule) Add an ingress rule for the current security group.default voidISecurityGroup.Jsii$Default.addIngressRule(IPeer peer, Port connection, String description, Boolean remoteRule) Add an ingress rule for the current security group.final voidISecurityGroup.Jsii$Proxy.addIngressRule(IPeer peer, Port connection) Add an ingress rule for the current security group.final voidISecurityGroup.Jsii$Proxy.addIngressRule(IPeer peer, Port connection, String description) Add an ingress rule for the current security group.final voidISecurityGroup.Jsii$Proxy.addIngressRule(IPeer peer, Port connection, String description, Boolean remoteRule) Add an ingress rule for the current security group.voidSecurityGroup.addIngressRule(IPeer peer, Port connection) Add an ingress rule for the current security group.voidSecurityGroup.addIngressRule(IPeer peer, Port connection, String description) Add an ingress rule for the current security group.voidSecurityGroup.addIngressRule(IPeer peer, Port connection, String description, Boolean remoteRule) Add an ingress rule for the current security group.voidConnections.allowFrom(IConnectable other, Port portRange) Allow connections from the peer on the given port.voidConnections.allowFrom(IConnectable other, Port portRange, String description) Allow connections from the peer on the given port.voidConnections.allowFromAnyIpv4(Port portRange) Allow from any IPv4 ranges.voidConnections.allowFromAnyIpv4(Port portRange, String description) Allow from any IPv4 ranges.voidConnections.allowInternally(Port portRange) Allow hosts inside the security group to connect to each other on the given port.voidConnections.allowInternally(Port portRange, String description) Allow hosts inside the security group to connect to each other on the given port.voidConnections.allowTo(IConnectable other, Port portRange) Allow connections to the peer on the given port.voidConnections.allowTo(IConnectable other, Port portRange, String description) Allow connections to the peer on the given port.voidConnections.allowToAnyIpv4(Port portRange) Allow to all IPv4 ranges.voidConnections.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 RuleScopeSecurityGroup.determineRuleScope(IPeer peer, Port connection, String fromTo) Determine where to parent a new ingress/egress rule.protected RuleScopeSecurityGroup.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
Constructors in software.amazon.awscdk.services.elasticloadbalancing with parameters of type Port -
Uses of Port in software.amazon.awscdk.services.elasticloadbalancingv2
Methods in software.amazon.awscdk.services.elasticloadbalancingv2 with parameters of type PortModifier and TypeMethodDescriptionvoidApplicationListener.registerConnectable(IConnectable connectable, Port portRange) Register that a connectable that has been added to this load balancer.voidApplicationTargetGroup.registerConnectable(IConnectable connectable, Port portRange) Register a connectable as a member of this target group.default voidIApplicationListener.Jsii$Default.registerConnectable(IConnectable connectable, Port portRange) Register that a connectable that has been added to this load balancer.final voidIApplicationListener.Jsii$Proxy.registerConnectable(IConnectable connectable, Port portRange) Register that a connectable that has been added to this load balancer.voidIApplicationListener.registerConnectable(IConnectable connectable, Port portRange) Register that a connectable that has been added to this load balancer.default voidIApplicationTargetGroup.Jsii$Default.registerConnectable(IConnectable connectable, Port portRange) Register a connectable as a member of this target group.final voidIApplicationTargetGroup.Jsii$Proxy.registerConnectable(IConnectable connectable, Port portRange) Register a connectable as a member of this target group.voidIApplicationTargetGroup.registerConnectable(IConnectable connectable, Port portRange) Register a connectable as a member of this target group.