software.amazon.awscdk.cxapi.IEnvironmentPlaceholderProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdk-cx-api Show documentation
Show all versions of cdk-cx-api Show documentation
Cloud executable protocol
package software.amazon.awscdk.cxapi;
/**
* Return the appropriate values for the environment placeholders.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-24T10:56:25.801Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.cxapi.$Module.class, fqn = "@aws-cdk/cx-api.IEnvironmentPlaceholderProvider")
@software.amazon.jsii.Jsii.Proxy(IEnvironmentPlaceholderProvider.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface IEnvironmentPlaceholderProvider extends software.amazon.jsii.JsiiSerializable {
/**
* Return the account.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.String accountId();
/**
* Return the partition.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.String partition();
/**
* Return the region.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.String region();
/**
* 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.cxapi.IEnvironmentPlaceholderProvider.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* Return the account.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.String accountId() {
return software.amazon.jsii.Kernel.asyncCall(this, "accountId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Return the partition.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.String partition() {
return software.amazon.jsii.Kernel.asyncCall(this, "partition", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Return the region.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final @org.jetbrains.annotations.NotNull java.lang.String region() {
return software.amazon.jsii.Kernel.asyncCall(this, "region", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
}
/**
* Internal default implementation for {@link IEnvironmentPlaceholderProvider}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IEnvironmentPlaceholderProvider {
/**
* Return the account.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default @org.jetbrains.annotations.NotNull java.lang.String accountId() {
return software.amazon.jsii.Kernel.asyncCall(this, "accountId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Return the partition.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default @org.jetbrains.annotations.NotNull java.lang.String partition() {
return software.amazon.jsii.Kernel.asyncCall(this, "partition", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* Return the region.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default @org.jetbrains.annotations.NotNull java.lang.String region() {
return software.amazon.jsii.Kernel.asyncCall(this, "region", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
}
}