software.amazon.awscdk.AvailabilityZoneProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk Show documentation
Show all versions of cdk Show documentation
AWS Cloud Development Kit Core Library
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