Interface CfnApplicationProps

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

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

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.iotfleethub.*;
 CfnApplicationProps cfnApplicationProps = CfnApplicationProps.builder()
         .applicationName("applicationName")
         .roleArn("roleArn")
         // the properties below are optional
         .applicationDescription("applicationDescription")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 
  • Method Details

    • getApplicationName

      @Stability(Stable) @NotNull String getApplicationName()
      The name of the web application.
    • getRoleArn

      @Stability(Stable) @NotNull String getRoleArn()
      The ARN of the role that the web application assumes when it interacts with AWS IoT Core .

      The name of the role must be in the form FleetHub_random_string .

      Pattern: ^arn:[!-~]+$

    • getApplicationDescription

      @Stability(Stable) @Nullable default String getApplicationDescription()
      An optional description of the web application.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A set of key/value pairs that you can use to manage the web application resource.
    • builder

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