Skip to content
v2.278.0

BackendProperty Struct ​

Describes the backend associated with an Amplify Branch .

This property is available to Amplify Gen 2 apps only. When you deploy an application with Amplify Gen 2, you provision the app's backend infrastructure using Typescript code.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplify as amplify } from 'aws-cdk-lib';
const backendProperty: amplify.CfnBranch.BackendProperty = {
  stackArn: 'stackArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_amplify as amplify

backend_property = amplify.CfnBranch.BackendProperty(
    stack_arn="stackArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.amplify.*;

BackendProperty backendProperty = BackendProperty.builder()
        .stackArn("stackArn")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Amplify;

var backendProperty = new BackendProperty {
    StackArn = "stackArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

backendProperty := &BackendProperty{
	StackArn: jsii.String("stackArn"),
}

Properties ​

stackArnoptionalstringstack_arnoptionalstrstackArnoptionalStringStackArnoptionalstringStackArnoptional*string #
The Amazon Resource Name (ARN) for the CloudFormation stack.