@Stability(value=Experimental) @Internal public static final class SecurityGroupProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SecurityGroupProps
SecurityGroupPropssoftware.amazon.jsii.JsiiObject.InitializationModeSecurityGroupProps.Builder, SecurityGroupProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IVpc vpc,
Boolean allowAllOutbound,
String description,
Boolean disableInlineRules,
String securityGroupName)
Constructor that initializes the object based on literal property values passed by the
SecurityGroupProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Boolean |
getAllowAllOutbound()
(experimental) Whether to allow all outbound traffic by default.
|
String |
getDescription()
(experimental) A description of the security group.
|
Boolean |
getDisableInlineRules()
(experimental) Whether to disable inline ingress and egress rule optimization.
|
String |
getSecurityGroupName()
(experimental) The name of the security group.
|
IVpc |
getVpc()
(experimental) The VPC in which to create the security group.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.public final IVpc getVpc()
SecurityGroupPropsgetVpc in interface SecurityGroupPropspublic final Boolean getAllowAllOutbound()
SecurityGroupPropsIf this is set to true, there will only be a single egress rule which allows all outbound traffic. If this is set to false, no outbound traffic will be allowed by default and all egress traffic must be explicitly authorized.
Default: true
getAllowAllOutbound in interface SecurityGroupPropspublic final String getDescription()
SecurityGroupPropsDefault: The default name will be the construct's CDK path.
getDescription in interface SecurityGroupPropspublic final Boolean getDisableInlineRules()
SecurityGroupPropsIf this is set to true, ingress and egress rules will not be declared under the SecurityGroup in cloudformation, but will be separate elements.
Inlining rules is an optimization for producing smaller stack templates. Sometimes this is not desirable, for example when security group access is managed via tags.
The default value can be overriden globally by setting the context variable '@aws-cdk/aws-ec2.securityGroupDisableInlineRules'.
Default: false
getDisableInlineRules in interface SecurityGroupPropspublic final String getSecurityGroupName()
SecurityGroupPropsFor valid values, see the GroupName parameter of the CreateSecurityGroup action in the Amazon EC2 API Reference.
It is not recommended to use an explicit group name.
Default: If you don't specify a GroupName, AWS CloudFormation generates a unique physical ID and uses that ID for the group name.
getSecurityGroupName in interface SecurityGroupProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.