CfnAppProps

class aws_cdk.aws_amplify.CfnAppProps(*, name, access_token=None, auto_branch_creation_config=None, basic_auth_config=None, build_spec=None, custom_rules=None, description=None, environment_variables=None, iam_service_role=None, oauth_token=None, repository=None, tags=None)

Bases: object

__init__(*, name, access_token=None, auto_branch_creation_config=None, basic_auth_config=None, build_spec=None, custom_rules=None, description=None, environment_variables=None, iam_service_role=None, oauth_token=None, repository=None, tags=None)

Properties for defining a AWS::Amplify::App.

Parameters
  • name (str) – AWS::Amplify::App.Name.

  • access_token (Optional[str]) – AWS::Amplify::App.AccessToken.

  • auto_branch_creation_config (Union[IResolvable, None, AutoBranchCreationConfigProperty]) – AWS::Amplify::App.AutoBranchCreationConfig.

  • basic_auth_config (Union[IResolvable, None, BasicAuthConfigProperty]) – AWS::Amplify::App.BasicAuthConfig.

  • build_spec (Optional[str]) – AWS::Amplify::App.BuildSpec.

  • custom_rules (Union[IResolvable, None, List[Union[IResolvable, CustomRuleProperty]]]) – AWS::Amplify::App.CustomRules.

  • description (Optional[str]) – AWS::Amplify::App.Description.

  • environment_variables (Union[IResolvable, None, List[Union[IResolvable, EnvironmentVariableProperty]]]) – AWS::Amplify::App.EnvironmentVariables.

  • iam_service_role (Optional[str]) – AWS::Amplify::App.IAMServiceRole.

  • oauth_token (Optional[str]) – AWS::Amplify::App.OauthToken.

  • repository (Optional[str]) – AWS::Amplify::App.Repository.

  • tags (Optional[List[CfnTag]]) – AWS::Amplify::App.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html

Attributes

access_token

AWS::Amplify::App.AccessToken.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-accesstoken

Return type

Optional[str]

auto_branch_creation_config

AWS::Amplify::App.AutoBranchCreationConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-autobranchcreationconfig

Return type

Union[IResolvable, None, AutoBranchCreationConfigProperty]

basic_auth_config

AWS::Amplify::App.BasicAuthConfig.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-basicauthconfig

Return type

Union[IResolvable, None, BasicAuthConfigProperty]

build_spec

AWS::Amplify::App.BuildSpec.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-buildspec

Return type

Optional[str]

custom_rules

AWS::Amplify::App.CustomRules.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-customrules

Return type

Union[IResolvable, None, List[Union[IResolvable, CustomRuleProperty]]]

description

AWS::Amplify::App.Description.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-description

Return type

Optional[str]

environment_variables

AWS::Amplify::App.EnvironmentVariables.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-environmentvariables

Return type

Union[IResolvable, None, List[Union[IResolvable, EnvironmentVariableProperty]]]

iam_service_role

AWS::Amplify::App.IAMServiceRole.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-iamservicerole

Return type

Optional[str]

name

AWS::Amplify::App.Name.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-name

Return type

str

oauth_token

AWS::Amplify::App.OauthToken.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-oauthtoken

Return type

Optional[str]

repository

AWS::Amplify::App.Repository.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-repository

Return type

Optional[str]

tags

AWS::Amplify::App.Tags.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-tags

Return type

Optional[List[CfnTag]]