AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi
aws-native.amplify.getBranch
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi
The AWS::Amplify::Branch resource creates a new branch within an app.
Using getBranch
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBranch(args: GetBranchArgs, opts?: InvokeOptions): Promise<GetBranchResult>
function getBranchOutput(args: GetBranchOutputArgs, opts?: InvokeOptions): Output<GetBranchResult>
def get_branch(arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBranchResult
def get_branch_output(arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBranchResult]
func LookupBranch(ctx *Context, args *LookupBranchArgs, opts ...InvokeOption) (*LookupBranchResult, error)
func LookupBranchOutput(ctx *Context, args *LookupBranchOutputArgs, opts ...InvokeOption) LookupBranchResultOutput
> Note: This function is named LookupBranch
in the Go SDK.
public static class GetBranch
{
public static Task<GetBranchResult> InvokeAsync(GetBranchArgs args, InvokeOptions? opts = null)
public static Output<GetBranchResult> Invoke(GetBranchInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBranchResult> getBranch(GetBranchArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:amplify:getBranch
arguments:
# arguments dictionary
The following arguments are supported:
- Arn string
- Arn string
- arn String
- arn string
- arn str
- arn String
getBranch Result
The following output properties are available:
- Arn string
- Backend
Pulumi.
Aws Native. Amplify. Outputs. Branch Backend - Build
Spec string - Description string
- Enable
Auto boolBuild - Enable
Performance boolMode - Enable
Pull boolRequest Preview - Environment
Variables List<Pulumi.Aws Native. Amplify. Outputs. Branch Environment Variable> - Framework string
- Pull
Request stringEnvironment Name - Stage
Pulumi.
Aws Native. Amplify. Branch Stage - List<Pulumi.
Aws Native. Outputs. Tag>
- Arn string
- Backend
Branch
Backend - Build
Spec string - Description string
- Enable
Auto boolBuild - Enable
Performance boolMode - Enable
Pull boolRequest Preview - Environment
Variables []BranchEnvironment Variable - Framework string
- Pull
Request stringEnvironment Name - Stage
Branch
Stage - Tag
- arn String
- backend
Branch
Backend - build
Spec String - description String
- enable
Auto BooleanBuild - enable
Performance BooleanMode - enable
Pull BooleanRequest Preview - environment
Variables List<BranchEnvironment Variable> - framework String
- pull
Request StringEnvironment Name - stage
Branch
Stage - List<Tag>
- arn string
- backend
Branch
Backend - build
Spec string - description string
- enable
Auto booleanBuild - enable
Performance booleanMode - enable
Pull booleanRequest Preview - environment
Variables BranchEnvironment Variable[] - framework string
- pull
Request stringEnvironment Name - stage
Branch
Stage - Tag[]
- arn String
- backend Property Map
- build
Spec String - description String
- enable
Auto BooleanBuild - enable
Performance BooleanMode - enable
Pull BooleanRequest Preview - environment
Variables List<Property Map> - framework String
- pull
Request StringEnvironment Name - stage "EXPERIMENTAL" | "BETA" | "PULL_REQUEST" | "PRODUCTION" | "DEVELOPMENT"
- List<Property Map>
Supporting Types
BranchBackend
- Stack
Arn string
- Stack
Arn string
- stack
Arn String
- stack
Arn string
- stack_
arn str
- stack
Arn String
BranchEnvironmentVariable
BranchStage
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.100.0 published on Wednesday, Mar 27, 2024 by Pulumi