@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:46.915Z") @Stability(value=Experimental) public interface ISecurityGroup extends software.amazon.jsii.JsiiSerializable, IResource, IPeer
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ISecurityGroup.Jsii$Default
Internal default implementation for
ISecurityGroup. |
static class |
ISecurityGroup.Jsii$Proxy
A proxy class which represents a concrete javascript instance of this type.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEgressRule(IPeer peer,
Port connection)
(experimental) Add an egress rule for the current security group.
|
void |
addEgressRule(IPeer peer,
Port connection,
String description)
(experimental) Add an egress rule for the current security group.
|
void |
addEgressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
(experimental) Add an egress rule for the current security group.
|
void |
addIngressRule(IPeer peer,
Port connection)
(experimental) Add an ingress rule for the current security group.
|
void |
addIngressRule(IPeer peer,
Port connection,
String description)
(experimental) Add an ingress rule for the current security group.
|
void |
addIngressRule(IPeer peer,
Port connection,
String description,
Boolean remoteRule)
(experimental) Add an ingress rule for the current security group.
|
Boolean |
getAllowAllOutbound()
(experimental) Whether the SecurityGroup has been configured to allow all outbound traffic.
|
String |
getSecurityGroupId()
(experimental) ID for the current security group.
|
applyRemovalPolicy, getEnv, getStackgetNodegetCanInlineRule, getUniqueId, toEgressRuleConfig, toIngressRuleConfiggetConnections@Stability(value=Experimental) @NotNull Boolean getAllowAllOutbound()
@Stability(value=Experimental) @NotNull String getSecurityGroupId()
@Stability(value=Experimental)
void addEgressRule(@NotNull
IPeer peer,
@NotNull
Port connection,
@Nullable
String description,
@Nullable
Boolean remoteRule)
remoteRule controls where the Rule object is created if the peer is also a
securityGroup and they are in different stack. If false (default) the
rule object is created under the current SecurityGroup object. If true and the
peer is also a SecurityGroup, the rule object is created under the remote
SecurityGroup object.
peer - This parameter is required.connection - This parameter is required.description - remoteRule - @Stability(value=Experimental)
void addEgressRule(@NotNull
IPeer peer,
@NotNull
Port connection,
@Nullable
String description)
remoteRule controls where the Rule object is created if the peer is also a
securityGroup and they are in different stack. If false (default) the
rule object is created under the current SecurityGroup object. If true and the
peer is also a SecurityGroup, the rule object is created under the remote
SecurityGroup object.
peer - This parameter is required.connection - This parameter is required.description - @Stability(value=Experimental)
void addEgressRule(@NotNull
IPeer peer,
@NotNull
Port connection)
remoteRule controls where the Rule object is created if the peer is also a
securityGroup and they are in different stack. If false (default) the
rule object is created under the current SecurityGroup object. If true and the
peer is also a SecurityGroup, the rule object is created under the remote
SecurityGroup object.
peer - This parameter is required.connection - This parameter is required.@Stability(value=Experimental)
void addIngressRule(@NotNull
IPeer peer,
@NotNull
Port connection,
@Nullable
String description,
@Nullable
Boolean remoteRule)
remoteRule controls where the Rule object is created if the peer is also a
securityGroup and they are in different stack. If false (default) the
rule object is created under the current SecurityGroup object. If true and the
peer is also a SecurityGroup, the rule object is created under the remote
SecurityGroup object.
peer - This parameter is required.connection - This parameter is required.description - remoteRule - @Stability(value=Experimental)
void addIngressRule(@NotNull
IPeer peer,
@NotNull
Port connection,
@Nullable
String description)
remoteRule controls where the Rule object is created if the peer is also a
securityGroup and they are in different stack. If false (default) the
rule object is created under the current SecurityGroup object. If true and the
peer is also a SecurityGroup, the rule object is created under the remote
SecurityGroup object.
peer - This parameter is required.connection - This parameter is required.description - @Stability(value=Experimental)
void addIngressRule(@NotNull
IPeer peer,
@NotNull
Port connection)
remoteRule controls where the Rule object is created if the peer is also a
securityGroup and they are in different stack. If false (default) the
rule object is created under the current SecurityGroup object. If true and the
peer is also a SecurityGroup, the rule object is created under the remote
SecurityGroup object.
peer - This parameter is required.connection - This parameter is required.Copyright © 2022. All rights reserved.