Interface CfnProject.EnvironmentProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnProject.EnvironmentProperty.Jsii$Proxy
Enclosing class:
CfnProject

@Stability(Stable) public static interface CfnProject.EnvironmentProperty extends software.amazon.jsii.JsiiSerializable
Environment is a property of the AWS::CodeBuild::Project resource that specifies the environment for an AWS CodeBuild project.

Example:

 // 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()))
         .fleet(ProjectFleetProperty.builder()
                 .fleetArn("fleetArn")
                 .build())
         .imagePullCredentialsType("imagePullCredentialsType")
         .privilegedMode(false)
         .registryCredential(RegistryCredentialProperty.builder()
                 .credential("credential")
                 .credentialProvider("credentialProvider")
                 .build())
         .build();
 

See Also: