Class IEnvironment.Jsii$Proxy
- All Implemented Interfaces:
IResource,IResource.Jsii$Default,IEnvironment,IEnvironment.Jsii$Default,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default
- Enclosing interface:
IEnvironment
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested 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.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddDeployment(IConfiguration configuration) Creates a deployment of the supplied configuration to this environment.final voidaddDeployments(IConfiguration... configurations) Creates a deployment for each of the supplied configurations to this environment.final voidaddExtension(IExtension extension) Adds an extension association to the environment.final voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.final voidatDeploymentTick(IEventDestination eventDestination) Adds an AT_DEPLOYMENT_TICK extension with the provided event destination and also creates an extension association to an application.final 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.final IApplicationThe application associated with the environment.final StringThe ID of the application associated to the environment.final StringThe description of the environment.final ResourceEnvironmentgetEnv()The environment this resource belongs to.final StringThe Amazon Resource Name (ARN) of the environment.final StringThe ID of the environment.The monitors for the environment.final StringgetName()The name of the environment.final software.constructs.NodegetNode()The tree node.final StackgetStack()The stack in which this resource is defined.final Grantgrant(IGrantable grantee, String... actions) Adds an IAM policy statement associated with this environment to an IAM principal's policy.final GrantgrantReadConfig(IGrantable grantee) Permits an IAM principal to perform read operations on this environment's configurations.final 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.final 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.final voidonDeploymentBaking(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the environment.final 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.final voidonDeploymentComplete(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the environment.final 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.final voidonDeploymentRolledBack(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the environment.final 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.final voidonDeploymentStart(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the environment.final 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.final voidonDeploymentStep(IEventDestination eventDestination) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the environment.final 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.final 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.final 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.final voidpreStartDeployment(IEventDestination eventDestination) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the environment.final 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 class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
-
-
Method Details
-
getNode
@Stability(Stable) @NotNull public final software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceIEnvironment.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnvin interfaceIEnvironment.Jsii$Default- Specified by:
getEnvin interfaceIResource- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceIEnvironment.Jsii$Default- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getApplicationId
The ID of the application associated to the environment.- Specified by:
getApplicationIdin interfaceIEnvironment- Specified by:
getApplicationIdin interfaceIEnvironment.Jsii$Default
-
getEnvironmentArn
The Amazon Resource Name (ARN) of the environment.- Specified by:
getEnvironmentArnin interfaceIEnvironment- Specified by:
getEnvironmentArnin interfaceIEnvironment.Jsii$Default
-
getEnvironmentId
The ID of the environment.- Specified by:
getEnvironmentIdin interfaceIEnvironment- Specified by:
getEnvironmentIdin interfaceIEnvironment.Jsii$Default
-
getApplication
The application associated with the environment.- Specified by:
getApplicationin interfaceIEnvironment- Specified by:
getApplicationin interfaceIEnvironment.Jsii$Default
-
getDescription
The description of the environment.- Specified by:
getDescriptionin interfaceIEnvironment- Specified by:
getDescriptionin interfaceIEnvironment.Jsii$Default
-
getMonitors
The monitors for the environment.- Specified by:
getMonitorsin interfaceIEnvironment- Specified by:
getMonitorsin interfaceIEnvironment.Jsii$Default
-
getName
The name of the environment.- Specified by:
getNamein interfaceIEnvironment- Specified by:
getNamein interfaceIEnvironment.Jsii$Default
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Specified by:
applyRemovalPolicyin interfaceIEnvironment.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
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- Specified by:
addDeploymentin interfaceIEnvironment.Jsii$Default- 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- Specified by:
addDeploymentsin interfaceIEnvironment.Jsii$Default- 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- Specified by:
addExtensionin interfaceIEnvironment.Jsii$Default- Parameters:
extension- The extension to create an association for. This parameter is required.
-
atDeploymentTick
@Stability(Stable) public final 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- Specified by:
atDeploymentTickin interfaceIEnvironment.Jsii$Default- 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 public final 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- Specified by:
grantin interfaceIEnvironment.Jsii$Default- 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- Specified by:
grantReadConfigin interfaceIEnvironment.Jsii$Default- Parameters:
grantee- Principal to grant read rights to. This parameter is required.
-
on
@Stability(Stable) public final 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- Specified by:
onin interfaceIEnvironment.Jsii$Default- 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) public final 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) public final 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- Specified by:
onDeploymentBakingin interfaceIEnvironment.Jsii$Default- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentBaking
@Stability(Stable) public final void onDeploymentBaking(@NotNull IEventDestination eventDestination) 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) public final 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- Specified by:
onDeploymentCompletein interfaceIEnvironment.Jsii$Default- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentComplete
@Stability(Stable) public final void onDeploymentComplete(@NotNull IEventDestination eventDestination) 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) public final 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- Specified by:
onDeploymentRolledBackin interfaceIEnvironment.Jsii$Default- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
onDeploymentRolledBack
@Stability(Stable) public final void onDeploymentRolledBack(@NotNull IEventDestination eventDestination) 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) public final 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- Specified by:
onDeploymentStartin interfaceIEnvironment.Jsii$Default- 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) public final 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- Specified by:
onDeploymentStepin interfaceIEnvironment.Jsii$Default- 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) public final 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- Specified by:
preCreateHostedConfigurationVersionin interfaceIEnvironment.Jsii$Default- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
preCreateHostedConfigurationVersion
@Stability(Stable) public final 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) public final 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- Specified by:
preStartDeploymentin interfaceIEnvironment.Jsii$Default- Parameters:
eventDestination- The event that occurs during the extension. This parameter is required.options- Options for the extension.
-
preStartDeployment
@Stability(Stable) public final void preStartDeployment(@NotNull IEventDestination eventDestination) 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.
-