Interface CfnEnvironmentProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnEnvironmentProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:55.480Z") @Stability(Stable) public interface CfnEnvironmentProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnEnvironment.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.appconfig.*;
 CfnEnvironmentProps cfnEnvironmentProps = CfnEnvironmentProps.builder()
         .applicationId("applicationId")
         .name("name")
         // the properties below are optional
         .description("description")
         .monitors(List.of(MonitorsProperty.builder()
                 .alarmArn("alarmArn")
                 .alarmRoleArn("alarmRoleArn")
                 .build()))
         .tags(List.of(TagsProperty.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getApplicationId

      @Stability(Stable) @NotNull String getApplicationId()
      The application ID.
    • getName

      @Stability(Stable) @NotNull String getName()
      A name for the environment.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      A description of the environment.
    • getMonitors

      @Stability(Stable) @Nullable default Object getMonitors()
      Amazon CloudWatch alarms to monitor during the deployment process.
    • getTags

      @Stability(Stable) @Nullable default List<CfnEnvironment.TagsProperty> getTags()
      Metadata to assign to the environment.

      Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.

    • builder

      @Stability(Stable) static CfnEnvironmentProps.Builder builder()
      Returns:
      a CfnEnvironmentProps.Builder of CfnEnvironmentProps