Class VpcSecurityGroupEgressRule

  • All Implemented Interfaces:
    com.hashicorp.cdktf.IInterpolatingParent, com.hashicorp.cdktf.ITerraformAddressable, com.hashicorp.cdktf.ITerraformDependable, com.hashicorp.cdktf.ITerraformResource, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

    @Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
               date="2023-06-30T04:56:55.480Z")
    @Stability(Stable)
    public class VpcSecurityGroupEgressRule
    extends com.hashicorp.cdktf.TerraformResource
    Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_security_group_egress_rule aws_vpc_security_group_egress_rule}.
    • Field Detail

      • TF_RESOURCE_TYPE

        @Stability(Stable)
        public static final String TF_RESOURCE_TYPE
    • Constructor Detail

      • VpcSecurityGroupEgressRule

        protected VpcSecurityGroupEgressRule​(software.amazon.jsii.JsiiObjectRef objRef)
      • VpcSecurityGroupEgressRule

        protected VpcSecurityGroupEgressRule​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • VpcSecurityGroupEgressRule

        @Stability(Stable)
        public VpcSecurityGroupEgressRule​(@NotNull
                                          software.constructs.Construct scope,
                                          @NotNull
                                          String id,
                                          @NotNull
                                          VpcSecurityGroupEgressRuleConfig config)
        Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/vpc_security_group_egress_rule aws_vpc_security_group_egress_rule} Resource.

        Parameters:
        scope - The scope in which to define this construct. This parameter is required.
        id - The scoped construct ID. This parameter is required.
        config - This parameter is required.
    • Method Detail

      • resetCidrIpv4

        @Stability(Stable)
        public void resetCidrIpv4()
      • resetCidrIpv6

        @Stability(Stable)
        public void resetCidrIpv6()
      • resetDescription

        @Stability(Stable)
        public void resetDescription()
      • resetFromPort

        @Stability(Stable)
        public void resetFromPort()
      • resetPrefixListId

        @Stability(Stable)
        public void resetPrefixListId()
      • resetReferencedSecurityGroupId

        @Stability(Stable)
        public void resetReferencedSecurityGroupId()
      • resetTags

        @Stability(Stable)
        public void resetTags()
      • resetToPort

        @Stability(Stable)
        public void resetToPort()
      • synthesizeAttributes

        @Stability(Stable)
        @NotNull
        protected Map<String,​Object> synthesizeAttributes()
        Overrides:
        synthesizeAttributes in class com.hashicorp.cdktf.TerraformResource
      • getArn

        @Stability(Stable)
        @NotNull
        public String getArn()
      • getId

        @Stability(Stable)
        @NotNull
        public String getId()
      • getSecurityGroupRuleId

        @Stability(Stable)
        @NotNull
        public String getSecurityGroupRuleId()
      • getTagsAll

        @Stability(Stable)
        @NotNull
        public com.hashicorp.cdktf.StringMap getTagsAll()
      • getCidrIpv4Input

        @Stability(Stable)
        @Nullable
        public String getCidrIpv4Input()
      • getCidrIpv6Input

        @Stability(Stable)
        @Nullable
        public String getCidrIpv6Input()
      • getDescriptionInput

        @Stability(Stable)
        @Nullable
        public String getDescriptionInput()
      • getFromPortInput

        @Stability(Stable)
        @Nullable
        public Number getFromPortInput()
      • getIpProtocolInput

        @Stability(Stable)
        @Nullable
        public String getIpProtocolInput()
      • getPrefixListIdInput

        @Stability(Stable)
        @Nullable
        public String getPrefixListIdInput()
      • getReferencedSecurityGroupIdInput

        @Stability(Stable)
        @Nullable
        public String getReferencedSecurityGroupIdInput()
      • getSecurityGroupIdInput

        @Stability(Stable)
        @Nullable
        public String getSecurityGroupIdInput()
      • getTagsInput

        @Stability(Stable)
        @Nullable
        public Map<String,​String> getTagsInput()
      • getToPortInput

        @Stability(Stable)
        @Nullable
        public Number getToPortInput()
      • getCidrIpv4

        @Stability(Stable)
        @NotNull
        public String getCidrIpv4()
      • setCidrIpv4

        @Stability(Stable)
        public void setCidrIpv4​(@NotNull
                                String value)
      • getCidrIpv6

        @Stability(Stable)
        @NotNull
        public String getCidrIpv6()
      • setCidrIpv6

        @Stability(Stable)
        public void setCidrIpv6​(@NotNull
                                String value)
      • getDescription

        @Stability(Stable)
        @NotNull
        public String getDescription()
      • setDescription

        @Stability(Stable)
        public void setDescription​(@NotNull
                                   String value)
      • getFromPort

        @Stability(Stable)
        @NotNull
        public Number getFromPort()
      • setFromPort

        @Stability(Stable)
        public void setFromPort​(@NotNull
                                Number value)
      • getIpProtocol

        @Stability(Stable)
        @NotNull
        public String getIpProtocol()
      • setIpProtocol

        @Stability(Stable)
        public void setIpProtocol​(@NotNull
                                  String value)
      • getPrefixListId

        @Stability(Stable)
        @NotNull
        public String getPrefixListId()
      • setPrefixListId

        @Stability(Stable)
        public void setPrefixListId​(@NotNull
                                    String value)
      • getReferencedSecurityGroupId

        @Stability(Stable)
        @NotNull
        public String getReferencedSecurityGroupId()
      • setReferencedSecurityGroupId

        @Stability(Stable)
        public void setReferencedSecurityGroupId​(@NotNull
                                                 String value)
      • getSecurityGroupId

        @Stability(Stable)
        @NotNull
        public String getSecurityGroupId()
      • setSecurityGroupId

        @Stability(Stable)
        public void setSecurityGroupId​(@NotNull
                                       String value)
      • getTags

        @Stability(Stable)
        @NotNull
        public Map<String,​String> getTags()
      • setTags

        @Stability(Stable)
        public void setTags​(@NotNull
                            Map<String,​String> value)
      • getToPort

        @Stability(Stable)
        @NotNull
        public Number getToPort()
      • setToPort

        @Stability(Stable)
        public void setToPort​(@NotNull
                              Number value)