Skip to content
v2.277.0

Experimental

@aws-cdk/aws-apprunner-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

ServiceAttributes Struct ​

Attributes for the App Runner Service.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as apprunner_alpha from '@aws-cdk/aws-apprunner-alpha';
const serviceAttributes: apprunner_alpha.ServiceAttributes = {
  serviceArn: 'serviceArn',
  serviceName: 'serviceName',
  serviceStatus: 'serviceStatus',
  serviceUrl: 'serviceUrl',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_apprunner_alpha as apprunner_alpha

service_attributes = apprunner_alpha.ServiceAttributes(
    service_arn="serviceArn",
    service_name="serviceName",
    service_status="serviceStatus",
    service_url="serviceUrl"
)
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.apprunner.alpha.*;

ServiceAttributes serviceAttributes = ServiceAttributes.builder()
        .serviceArn("serviceArn")
        .serviceName("serviceName")
        .serviceStatus("serviceStatus")
        .serviceUrl("serviceUrl")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.AppRunner.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppRunner.Alpha;

var serviceAttributes = new ServiceAttributes {
    ServiceArn = "serviceArn",
    ServiceName = "serviceName",
    ServiceStatus = "serviceStatus",
    ServiceUrl = "serviceUrl"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdkapprunneralpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import apprunner_alpha "github.com/aws/aws-cdk-go/awscdkapprunneralpha"

serviceAttributes := &ServiceAttributes{
	ServiceArn: jsii.String("serviceArn"),
	ServiceName: jsii.String("serviceName"),
	ServiceStatus: jsii.String("serviceStatus"),
	ServiceUrl: jsii.String("serviceUrl"),
}

Properties ​

serviceArnstringservice_arnstrserviceArnStringServiceArnstringServiceArn*stringrequired#
The ARN of the service.
serviceNamestringservice_namestrserviceNameStringServiceNamestringServiceName*stringrequired#
The name of the service.
serviceStatusstringservice_statusstrserviceStatusStringServiceStatusstringServiceStatus*stringrequired#
The status of the service.
serviceUrlstringservice_urlstrserviceUrlStringServiceUrlstringServiceUrl*stringrequired#
The URL of the service.