@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:36.998Z") public class CfnApplication extends CfnResource implements IInspectable
Represents a Fleet Hub for AWS IoT Device Management web application.
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.*; CfnApplication cfnApplication = CfnApplication.Builder.create(this, "MyCfnApplication") .applicationName("applicationName") .roleArn("roleArn") // the properties below are optional .applicationDescription("applicationDescription") .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnApplication.Builder
A fluent builder for
CfnApplication . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnApplication(Construct scope,
java.lang.String id,
CfnApplicationProps props)
Create a new `AWS::IoTFleetHub::Application`.
|
protected |
CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnApplication(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationDescription()
An optional description of the web application.
|
java.lang.String |
getApplicationName()
The name of the web application.
|
java.lang.String |
getAttrApplicationArn()
The ARN of the web application.
|
java.lang.Number |
getAttrApplicationCreationDate()
The date (in Unix epoch time) when the web application was created.
|
java.lang.String |
getAttrApplicationId()
The unique Id of the web application.
|
java.lang.Number |
getAttrApplicationLastUpdateDate()
The date (in Unix epoch time) when the web application was last updated.
|
java.lang.String |
getAttrApplicationState()
The current state of the web application.
|
java.lang.String |
getAttrApplicationUrl()
The URL of the web application.
|
java.lang.String |
getAttrErrorMessage()
A message that explains any failures included in the applicationState response field.
|
java.lang.String |
getAttrSsoClientId()
The Id of the single sign-on client that you use to authenticate and authorize users on the web application.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getRoleArn()
The ARN of the role that the web application assumes when it interacts with AWS IoT Core .
|
TagManager |
getTags()
A set of key/value pairs that you can use to manage the web application resource.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setApplicationDescription(java.lang.String value)
An optional description of the web application.
|
void |
setApplicationName(java.lang.String value)
The name of the web application.
|
void |
setRoleArn(java.lang.String value)
The ARN of the role that the web application assumes when it interacts with AWS IoT Core .
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnApplication(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnApplication(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnApplication(Construct scope, java.lang.String id, CfnApplicationProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrApplicationArn()
public java.lang.Number getAttrApplicationCreationDate()
public java.lang.String getAttrApplicationId()
public java.lang.Number getAttrApplicationLastUpdateDate()
public java.lang.String getAttrApplicationState()
public java.lang.String getAttrApplicationUrl()
public java.lang.String getAttrErrorMessage()
This message explains failures in the CreateApplication
and DeleteApplication
actions.
public java.lang.String getAttrSsoClientId()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.String getApplicationName()
public void setApplicationName(java.lang.String value)
public java.lang.String getRoleArn()
The name of the role must be in the form
FleetHub_random_string
.
Pattern: ^arn:[!-~]+$
public void setRoleArn(java.lang.String value)
The name of the role must be in the form
FleetHub_random_string
.
Pattern: ^arn:[!-~]+$
public java.lang.String getApplicationDescription()
public void setApplicationDescription(java.lang.String value)