CfnApplicationProps

class aws_cdk.aws_iotfleethub.CfnApplicationProps(*, application_name, role_arn, application_description=None, tags=None)

Bases: object

Properties for defining a CfnApplication.

Parameters
  • application_name (str) – The name of the web application.

  • role_arn (str) – The ARN of the role that the web application assumes when it interacts with AWS IoT Core . .. epigraph:: The name of the role must be in the form FleetHub_random_string . Pattern: ^arn:[!-~]+$

  • application_description (Optional[str]) – An optional description of the web application.

  • tags (Optional[Sequence[CfnTag]]) – A set of key/value pairs that you can use to manage the web application resource.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html

ExampleMetadata

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iotfleethub as iotfleethub

cfn_application_props = iotfleethub.CfnApplicationProps(
    application_name="applicationName",
    role_arn="roleArn",

    # the properties below are optional
    application_description="applicationDescription",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

application_description

An optional description of the web application.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html#cfn-iotfleethub-application-applicationdescription

Return type

Optional[str]

application_name

The name of the web application.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html#cfn-iotfleethub-application-applicationname

Return type

str

role_arn

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:[!-~]+$

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html#cfn-iotfleethub-application-rolearn

Return type

str

tags

A set of key/value pairs that you can use to manage the web application resource.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotfleethub-application.html#cfn-iotfleethub-application-tags

Return type

Optional[List[CfnTag]]