All Downloads are FREE. Search and download functionalities are using the official Maven repository.

tech.condense.cdkconstructs.INetworking Maven / Gradle / Ivy

There is a newer version: 0.5.2
Show newest version
package tech.condense.cdkconstructs;

/**
 * (experimental) The INetworking interface allows to write stacks and constructs that depend on networking without being tied to the specific networking implementation.
 * 

* This allows to write composable infrastructures that, depending on the scenario, can split the networking layer in a separate stack or in a construct. *

* In addition, the INetworking interface imposes a set of properties to ease the development of constructs that depend on networking resources. */ @javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-03T13:44:24.871Z") @software.amazon.jsii.Jsii(module = tech.condense.cdkconstructs.$Module.class, fqn = "@condensetech/cdk-constructs.INetworking") @software.amazon.jsii.Jsii.Proxy(INetworking.Jsii$Proxy.class) @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public interface INetworking extends software.amazon.jsii.JsiiSerializable { /** * (experimental) Returns if the VPC has private subnets (with access to internet through a NAT gateway). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull java.lang.Boolean getHasPrivateSubnets(); /** * (experimental) Returns the isolated subnets of the VPC (without access to internet). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.SubnetSelection getIsolatedSubnets(); /** * (experimental) Returns the public subnets of the VPC. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.SubnetSelection getPublicSubnets(); /** * (experimental) The VPC where the networking resources are created. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.IVpc getVpc(); /** * (experimental) Returns the bastion host instance of the VPC, if any. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.BastionHostLinux getBastionHost() { return null; } /** * (experimental) Returns the private subnets of the VPC (with access to internet through a NAT gateway). */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.SubnetSelection getPrivateSubnets() { return null; } /** * A proxy class which represents a concrete javascript instance of this type. */ @software.amazon.jsii.Internal final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements tech.condense.cdkconstructs.INetworking.Jsii$Default { protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } /** * (experimental) Returns if the VPC has private subnets (with access to internet through a NAT gateway). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull java.lang.Boolean getHasPrivateSubnets() { return software.amazon.jsii.Kernel.get(this, "hasPrivateSubnets", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class)); } /** * (experimental) Returns the isolated subnets of the VPC (without access to internet). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.SubnetSelection getIsolatedSubnets() { return software.amazon.jsii.Kernel.get(this, "isolatedSubnets", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.SubnetSelection.class)); } /** * (experimental) Returns the public subnets of the VPC. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.SubnetSelection getPublicSubnets() { return software.amazon.jsii.Kernel.get(this, "publicSubnets", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.SubnetSelection.class)); } /** * (experimental) The VPC where the networking resources are created. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.IVpc getVpc() { return software.amazon.jsii.Kernel.get(this, "vpc", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.IVpc.class)); } /** * (experimental) Returns the bastion host instance of the VPC, if any. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.BastionHostLinux getBastionHost() { return software.amazon.jsii.Kernel.get(this, "bastionHost", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.BastionHostLinux.class)); } /** * (experimental) Returns the private subnets of the VPC (with access to internet through a NAT gateway). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.SubnetSelection getPrivateSubnets() { return software.amazon.jsii.Kernel.get(this, "privateSubnets", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.SubnetSelection.class)); } } /** * Internal default implementation for {@link INetworking}. */ @software.amazon.jsii.Internal interface Jsii$Default extends INetworking { /** * (experimental) Returns if the VPC has private subnets (with access to internet through a NAT gateway). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.NotNull java.lang.Boolean getHasPrivateSubnets() { return software.amazon.jsii.Kernel.get(this, "hasPrivateSubnets", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class)); } /** * (experimental) Returns the isolated subnets of the VPC (without access to internet). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.SubnetSelection getIsolatedSubnets() { return software.amazon.jsii.Kernel.get(this, "isolatedSubnets", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.SubnetSelection.class)); } /** * (experimental) Returns the public subnets of the VPC. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.SubnetSelection getPublicSubnets() { return software.amazon.jsii.Kernel.get(this, "publicSubnets", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.SubnetSelection.class)); } /** * (experimental) The VPC where the networking resources are created. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.IVpc getVpc() { return software.amazon.jsii.Kernel.get(this, "vpc", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.IVpc.class)); } /** * (experimental) Returns the bastion host instance of the VPC, if any. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.BastionHostLinux getBastionHost() { return software.amazon.jsii.Kernel.get(this, "bastionHost", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.BastionHostLinux.class)); } /** * (experimental) Returns the private subnets of the VPC (with access to internet through a NAT gateway). */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.ec2.SubnetSelection getPrivateSubnets() { return software.amazon.jsii.Kernel.get(this, "privateSubnets", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.SubnetSelection.class)); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy