Class SecurityGroupProps.Jsii$Proxy
- All Implemented Interfaces:
SecurityGroupProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- SecurityGroupProps
SecurityGroupProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.SecurityGroupProps
SecurityGroupProps.Builder, SecurityGroupProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(SecurityGroupProps.Builder builder) Constructor that initializes the object based on literal property values passed by theSecurityGroupProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal BooleanWhether to allow all outbound traffic by default.final StringA description of the security group.final BooleanWhether to disable inline ingress and egress rule optimization.final StringThe name of the security group.final IVpcgetVpc()The VPC in which to create the security group.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theSecurityGroupProps.Builder.
-
-
Method Details
-
getVpc
Description copied from interface:SecurityGroupPropsThe VPC in which to create the security group.- Specified by:
getVpcin interfaceSecurityGroupProps
-
getAllowAllOutbound
Description copied from interface:SecurityGroupPropsWhether to allow all outbound traffic by default.If 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
- Specified by:
getAllowAllOutboundin interfaceSecurityGroupProps
-
getDescription
Description copied from interface:SecurityGroupPropsA description of the security group.Default: The default name will be the construct's CDK path.
- Specified by:
getDescriptionin interfaceSecurityGroupProps
-
getDisableInlineRules
Description copied from interface:SecurityGroupPropsWhether to disable inline ingress and egress rule optimization.If 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
- Specified by:
getDisableInlineRulesin interfaceSecurityGroupProps
-
getSecurityGroupName
Description copied from interface:SecurityGroupPropsThe name of the security group.For 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.
- Specified by:
getSecurityGroupNamein interfaceSecurityGroupProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-