Skip to content
v2.277.0

WebAppReference Struct ​

A reference to a WebApp resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_transfer as interfaces_transfer } from 'aws-cdk-lib/interfaces';
const webAppReference: interfaces_transfer.WebAppReference = {
  webAppArn: 'webAppArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_transfer as interfaces_transfer

web_app_reference = interfaces_transfer.WebAppReference(
    web_app_arn="webAppArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.transfer.*;

WebAppReference webAppReference = WebAppReference.builder()
        .webAppArn("webAppArn")
        .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.Interfaces.Transfer;

var webAppReference = new WebAppReference {
    WebAppArn = "webAppArn"
};
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"

webAppReference := &WebAppReference{
	WebAppArn: jsii.String("webAppArn"),
}

Properties ​

webAppArnstringweb_app_arnstrwebAppArnStringWebAppArnstringWebAppArn*string required #
The Arn of the WebApp resource.