Interface IEnvironment.Jsii$Default
- All Superinterfaces:
software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironment,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IEnvironmentRef,IEnvironmentRef.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IEnvironment.Jsii$Proxy
- Enclosing interface:
IEnvironment
@Internal
public static interface IEnvironment.Jsii$Default
extends IEnvironment, IResource.Jsii$Default, IEnvironmentRef.Jsii$Default
Internal default implementation for
IEnvironment.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.appconfig.IEnvironment
IEnvironment.Jsii$Default, IEnvironment.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.appconfig.IEnvironmentRef
IEnvironmentRef.Jsii$Default, IEnvironmentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddDeployment(IConfiguration configuration) Creates a deployment of the supplied configuration to this environment.default voidaddDeployments(IConfiguration... configurations) Creates a deployment for each of the supplied configurations to this environment.default voidaddExtension(IExtension extension) Adds an extension association to the environment.default voidatDeploymentTick(IEventDestination eventDestination) Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to an application.default voidatDeploymentTick(IEventDestination eventDestination, ExtensionOptions options) Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to an application.default IApplicationThe application associated with the environment.default StringThe ID of the application associated to the environment.default StringThe description of the environment.default StringThe Amazon Resource Name (ARN) of the environment.default StringThe ID of the environment.The monitors for the environment.default StringgetName()The name of the environment.default Grantgrant(IGrantable grantee, String... actions) Adds an IAM policy statement associated with this environment to an IAM principal's policy.default GrantgrantReadConfig(IGrantable grantee) Permits an IAM principal to perform read operations on this environment's configurations.default voidon(ActionPoint actionPoint, IEventDestination eventDestination) Adds an extension defined by the action point and event destination and also creates an extension association to the environment.default voidon(ActionPoint actionPoint, IEventDestination eventDestination, ExtensionOptions options) Adds an extension defined by the action point and event destination and also creates an extension association to the environment.default voidonDeploymentBaking(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the environment.default voidonDeploymentBaking(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the environment.default voidonDeploymentComplete(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the environment.default voidonDeploymentComplete(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the environment.default voidonDeploymentRolledBack(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the environment.default voidonDeploymentRolledBack(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the environment.default voidonDeploymentStart(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the environment.default voidonDeploymentStart(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the environment.default voidonDeploymentStep(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the environment.default voidonDeploymentStep(IEventDestination eventDestination, ExtensionOptions options) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the environment.default voidpreCreateHostedConfigurationVersion(IEventDestination eventDestination) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the environment.default voidpreCreateHostedConfigurationVersion(IEventDestination eventDestination, ExtensionOptions options) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the environment.default voidpreStartDeployment(IEventDestination eventDestination) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the environment.default voidpreStartDeployment(IEventDestination eventDestination, ExtensionOptions options) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the environment.Methods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.interfaces.appconfig.IEnvironmentRef.Jsii$Default
getEnvironmentRefMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationId
The ID of the application associated to the environment.- Specified by:
getApplicationIdin interfaceIEnvironment
-
getEnvironmentArn
The Amazon Resource Name (ARN) of the environment.- Specified by:
getEnvironmentArnin interfaceIEnvironment
-
getEnvironmentId
The ID of the environment.- Specified by:
getEnvironmentIdin interfaceIEnvironment
-
getApplication
The application associated with the environment.- Specified by:
getApplicationin interfaceIEnvironment
-
getDescription
The description of the environment.- Specified by:
getDescriptionin interfaceIEnvironment
-
getMonitors
The monitors for the environment.- Specified by:
getMonitorsin interfaceIEnvironment
-
getName
The name of the environment.- Specified by:
getNamein interfaceIEnvironment
-
addDeployment
Creates a deployment of the supplied configuration to this environment.Note that you can only deploy one configuration at a time to an environment. However, you can deploy one configuration each to different environments at the same time. If more than one deployment is requested for this environment, they will occur in the same order they were provided.
- Specified by:
addDeploymentin interfaceIEnvironment- Parameters:
configuration- The configuration that will be deployed to this environment. This parameter is required.
-
addDeployments
Creates a deployment for each of the supplied configurations to this environment.These configurations will be deployed in the same order as the input array.
- Specified by:
addDeploymentsin interfaceIEnvironment- Parameters:
configurations- The configurations that will be deployed to this environment. This parameter is required.
-
addExtension
Adds an extension association to the environment.- Specified by:
addExtensionin interfaceIEnvironment- Parameters:
extension- The extension to create an association for. This parameter is required.
-
atDeploymentTick
@Stability(Stable) default void atDeploymentTick(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to an application.- Specified by:
atDeploymentTickin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
atDeploymentTick
Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to an application.- Specified by:
atDeploymentTickin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
grant
@Stability(Stable) @NotNull default Grant grant(@NotNull IGrantable grantee, @NotNull String... actions) Adds an IAM policy statement associated with this environment to an IAM principal's policy.- Specified by:
grantin interfaceIEnvironment- Parameters:
grantee- the principal (no-op if undefined). This parameter is required.actions- the set of actions to allow (i.e., 'appconfig:GetLatestConfiguration', 'appconfig:StartConfigurationSession', etc.). This parameter is required.
-
grantReadConfig
Permits an IAM principal to perform read operations on this environment's configurations.Actions: GetLatestConfiguration, StartConfigurationSession.
- Specified by:
grantReadConfigin interfaceIEnvironment- Parameters:
grantee- Principal to grant read rights to. This parameter is required.
-
on
@Stability(Stable) default void on(@NotNull ActionPoint actionPoint, @NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an extension defined by the action point and event destination and also creates an extension association to the environment.- Specified by:
onin interfaceIEnvironment- Parameters:
actionPoint- The action point which triggers the event. This parameter is required.eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
on
@Stability(Stable) default void on(@NotNull ActionPoint actionPoint, @NotNull IEventDestination eventDestination) Adds an extension defined by the action point and event destination and also creates an extension association to the environment.- Specified by:
onin interfaceIEnvironment- Parameters:
actionPoint- The action point which triggers the event. This parameter is required.eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentBaking
@Stability(Stable) default void onDeploymentBaking(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentBakingin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentBaking
Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentBakingin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentComplete
@Stability(Stable) default void onDeploymentComplete(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentCompletein interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentComplete
Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentCompletein interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentRolledBack
@Stability(Stable) default void onDeploymentRolledBack(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentRolledBackin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentRolledBack
Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentRolledBackin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentStart
@Stability(Stable) default void onDeploymentStart(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentStartin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentStart
Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentStartin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
onDeploymentStep
@Stability(Stable) default void onDeploymentStep(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentStepin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentStep
Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the environment.- Specified by:
onDeploymentStepin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
preCreateHostedConfigurationVersion
@Stability(Stable) default void preCreateHostedConfigurationVersion(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the environment.- Specified by:
preCreateHostedConfigurationVersionin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
preCreateHostedConfigurationVersion
@Stability(Stable) default void preCreateHostedConfigurationVersion(@NotNull IEventDestination eventDestination) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the environment.- Specified by:
preCreateHostedConfigurationVersionin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-
preStartDeployment
@Stability(Stable) default void preStartDeployment(@NotNull IEventDestination eventDestination, @Nullable ExtensionOptions options) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the environment.- Specified by:
preStartDeploymentin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
preStartDeployment
Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the environment.- Specified by:
preStartDeploymentin interfaceIEnvironment- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.
-