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

software.amazon.awscdk.services.ec2.alpha.IRouteTarget Maven / Gradle / Ivy

There is a newer version: 2.167.2-alpha.0
Show newest version
package software.amazon.awscdk.services.ec2.alpha;

/**
 * (experimental) Interface to define a routing target, such as an egress-only internet gateway or VPC endpoint.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-11T15:56:07.911Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.ec2.alpha.$Module.class, fqn = "@aws-cdk/aws-ec2-alpha.IRouteTarget")
@software.amazon.jsii.Jsii.Proxy(IRouteTarget.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IRouteTarget extends software.amazon.jsii.JsiiSerializable, software.constructs.IDependable {

    /**
     * (experimental) The ID of the route target.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.lang.String getRouterTargetId();

    /**
     * (experimental) The type of router used in the route.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.RouterType getRouterType();

    /**
     * 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 software.amazon.awscdk.services.ec2.alpha.IRouteTarget.Jsii$Default {
        protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
            super(objRef);
        }

        /**
         * (experimental) The ID of the route target.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.String getRouterTargetId() {
            return software.amazon.jsii.Kernel.get(this, "routerTargetId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) The type of router used in the route.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.RouterType getRouterType() {
            return software.amazon.jsii.Kernel.get(this, "routerType", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.RouterType.class));
        }
    }

    /**
     * Internal default implementation for {@link IRouteTarget}.
     */
    @software.amazon.jsii.Internal
    interface Jsii$Default extends IRouteTarget, software.constructs.IDependable.Jsii$Default {

        /**
         * (experimental) The ID of the route target.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.String getRouterTargetId() {
            return software.amazon.jsii.Kernel.get(this, "routerTargetId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         * (experimental) The type of router used in the route.
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.ec2.RouterType getRouterType() {
            return software.amazon.jsii.Kernel.get(this, "routerType", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.ec2.RouterType.class));
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy