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
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.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 com.fasterxml.jackson.databind.node.ObjectNodeSecurityGroup.determineRuleScope(IPeer peer, Port connection, String fromTo) Determine where to parent a new ingress/egress rule.protected com.fasterxml.jackson.databind.node.ObjectNodeSecurityGroup.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.