@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:24.578Z") @Stability(value=Experimental) public class Service extends Resource
Example:
Service.Builder.create(this, "Service")
.source(Source.fromGitHub(GithubRepositoryProps.builder()
.repositoryUrl("https://github.com/aws-containers/hello-app-runner")
.branch("main")
.configurationSource(ConfigurationSourceType.REPOSITORY)
.connection(GitHubConnection.fromConnectionArn("CONNECTION_ARN"))
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
Service.Builder
(experimental) A fluent builder for
Service. |
software.amazon.jsii.JsiiObject.InitializationModeIResource.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
Service(software.constructs.Construct scope,
String id,
ServiceProps props) |
protected |
Service(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Service(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static IService |
fromServiceAttributes(software.constructs.Construct scope,
String id,
ServiceAttributes attrs)
(experimental) Import from service attributes.
|
static IService |
fromServiceName(software.constructs.Construct scope,
String id,
String serviceName)
(experimental) Import from service name.
|
String |
getServiceArn()
(experimental) The ARN of the Service.
|
String |
getServiceId()
(experimental) The ID of the Service.
|
String |
getServiceName()
(experimental) The name of the service.
|
String |
getServiceStatus()
(experimental) The status of the Service.
|
String |
getServiceUrl()
(experimental) The URL of the Service.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNodeprotected Service(software.amazon.jsii.JsiiObjectRef objRef)
protected Service(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Service(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ServiceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IService fromServiceAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ServiceAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public static IService fromServiceName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String serviceName)
scope - This parameter is required.id - This parameter is required.serviceName - This parameter is required.@Stability(value=Experimental) @NotNull public String getServiceArn()
@Stability(value=Experimental) @NotNull public String getServiceId()
@Stability(value=Experimental) @NotNull public String getServiceName()
@Stability(value=Experimental) @NotNull public String getServiceStatus()
@Stability(value=Experimental) @NotNull public String getServiceUrl()
Copyright © 2022. All rights reserved.