@Stability(value=Experimental) @Internal public static final class ServiceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ServiceProps
ServicePropssoftware.amazon.jsii.JsiiObject.InitializationModeServiceProps.Builder, ServiceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(ServiceProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
ServiceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IRole |
getAccessRole()
(experimental) The IAM role that grants the App Runner service access to a source repository.
|
Cpu |
getCpu()
(experimental) The number of CPU units reserved for each instance of your App Runner service.
|
IRole |
getInstanceRole()
(experimental) The IAM role that provides permissions to your App Runner service.
|
Memory |
getMemory()
(experimental) The amount of memory reserved for each instance of your App Runner service.
|
String |
getServiceName()
(experimental) Name of the service.
|
Source |
getSource()
(experimental) The source of the repository for the service.
|
IVpcConnector |
getVpcConnector()
(experimental) Settings for an App Runner VPC connector to associate with the service.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(ServiceProps.Builder builder)
ServiceProps.Builder.public final Source getSource()
ServicePropsgetSource in interface ServicePropspublic final IRole getAccessRole()
ServicePropsIt's required for ECR image repositories (but not for ECR Public repositories).
The role must be assumable by the 'build.apprunner.amazonaws.com' service principal.
Default: - generate a new access role.
public final Cpu getCpu()
ServicePropsDefault: Cpu.ONE_VCPU
getCpu in interface ServicePropspublic final IRole getInstanceRole()
ServicePropsThese are permissions that your code needs when it calls any AWS APIs.
The role must be assumable by the 'tasks.apprunner.amazonaws.com' service principal.
Default: - no instance role attached.
public final Memory getMemory()
ServicePropsDefault: Memory.TWO_GB
getMemory in interface ServicePropspublic final String getServiceName()
ServicePropsDefault: - auto-generated if undefined.
getServiceName in interface ServicePropspublic final IVpcConnector getVpcConnector()
ServicePropsDefault: - no VPC connector, uses the DEFAULT egress type instead
getVpcConnector in interface ServiceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.