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, enable_branch_auto_deletion=None, environment_variables=None, iam_service_role=None, oauth_token=None, repository=None, tags=None)

Bases: object

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, AutoBranchCreationConfigProperty, None]) – AWS::Amplify::App.AutoBranchCreationConfig.

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

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

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

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

  • enable_branch_auto_deletion (Union[bool, IResolvable, None]) – AWS::Amplify::App.EnableBranchAutoDeletion.

  • environment_variables (Union[IResolvable, List[Union[IResolvable, EnvironmentVariableProperty]], None]) – 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

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

Attributes

access_token

AWS::Amplify::App.AccessToken.

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

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

Return type

Union[IResolvable, AutoBranchCreationConfigProperty, None]

basic_auth_config

AWS::Amplify::App.BasicAuthConfig.

See

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

Return type

Union[IResolvable, BasicAuthConfigProperty, None]

build_spec

AWS::Amplify::App.BuildSpec.

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

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

Return type

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

description

AWS::Amplify::App.Description.

See

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

Return type

Optional[str]

enable_branch_auto_deletion

AWS::Amplify::App.EnableBranchAutoDeletion.

See

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

Return type

Union[bool, IResolvable, None]

environment_variables

AWS::Amplify::App.EnvironmentVariables.

See

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

Return type

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

iam_service_role

AWS::Amplify::App.IAMServiceRole.

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

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

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

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

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

Return type

Optional[List[CfnTag]]