ca.wheatstalk.cdkecskeycloak.VpcProvider Maven / Gradle / Ivy
Show all versions of cdk-ecs-keycloak Show documentation
package ca.wheatstalk.cdkecskeycloak;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.24.0 (build b722f66)", date = "2021-03-04T07:10:04.643Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = ca.wheatstalk.cdkecskeycloak.$Module.class, fqn = "@wheatstalk/cdk-ecs-keycloak.VpcProvider")
public abstract class VpcProvider extends software.amazon.jsii.JsiiObject {
protected VpcProvider(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected VpcProvider(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
protected VpcProvider() {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this);
}
/**
* (deprecated) Provides an already-existing vpc.
*
* @deprecated use `fromVpc` instead
* @param vpc This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Deprecated)
@Deprecated
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.IVpcInfoProvider fromExistingVpc(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.IVpc vpc) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.VpcProvider.class, "fromExistingVpc", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.IVpcInfoProvider.class), new Object[] { java.util.Objects.requireNonNull(vpc, "vpc is required") });
}
/**
* Provides an already-existing vpc.
*
* @param vpc This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.IVpcInfoProvider fromVpc(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.IVpc vpc) {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.VpcProvider.class, "fromVpc", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.IVpcInfoProvider.class), new Object[] { java.util.Objects.requireNonNull(vpc, "vpc is required") });
}
/**
* Provides a VPC with a public subnet and private subnet config.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public static @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.IVpcInfoProvider ingressAndPrivateVpc() {
return software.amazon.jsii.JsiiObject.jsiiStaticCall(ca.wheatstalk.cdkecskeycloak.VpcProvider.class, "ingressAndPrivateVpc", software.amazon.jsii.NativeType.forClass(ca.wheatstalk.cdkecskeycloak.IVpcInfoProvider.class));
}
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
private static final class Jsii$Proxy extends ca.wheatstalk.cdkecskeycloak.VpcProvider {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
}
}