@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)",
date="2022-05-13T01:13:32.804Z")
public interface ConnectionsProps
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.ec2.*; IPeer peer; Port port; SecurityGroup securityGroup; ConnectionsProps connectionsProps = ConnectionsProps.builder() .defaultPort(port) .peer(peer) .securityGroups(List.of(securityGroup)) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
ConnectionsProps.Builder
A builder for
ConnectionsProps |
static class |
ConnectionsProps.Jsii$Proxy
An implementation for
ConnectionsProps |
Modifier and Type | Method and Description |
---|---|
static ConnectionsProps.Builder |
builder() |
default Port |
getDefaultPort()
Default port range for initiating connections to and from this object.
|
default IPeer |
getPeer()
Class that represents the rule by which others can connect to this connectable.
|
default java.util.List<ISecurityGroup> |
getSecurityGroups()
What securityGroup(s) this object is managing connections for.
|
default Port getDefaultPort()
Default: - No default port
default IPeer getPeer()
This object is required, but will be derived from securityGroup if that is passed.
Default: Derived from securityGroup if set.
default java.util.List<ISecurityGroup> getSecurityGroups()
Default: No security groups
static ConnectionsProps.Builder builder()
ConnectionsProps.Builder
of ConnectionsProps