Skip to content
v2.273.0

CfnEnvironmentPropsMixin Mixin ​

The AWS::AppConfig::Environment resource creates an environment, which is a logical deployment group of AWS AppConfig targets, such as applications in a Beta or Production environment.

You define one or more environments for each AWS AppConfig application. You can also define environments for application subcomponents such as the Web , Mobile and Back-end components for your application. You can configure Amazon CloudWatch alarms for each environment. The system monitors alarms during a configuration deployment. If an alarm is triggered, the system rolls back the configuration.

AWS AppConfig requires that you create resources and deploy a configuration in the following order:

  • Create an application
  • Create an environment
  • Create a configuration profile
  • Choose a pre-defined deployment strategy or create your own
  • Deploy the configuration

For more information, see AWS AppConfig in the AWS AppConfig User Guide .

Initializer ​

ts
new CfnEnvironmentPropsMixin(props: CfnEnvironmentMixinProps, options?: CfnPropertyMixinOptions)
python
CfnEnvironmentPropsMixin(props: CfnEnvironmentMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnEnvironmentPropsMixin(CfnEnvironmentMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnEnvironmentPropsMixin(CfnEnvironmentMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnEnvironmentPropsMixin(Props CfnEnvironmentMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.