@Stability(value=Stable)
public static interface CfnProject.EnvironmentProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
EnvironmentProperty environmentProperty = EnvironmentProperty.builder()
.computeType("computeType")
.image("image")
.type("type")
// the properties below are optional
.certificate("certificate")
.environmentVariables(List.of(EnvironmentVariableProperty.builder()
.name("name")
.value("value")
// the properties below are optional
.type("type")
.build()))
.imagePullCredentialsType("imagePullCredentialsType")
.privilegedMode(false)
.registryCredential(RegistryCredentialProperty.builder()
.credential("credential")
.credentialProvider("credentialProvider")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnProject.EnvironmentProperty.Builder
A builder for
CfnProject.EnvironmentProperty |
static class |
CfnProject.EnvironmentProperty.Jsii$Proxy
An implementation for
CfnProject.EnvironmentProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnProject.EnvironmentProperty.Builder |
builder() |
default String |
getCertificate()
`CfnProject.EnvironmentProperty.Certificate`.
|
String |
getComputeType()
`CfnProject.EnvironmentProperty.ComputeType`.
|
default Object |
getEnvironmentVariables()
`CfnProject.EnvironmentProperty.EnvironmentVariables`.
|
String |
getImage()
`CfnProject.EnvironmentProperty.Image`.
|
default String |
getImagePullCredentialsType()
`CfnProject.EnvironmentProperty.ImagePullCredentialsType`.
|
default Object |
getPrivilegedMode()
`CfnProject.EnvironmentProperty.PrivilegedMode`.
|
default Object |
getRegistryCredential()
`CfnProject.EnvironmentProperty.RegistryCredential`.
|
String |
getType()
`CfnProject.EnvironmentProperty.Type`.
|
@Stability(value=Stable) @Nullable default String getCertificate()
@Stability(value=Stable) @NotNull String getComputeType()
@Stability(value=Stable) @Nullable default Object getEnvironmentVariables()
@Stability(value=Stable) @NotNull String getImage()
@Stability(value=Stable) @Nullable default String getImagePullCredentialsType()
@Stability(value=Stable) @Nullable default Object getPrivilegedMode()
@Stability(value=Stable) @Nullable default Object getRegistryCredential()
@Stability(value=Stable) @NotNull String getType()
@Stability(value=Stable) static CfnProject.EnvironmentProperty.Builder builder()
Copyright © 2021. All rights reserved.