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

software.amazon.awscdk.AvailabilityZoneProvider Maven / Gradle / Ivy

There is a newer version: 0.36.1
Show newest version
package software.amazon.awscdk;

/**
 * Context provider that will return the availability zones for the current account and region.
 */
@javax.annotation.Generated(value = "jsii-pacmak/0.10.5 (build 46bc9b0)", date = "2019-05-06T20:49:40.934Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.$Module.class, fqn = "@aws-cdk/cdk.AvailabilityZoneProvider")
public class AvailabilityZoneProvider extends software.amazon.jsii.JsiiObject {
    protected AvailabilityZoneProvider(final software.amazon.jsii.JsiiObject.InitializationMode mode) {
        super(mode);
    }
    public AvailabilityZoneProvider(final software.amazon.awscdk.Construct context) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.Jsii);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(context, "context is required") });
    }

    /**
     * Return the list of AZs for the current account and region.
     */
    public java.util.List getAvailabilityZones() {
        return this.jsiiGet("availabilityZones", java.util.List.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy