Class CfnApplication.Builder
java.lang.Object
software.amazon.awscdk.services.iotfleethub.CfnApplication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplication>
- Enclosing class:
CfnApplication
@Stability(Stable)
public static final class CfnApplication.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplication>
A fluent builder for
CfnApplication
.-
Method Summary
Modifier and TypeMethodDescriptionapplicationDescription
(String applicationDescription) An optional description of the web application.applicationName
(String applicationName) The name of the web application.build()
static CfnApplication.Builder
The ARN of the role that the web application assumes when it interacts with AWS IoT Core .A set of key/value pairs that you can use to manage the web application resource.
-
Method Details
-
create
@Stability(Stable) public static CfnApplication.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApplication.Builder
.
-
applicationName
The name of the web application.- Parameters:
applicationName
- The name of the web application. This parameter is required.- Returns:
this
- See Also:
-
roleArn
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:[!-~]+$
- Parameters:
roleArn
- The ARN of the role that the web application assumes when it interacts with AWS IoT Core . This parameter is required.- Returns:
this
- See Also:
-
applicationDescription
@Stability(Stable) public CfnApplication.Builder applicationDescription(String applicationDescription) An optional description of the web application.- Parameters:
applicationDescription
- An optional description of the web application. This parameter is required.- Returns:
this
- See Also:
-
tags
A set of key/value pairs that you can use to manage the web application resource.- Parameters:
tags
- A set of key/value pairs that you can use to manage the web application resource. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplication>
- Returns:
- a newly built instance of
CfnApplication
.
-