AWS Classic
App
Import
Amplify App can be imported using Amplify App ID (appId), e.g.,
$ pulumi import aws:amplify/app:App example d2ypk4k47z8u6
App ID can be obtained from App ARN (e.g., arn:aws:amplify:us-east-1:12345678:apps/d2ypk4k47z8u6
).
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Amplify.App("example", new Aws.Amplify.AppArgs
{
BuildSpec = @" version: 0.1
frontend:
phases:
preBuild:
commands:
- yarn install
build:
commands:
- yarn run build
artifacts:
baseDirectory: build
files:
- '**/*'
cache:
paths:
- node_modules/**/*
",
CustomRules =
{
new Aws.Amplify.Inputs.AppCustomRuleArgs
{
Source = "/<*>",
Status = "404",
Target = "/index.html",
},
},
EnvironmentVariables =
{
{ "ENV", "test" },
},
Repository = "https://github.com/example/app",
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/amplify"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := amplify.NewApp(ctx, "example", &lify.AppArgs{
BuildSpec: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", " version: 0.1\n", " frontend:\n", " phases:\n", " preBuild:\n", " commands:\n", " - yarn install\n", " build:\n", " commands:\n", " - yarn run build\n", " artifacts:\n", " baseDirectory: build\n", " files:\n", " - '**/*'\n", " cache:\n", " paths:\n", " - node_modules/**/*\n", "\n")),
CustomRules: amplify.AppCustomRuleArray{
&lify.AppCustomRuleArgs{
Source: pulumi.String("/<*>"),
Status: pulumi.String("404"),
Target: pulumi.String("/index.html"),
},
},
EnvironmentVariables: pulumi.StringMap{
"ENV": pulumi.String("test"),
},
Repository: pulumi.String("https://github.com/example/app"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new App("example", AppArgs.builder()
.buildSpec("""
version: 0.1
frontend:
phases:
preBuild:
commands:
- yarn install
build:
commands:
- yarn run build
artifacts:
baseDirectory: build
files:
- '**/*'
cache:
paths:
- node_modules/**/*
""")
.customRules(AppCustomRule.builder()
.source("/<*>")
.status("404")
.target("/index.html")
.build())
.environmentVariables(Map.of("ENV", "test"))
.repository("https://github.com/example/app")
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.amplify.App("example",
build_spec=""" version: 0.1
frontend:
phases:
preBuild:
commands:
- yarn install
build:
commands:
- yarn run build
artifacts:
baseDirectory: build
files:
- '**/*'
cache:
paths:
- node_modules/**/*
""",
custom_rules=[aws.amplify.AppCustomRuleArgs(
source="/<*>",
status="404",
target="/index.html",
)],
environment_variables={
"ENV": "test",
},
repository="https://github.com/example/app")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.amplify.App("example", {
// The default build_spec added by the Amplify Console for React.
buildSpec: ` version: 0.1
frontend:
phases:
preBuild:
commands:
- yarn install
build:
commands:
- yarn run build
artifacts:
baseDirectory: build
files:
- '**/*'
cache:
paths:
- node_modules/**/*
`,
// The default rewrites and redirects added by the Amplify Console.
customRules: [{
source: "/<*>",
status: "404",
target: "/index.html",
}],
environmentVariables: {
ENV: "test",
},
repository: "https://github.com/example/app",
});
resources:
example:
type: aws:amplify:App
properties:
buildSpec: |2+
version: 0.1
frontend:
phases:
preBuild:
commands:
- yarn install
build:
commands:
- yarn run build
artifacts:
baseDirectory: build
files:
- '**/*'
cache:
paths:
- node_modules/**/*
customRules:
- source: /<*>
status: 404
target: /index.html
environmentVariables:
ENV: test
repository: https://github.com/example/app
Repository with Tokens
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Amplify.App("example", new Aws.Amplify.AppArgs
{
AccessToken = "...",
Repository = "https://github.com/example/app",
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/amplify"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := amplify.NewApp(ctx, "example", &lify.AppArgs{
AccessToken: pulumi.String("..."),
Repository: pulumi.String("https://github.com/example/app"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new App("example", AppArgs.builder()
.accessToken("...")
.repository("https://github.com/example/app")
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.amplify.App("example",
access_token="...",
repository="https://github.com/example/app")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.amplify.App("example", {
// GitHub personal access token
accessToken: "...",
repository: "https://github.com/example/app",
});
resources:
example:
type: aws:amplify:App
properties:
accessToken: '...'
repository: https://github.com/example/app
Auto Branch Creation
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Amplify.App("example", new Aws.Amplify.AppArgs
{
AutoBranchCreationConfig = new Aws.Amplify.Inputs.AppAutoBranchCreationConfigArgs
{
EnableAutoBuild = true,
},
AutoBranchCreationPatterns =
{
"*",
"*/**",
},
EnableAutoBranchCreation = true,
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/amplify"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := amplify.NewApp(ctx, "example", &lify.AppArgs{
AutoBranchCreationConfig: &lify.AppAutoBranchCreationConfigArgs{
EnableAutoBuild: pulumi.Bool(true),
},
AutoBranchCreationPatterns: pulumi.StringArray{
pulumi.String("*"),
pulumi.String("*/**"),
},
EnableAutoBranchCreation: pulumi.Bool(true),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new App("example", AppArgs.builder()
.autoBranchCreationConfig(AppAutoBranchCreationConfig.builder()
.enableAutoBuild(true)
.build())
.autoBranchCreationPatterns(
"*",
"*/**")
.enableAutoBranchCreation(true)
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.amplify.App("example",
auto_branch_creation_config=aws.amplify.AppAutoBranchCreationConfigArgs(
enable_auto_build=True,
),
auto_branch_creation_patterns=[
"*",
"*/**",
],
enable_auto_branch_creation=True)
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.amplify.App("example", {
autoBranchCreationConfig: {
// Enable auto build for the created branch.
enableAutoBuild: true,
},
// The default patterns added by the Amplify Console.
autoBranchCreationPatterns: [
"*",
"*/**",
],
enableAutoBranchCreation: true,
});
resources:
example:
type: aws:amplify:App
properties:
autoBranchCreationConfig:
enableAutoBuild: true
autoBranchCreationPatterns:
- '*'
- '*/**'
enableAutoBranchCreation: true
Rewrites and Redirects
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Amplify.App("example", new Aws.Amplify.AppArgs
{
CustomRules =
{
new Aws.Amplify.Inputs.AppCustomRuleArgs
{
Source = "/api/<*>",
Status = "200",
Target = "https://api.example.com/api/<*>",
},
new Aws.Amplify.Inputs.AppCustomRuleArgs
{
Source = "</^[^.]+$|\\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/>",
Status = "200",
Target = "/index.html",
},
},
});
}
}
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/amplify"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := amplify.NewApp(ctx, "example", &lify.AppArgs{
CustomRules: amplify.AppCustomRuleArray{
&lify.AppCustomRuleArgs{
Source: pulumi.String("/api/<*>"),
Status: pulumi.String("200"),
Target: pulumi.String("https://api.example.com/api/<*>"),
},
&lify.AppCustomRuleArgs{
Source: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v", "</^[^.]+", "$", "|\\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)", "$", ")([^.]+", "$", ")/>")),
Status: pulumi.String("200"),
Target: pulumi.String("/index.html"),
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new App("example", AppArgs.builder()
.customRules(
AppCustomRule.builder()
.source("/api/<*>")
.status("200")
.target("https://api.example.com/api/<*>")
.build(),
AppCustomRule.builder()
.source("</^[^.]+$|\\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/>")
.status("200")
.target("/index.html")
.build())
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.amplify.App("example", custom_rules=[
aws.amplify.AppCustomRuleArgs(
source="/api/<*>",
status="200",
target="https://api.example.com/api/<*>",
),
aws.amplify.AppCustomRuleArgs(
source="</^[^.]+$|\\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/>",
status="200",
target="/index.html",
),
])
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.amplify.App("example", {
customRules: [
// Reverse Proxy Rewrite for API requests
// https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#reverse-proxy-rewrite
{
source: "/api/<*>",
status: "200",
target: "https://api.example.com/api/<*>",
},
// Redirects for Single Page Web Apps (SPA)
// https://docs.aws.amazon.com/amplify/latest/userguide/redirects.html#redirects-for-single-page-web-apps-spa
{
source: "</^[^.]+$|\\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/>",
status: "200",
target: "/index.html",
},
],
});
resources:
example:
type: aws:amplify:App
properties:
customRules:
- source: /api/<*>
status: 200
target: https://api.example.com/api/<*>
- source: </^[^.]+$|\.(?!(css|gif|ico|jpg|js|png|txt|svg|woff|ttf|map|json)$)([^.]+$)/>
status: 200
target: /index.html
Create a App Resource
new App(name: string, args?: AppArgs, opts?: CustomResourceOptions);
@overload
def App(resource_name: str,
opts: Optional[ResourceOptions] = None,
access_token: Optional[str] = None,
auto_branch_creation_config: Optional[AppAutoBranchCreationConfigArgs] = None,
auto_branch_creation_patterns: Optional[Sequence[str]] = None,
basic_auth_credentials: Optional[str] = None,
build_spec: Optional[str] = None,
custom_rules: Optional[Sequence[AppCustomRuleArgs]] = None,
description: Optional[str] = None,
enable_auto_branch_creation: Optional[bool] = None,
enable_basic_auth: Optional[bool] = None,
enable_branch_auto_build: Optional[bool] = None,
enable_branch_auto_deletion: Optional[bool] = None,
environment_variables: Optional[Mapping[str, str]] = None,
iam_service_role_arn: Optional[str] = None,
name: Optional[str] = None,
oauth_token: Optional[str] = None,
platform: Optional[str] = None,
repository: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def App(resource_name: str,
args: Optional[AppArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewApp(ctx *Context, name string, args *AppArgs, opts ...ResourceOption) (*App, error)
public App(string name, AppArgs? args = null, CustomResourceOptions? opts = null)
type: aws:amplify:App
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
App Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The App resource accepts the following input properties:
- Access
Token string The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- Auto
Branch AppCreation Config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- Auto
Branch List<string>Creation Patterns The automated branch creation glob patterns for an Amplify app.
- Basic
Auth stringCredentials The credentials for basic authorization for an Amplify app.
- Build
Spec string The build specification (build spec) for an Amplify app.
- Custom
Rules List<AppCustom Rule Args> The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- Description string
The description for an Amplify app.
- Enable
Auto boolBranch Creation Enables automated branch creation for an Amplify app.
- Enable
Basic boolAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- Enable
Branch boolAuto Build Enables auto-building of branches for the Amplify App.
- Enable
Branch boolAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- Environment
Variables Dictionary<string, string> The environment variables map for an Amplify app.
- Iam
Service stringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- Name string
The name for an Amplify app.
- Oauth
Token string The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- Platform string
The platform or framework for an Amplify app. Valid values:
WEB
.- Repository string
The repository for an Amplify app.
- Dictionary<string, string>
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Access
Token string The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- Auto
Branch AppCreation Config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- Auto
Branch []stringCreation Patterns The automated branch creation glob patterns for an Amplify app.
- Basic
Auth stringCredentials The credentials for basic authorization for an Amplify app.
- Build
Spec string The build specification (build spec) for an Amplify app.
- Custom
Rules []AppCustom Rule Args The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- Description string
The description for an Amplify app.
- Enable
Auto boolBranch Creation Enables automated branch creation for an Amplify app.
- Enable
Basic boolAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- Enable
Branch boolAuto Build Enables auto-building of branches for the Amplify App.
- Enable
Branch boolAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- Environment
Variables map[string]string The environment variables map for an Amplify app.
- Iam
Service stringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- Name string
The name for an Amplify app.
- Oauth
Token string The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- Platform string
The platform or framework for an Amplify app. Valid values:
WEB
.- Repository string
The repository for an Amplify app.
- map[string]string
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- access
Token String The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- auto
Branch AppCreation Config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- auto
Branch ListCreation Patterns The automated branch creation glob patterns for an Amplify app.
- basic
Auth StringCredentials The credentials for basic authorization for an Amplify app.
- build
Spec String The build specification (build spec) for an Amplify app.
- custom
Rules ListCustom Rule Args> The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- description String
The description for an Amplify app.
- enable
Auto BooleanBranch Creation Enables automated branch creation for an Amplify app.
- enable
Basic BooleanAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- enable
Branch BooleanAuto Build Enables auto-building of branches for the Amplify App.
- enable
Branch BooleanAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- environment
Variables Map The environment variables map for an Amplify app.
- iam
Service StringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- name String
The name for an Amplify app.
- oauth
Token String The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- platform String
The platform or framework for an Amplify app. Valid values:
WEB
.- repository String
The repository for an Amplify app.
- Map
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- access
Token string The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- auto
Branch AppCreation Config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- auto
Branch string[]Creation Patterns The automated branch creation glob patterns for an Amplify app.
- basic
Auth stringCredentials The credentials for basic authorization for an Amplify app.
- build
Spec string The build specification (build spec) for an Amplify app.
- custom
Rules AppCustom Rule Args[] The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- description string
The description for an Amplify app.
- enable
Auto booleanBranch Creation Enables automated branch creation for an Amplify app.
- enable
Basic booleanAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- enable
Branch booleanAuto Build Enables auto-building of branches for the Amplify App.
- enable
Branch booleanAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- environment
Variables {[key: string]: string} The environment variables map for an Amplify app.
- iam
Service stringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- name string
The name for an Amplify app.
- oauth
Token string The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- platform string
The platform or framework for an Amplify app. Valid values:
WEB
.- repository string
The repository for an Amplify app.
- {[key: string]: string}
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- access_
token str The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- auto_
branch_ Appcreation_ config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- auto_
branch_ Sequence[str]creation_ patterns The automated branch creation glob patterns for an Amplify app.
- basic_
auth_ strcredentials The credentials for basic authorization for an Amplify app.
- build_
spec str The build specification (build spec) for an Amplify app.
- custom_
rules Sequence[AppCustom Rule Args] The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- description str
The description for an Amplify app.
- enable_
auto_ boolbranch_ creation Enables automated branch creation for an Amplify app.
- enable_
basic_ boolauth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- enable_
branch_ boolauto_ build Enables auto-building of branches for the Amplify App.
- enable_
branch_ boolauto_ deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- environment_
variables Mapping[str, str] The environment variables map for an Amplify app.
- iam_
service_ strrole_ arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- name str
The name for an Amplify app.
- oauth_
token str The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- platform str
The platform or framework for an Amplify app. Valid values:
WEB
.- repository str
The repository for an Amplify app.
- Mapping[str, str]
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- access
Token String The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- auto
Branch Property MapCreation Config The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- auto
Branch ListCreation Patterns The automated branch creation glob patterns for an Amplify app.
- basic
Auth StringCredentials The credentials for basic authorization for an Amplify app.
- build
Spec String The build specification (build spec) for an Amplify app.
- custom
Rules List The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- description String
The description for an Amplify app.
- enable
Auto BooleanBranch Creation Enables automated branch creation for an Amplify app.
- enable
Basic BooleanAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- enable
Branch BooleanAuto Build Enables auto-building of branches for the Amplify App.
- enable
Branch BooleanAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- environment
Variables Map The environment variables map for an Amplify app.
- iam
Service StringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- name String
The name for an Amplify app.
- oauth
Token String The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- platform String
The platform or framework for an Amplify app. Valid values:
WEB
.- repository String
The repository for an Amplify app.
- Map
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the App resource produces the following output properties:
- Arn string
The Amazon Resource Name (ARN) of the Amplify app.
- Default
Domain string The default domain for the Amplify app.
- Id string
The provider-assigned unique ID for this managed resource.
- Production
Branches List<AppProduction Branch> Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
The Amazon Resource Name (ARN) of the Amplify app.
- Default
Domain string The default domain for the Amplify app.
- Id string
The provider-assigned unique ID for this managed resource.
- Production
Branches []AppProduction Branch Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
The Amazon Resource Name (ARN) of the Amplify app.
- default
Domain String The default domain for the Amplify app.
- id String
The provider-assigned unique ID for this managed resource.
- production
Branches ListProduction Branch> Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- Map
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
The Amazon Resource Name (ARN) of the Amplify app.
- default
Domain string The default domain for the Amplify app.
- id string
The provider-assigned unique ID for this managed resource.
- production
Branches AppProduction Branch[] Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
The Amazon Resource Name (ARN) of the Amplify app.
- default_
domain str The default domain for the Amplify app.
- id str
The provider-assigned unique ID for this managed resource.
- production_
branches Sequence[AppProduction Branch] Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
The Amazon Resource Name (ARN) of the Amplify app.
- default
Domain String The default domain for the Amplify app.
- id String
The provider-assigned unique ID for this managed resource.
- production
Branches List Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- Map
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up an Existing App Resource
Get an existing App resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppState, opts?: CustomResourceOptions): App
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_token: Optional[str] = None,
arn: Optional[str] = None,
auto_branch_creation_config: Optional[AppAutoBranchCreationConfigArgs] = None,
auto_branch_creation_patterns: Optional[Sequence[str]] = None,
basic_auth_credentials: Optional[str] = None,
build_spec: Optional[str] = None,
custom_rules: Optional[Sequence[AppCustomRuleArgs]] = None,
default_domain: Optional[str] = None,
description: Optional[str] = None,
enable_auto_branch_creation: Optional[bool] = None,
enable_basic_auth: Optional[bool] = None,
enable_branch_auto_build: Optional[bool] = None,
enable_branch_auto_deletion: Optional[bool] = None,
environment_variables: Optional[Mapping[str, str]] = None,
iam_service_role_arn: Optional[str] = None,
name: Optional[str] = None,
oauth_token: Optional[str] = None,
platform: Optional[str] = None,
production_branches: Optional[Sequence[AppProductionBranchArgs]] = None,
repository: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> App
func GetApp(ctx *Context, name string, id IDInput, state *AppState, opts ...ResourceOption) (*App, error)
public static App Get(string name, Input<string> id, AppState? state, CustomResourceOptions? opts = null)
public static App get(String name, Output<String> id, AppState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Token string The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- Arn string
The Amazon Resource Name (ARN) of the Amplify app.
- Auto
Branch AppCreation Config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- Auto
Branch List<string>Creation Patterns The automated branch creation glob patterns for an Amplify app.
- Basic
Auth stringCredentials The credentials for basic authorization for an Amplify app.
- Build
Spec string The build specification (build spec) for an Amplify app.
- Custom
Rules List<AppCustom Rule Args> The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- Default
Domain string The default domain for the Amplify app.
- Description string
The description for an Amplify app.
- Enable
Auto boolBranch Creation Enables automated branch creation for an Amplify app.
- Enable
Basic boolAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- Enable
Branch boolAuto Build Enables auto-building of branches for the Amplify App.
- Enable
Branch boolAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- Environment
Variables Dictionary<string, string> The environment variables map for an Amplify app.
- Iam
Service stringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- Name string
The name for an Amplify app.
- Oauth
Token string The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- Platform string
The platform or framework for an Amplify app. Valid values:
WEB
.- Production
Branches List<AppProduction Branch Args> Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- Repository string
The repository for an Amplify app.
- Dictionary<string, string>
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Access
Token string The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- Arn string
The Amazon Resource Name (ARN) of the Amplify app.
- Auto
Branch AppCreation Config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- Auto
Branch []stringCreation Patterns The automated branch creation glob patterns for an Amplify app.
- Basic
Auth stringCredentials The credentials for basic authorization for an Amplify app.
- Build
Spec string The build specification (build spec) for an Amplify app.
- Custom
Rules []AppCustom Rule Args The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- Default
Domain string The default domain for the Amplify app.
- Description string
The description for an Amplify app.
- Enable
Auto boolBranch Creation Enables automated branch creation for an Amplify app.
- Enable
Basic boolAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- Enable
Branch boolAuto Build Enables auto-building of branches for the Amplify App.
- Enable
Branch boolAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- Environment
Variables map[string]string The environment variables map for an Amplify app.
- Iam
Service stringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- Name string
The name for an Amplify app.
- Oauth
Token string The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- Platform string
The platform or framework for an Amplify app. Valid values:
WEB
.- Production
Branches []AppProduction Branch Args Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- Repository string
The repository for an Amplify app.
- map[string]string
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- access
Token String The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- arn String
The Amazon Resource Name (ARN) of the Amplify app.
- auto
Branch AppCreation Config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- auto
Branch ListCreation Patterns The automated branch creation glob patterns for an Amplify app.
- basic
Auth StringCredentials The credentials for basic authorization for an Amplify app.
- build
Spec String The build specification (build spec) for an Amplify app.
- custom
Rules ListCustom Rule Args> The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- default
Domain String The default domain for the Amplify app.
- description String
The description for an Amplify app.
- enable
Auto BooleanBranch Creation Enables automated branch creation for an Amplify app.
- enable
Basic BooleanAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- enable
Branch BooleanAuto Build Enables auto-building of branches for the Amplify App.
- enable
Branch BooleanAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- environment
Variables Map The environment variables map for an Amplify app.
- iam
Service StringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- name String
The name for an Amplify app.
- oauth
Token String The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- platform String
The platform or framework for an Amplify app. Valid values:
WEB
.- production
Branches ListProduction Branch Args> Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- repository String
The repository for an Amplify app.
- Map
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- access
Token string The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- arn string
The Amazon Resource Name (ARN) of the Amplify app.
- auto
Branch AppCreation Config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- auto
Branch string[]Creation Patterns The automated branch creation glob patterns for an Amplify app.
- basic
Auth stringCredentials The credentials for basic authorization for an Amplify app.
- build
Spec string The build specification (build spec) for an Amplify app.
- custom
Rules AppCustom Rule Args[] The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- default
Domain string The default domain for the Amplify app.
- description string
The description for an Amplify app.
- enable
Auto booleanBranch Creation Enables automated branch creation for an Amplify app.
- enable
Basic booleanAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- enable
Branch booleanAuto Build Enables auto-building of branches for the Amplify App.
- enable
Branch booleanAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- environment
Variables {[key: string]: string} The environment variables map for an Amplify app.
- iam
Service stringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- name string
The name for an Amplify app.
- oauth
Token string The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- platform string
The platform or framework for an Amplify app. Valid values:
WEB
.- production
Branches AppProduction Branch Args[] Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- repository string
The repository for an Amplify app.
- {[key: string]: string}
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- access_
token str The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- arn str
The Amazon Resource Name (ARN) of the Amplify app.
- auto_
branch_ Appcreation_ config Auto Branch Creation Config Args The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- auto_
branch_ Sequence[str]creation_ patterns The automated branch creation glob patterns for an Amplify app.
- basic_
auth_ strcredentials The credentials for basic authorization for an Amplify app.
- build_
spec str The build specification (build spec) for an Amplify app.
- custom_
rules Sequence[AppCustom Rule Args] The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- default_
domain str The default domain for the Amplify app.
- description str
The description for an Amplify app.
- enable_
auto_ boolbranch_ creation Enables automated branch creation for an Amplify app.
- enable_
basic_ boolauth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- enable_
branch_ boolauto_ build Enables auto-building of branches for the Amplify App.
- enable_
branch_ boolauto_ deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- environment_
variables Mapping[str, str] The environment variables map for an Amplify app.
- iam_
service_ strrole_ arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- name str
The name for an Amplify app.
- oauth_
token str The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- platform str
The platform or framework for an Amplify app. Valid values:
WEB
.- production_
branches Sequence[AppProduction Branch Args] Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- repository str
The repository for an Amplify app.
- Mapping[str, str]
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- access
Token String The personal access token for a third-party source control system for an Amplify app. The personal access token is used to create a webhook and a read-only deploy key. The token is not stored.
- arn String
The Amazon Resource Name (ARN) of the Amplify app.
- auto
Branch Property MapCreation Config The automated branch creation configuration for an Amplify app. An
auto_branch_creation_config
block is documented below.- auto
Branch ListCreation Patterns The automated branch creation glob patterns for an Amplify app.
- basic
Auth StringCredentials The credentials for basic authorization for an Amplify app.
- build
Spec String The build specification (build spec) for an Amplify app.
- custom
Rules List The custom rewrite and redirect rules for an Amplify app. A
custom_rule
block is documented below.- default
Domain String The default domain for the Amplify app.
- description String
The description for an Amplify app.
- enable
Auto BooleanBranch Creation Enables automated branch creation for an Amplify app.
- enable
Basic BooleanAuth Enables basic authorization for an Amplify app. This will apply to all branches that are part of this app.
- enable
Branch BooleanAuto Build Enables auto-building of branches for the Amplify App.
- enable
Branch BooleanAuto Deletion Automatically disconnects a branch in the Amplify Console when you delete a branch from your Git repository.
- environment
Variables Map The environment variables map for an Amplify app.
- iam
Service StringRole Arn The AWS Identity and Access Management (IAM) service role for an Amplify app.
- name String
The name for an Amplify app.
- oauth
Token String The OAuth token for a third-party source control system for an Amplify app. The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
- platform String
The platform or framework for an Amplify app. Valid values:
WEB
.- production
Branches List Describes the information about a production branch for an Amplify app. A
production_branch
block is documented below.- repository String
The repository for an Amplify app.
- Map
Key-value mapping of resource tags. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Supporting Types
AppAutoBranchCreationConfig
- Basic
Auth stringCredentials The basic authorization credentials for the autocreated branch.
- Build
Spec string The build specification (build spec) for the autocreated branch.
- Enable
Auto boolBuild Enables auto building for the autocreated branch.
- Enable
Basic boolAuth Enables basic authorization for the autocreated branch.
- Enable
Performance boolMode Enables performance mode for the branch.
- Enable
Pull boolRequest Preview Enables pull request previews for the autocreated branch.
- Environment
Variables Dictionary<string, string> The environment variables for the autocreated branch.
- Framework string
The framework for the autocreated branch.
- Pull
Request stringEnvironment Name The Amplify environment name for the pull request.
- Stage string
Describes the current stage for the autocreated branch. Valid values:
PRODUCTION
,BETA
,DEVELOPMENT
,EXPERIMENTAL
,PULL_REQUEST
.
- Basic
Auth stringCredentials The basic authorization credentials for the autocreated branch.
- Build
Spec string The build specification (build spec) for the autocreated branch.
- Enable
Auto boolBuild Enables auto building for the autocreated branch.
- Enable
Basic boolAuth Enables basic authorization for the autocreated branch.
- Enable
Performance boolMode Enables performance mode for the branch.
- Enable
Pull boolRequest Preview Enables pull request previews for the autocreated branch.
- Environment
Variables map[string]string The environment variables for the autocreated branch.
- Framework string
The framework for the autocreated branch.
- Pull
Request stringEnvironment Name The Amplify environment name for the pull request.
- Stage string
Describes the current stage for the autocreated branch. Valid values:
PRODUCTION
,BETA
,DEVELOPMENT
,EXPERIMENTAL
,PULL_REQUEST
.
- basic
Auth StringCredentials The basic authorization credentials for the autocreated branch.
- build
Spec String The build specification (build spec) for the autocreated branch.
- enable
Auto BooleanBuild Enables auto building for the autocreated branch.
- enable
Basic BooleanAuth Enables basic authorization for the autocreated branch.
- enable
Performance BooleanMode Enables performance mode for the branch.
- enable
Pull BooleanRequest Preview Enables pull request previews for the autocreated branch.
- environment
Variables Map The environment variables for the autocreated branch.
- framework String
The framework for the autocreated branch.
- pull
Request StringEnvironment Name The Amplify environment name for the pull request.
- stage String
Describes the current stage for the autocreated branch. Valid values:
PRODUCTION
,BETA
,DEVELOPMENT
,EXPERIMENTAL
,PULL_REQUEST
.
- basic
Auth stringCredentials The basic authorization credentials for the autocreated branch.
- build
Spec string The build specification (build spec) for the autocreated branch.
- enable
Auto booleanBuild Enables auto building for the autocreated branch.
- enable
Basic booleanAuth Enables basic authorization for the autocreated branch.
- enable
Performance booleanMode Enables performance mode for the branch.
- enable
Pull booleanRequest Preview Enables pull request previews for the autocreated branch.
- environment
Variables {[key: string]: string} The environment variables for the autocreated branch.
- framework string
The framework for the autocreated branch.
- pull
Request stringEnvironment Name The Amplify environment name for the pull request.
- stage string
Describes the current stage for the autocreated branch. Valid values:
PRODUCTION
,BETA
,DEVELOPMENT
,EXPERIMENTAL
,PULL_REQUEST
.
- basic_
auth_ strcredentials The basic authorization credentials for the autocreated branch.
- build_
spec str The build specification (build spec) for the autocreated branch.
- enable_
auto_ boolbuild Enables auto building for the autocreated branch.
- enable_
basic_ boolauth Enables basic authorization for the autocreated branch.
- enable_
performance_ boolmode Enables performance mode for the branch.
- enable_
pull_ boolrequest_ preview Enables pull request previews for the autocreated branch.
- environment_
variables Mapping[str, str] The environment variables for the autocreated branch.
- framework str
The framework for the autocreated branch.
- pull_
request_ strenvironment_ name The Amplify environment name for the pull request.
- stage str
Describes the current stage for the autocreated branch. Valid values:
PRODUCTION
,BETA
,DEVELOPMENT
,EXPERIMENTAL
,PULL_REQUEST
.
- basic
Auth StringCredentials The basic authorization credentials for the autocreated branch.
- build
Spec String The build specification (build spec) for the autocreated branch.
- enable
Auto BooleanBuild Enables auto building for the autocreated branch.
- enable
Basic BooleanAuth Enables basic authorization for the autocreated branch.
- enable
Performance BooleanMode Enables performance mode for the branch.
- enable
Pull BooleanRequest Preview Enables pull request previews for the autocreated branch.
- environment
Variables Map The environment variables for the autocreated branch.
- framework String
The framework for the autocreated branch.
- pull
Request StringEnvironment Name The Amplify environment name for the pull request.
- stage String
Describes the current stage for the autocreated branch. Valid values:
PRODUCTION
,BETA
,DEVELOPMENT
,EXPERIMENTAL
,PULL_REQUEST
.
AppCustomRule
- Source string
The source pattern for a URL rewrite or redirect rule.
- Target string
The target pattern for a URL rewrite or redirect rule.
- Condition string
The condition for a URL rewrite or redirect rule, such as a country code.
- Status string
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.
- Source string
The source pattern for a URL rewrite or redirect rule.
- Target string
The target pattern for a URL rewrite or redirect rule.
- Condition string
The condition for a URL rewrite or redirect rule, such as a country code.
- Status string
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.
- source String
The source pattern for a URL rewrite or redirect rule.
- target String
The target pattern for a URL rewrite or redirect rule.
- condition String
The condition for a URL rewrite or redirect rule, such as a country code.
- status String
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.
- source string
The source pattern for a URL rewrite or redirect rule.
- target string
The target pattern for a URL rewrite or redirect rule.
- condition string
The condition for a URL rewrite or redirect rule, such as a country code.
- status string
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.
- source str
The source pattern for a URL rewrite or redirect rule.
- target str
The target pattern for a URL rewrite or redirect rule.
- condition str
The condition for a URL rewrite or redirect rule, such as a country code.
- status str
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.
- source String
The source pattern for a URL rewrite or redirect rule.
- target String
The target pattern for a URL rewrite or redirect rule.
- condition String
The condition for a URL rewrite or redirect rule, such as a country code.
- status String
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.
AppProductionBranch
- Branch
Name string The branch name for the production branch.
- Last
Deploy stringTime The last deploy time of the production branch.
- Status string
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.- Thumbnail
Url string The thumbnail URL for the production branch.
- Branch
Name string The branch name for the production branch.
- Last
Deploy stringTime The last deploy time of the production branch.
- Status string
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.- Thumbnail
Url string The thumbnail URL for the production branch.
- branch
Name String The branch name for the production branch.
- last
Deploy StringTime The last deploy time of the production branch.
- status String
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.- thumbnail
Url String The thumbnail URL for the production branch.
- branch
Name string The branch name for the production branch.
- last
Deploy stringTime The last deploy time of the production branch.
- status string
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.- thumbnail
Url string The thumbnail URL for the production branch.
- branch_
name str The branch name for the production branch.
- last_
deploy_ strtime The last deploy time of the production branch.
- status str
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.- thumbnail_
url str The thumbnail URL for the production branch.
- branch
Name String The branch name for the production branch.
- last
Deploy StringTime The last deploy time of the production branch.
- status String
The status code for a URL rewrite or redirect rule. Valid values:
200
,301
,302
,404
,404-200
.- thumbnail
Url String The thumbnail URL for the production branch.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.