Class: AWSCDK::CodeBuild::ProjectProps
- Inherits:
-
CommonProjectProps
- Object
- CommonProjectProps
- AWSCDK::CodeBuild::ProjectProps
- Defined in:
- code_build/project_props.rb
Instance Attribute Summary collapse
-
#allow_all_outbound ⇒ Boolean?
readonly
Whether to allow the CodeBuild to send all network traffic.
-
#artifacts ⇒ AWSCDK::CodeBuild::IArtifacts?
readonly
Defines where build artifacts will be stored.
-
#auto_retry_limit ⇒ Numeric?
readonly
CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit.
-
#badge ⇒ Boolean?
readonly
Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
-
#build_spec ⇒ AWSCDK::CodeBuild::BuildSpec?
readonly
Filename or contents of buildspec in JSON format.
-
#cache ⇒ AWSCDK::CodeBuild::Cache?
readonly
Caching strategy to use.
-
#check_secrets_in_plain_text_env_variables ⇒ Boolean?
readonly
Whether to check for the presence of any secrets in the environment variables of the default type, BuildEnvironmentVariableType.PLAINTEXT.
-
#concurrent_build_limit ⇒ Numeric?
readonly
Maximum number of concurrent builds.
-
#description ⇒ String?
readonly
A description of the project.
-
#encryption_key ⇒ AWSCDK::KMS::IKey?
readonly
Encryption key to use to read and write artifacts.
-
#environment ⇒ AWSCDK::CodeBuild::BuildEnvironment?
readonly
Build environment to use for the build.
-
#environment_variables ⇒ Hash{String => AWSCDK::CodeBuild::BuildEnvironmentVariable}?
readonly
Additional environment variables to add to the build environment.
-
#file_system_locations ⇒ Array<AWSCDK::CodeBuild::IFileSystemLocation>?
readonly
An ProjectFileSystemLocation objects for a CodeBuild build project.
-
#grant_report_group_permissions ⇒ Boolean?
readonly
Add permissions to this project's role to create and use test report groups with name starting with the name of this project.
-
#logging ⇒ AWSCDK::CodeBuild::LoggingOptions?
readonly
Information about logs for the build project.
-
#project_name ⇒ String?
readonly
The physical, human-readable name of the CodeBuild Project.
-
#queued_timeout ⇒ AWSCDK::Duration?
readonly
The number of minutes after which AWS CodeBuild stops the build if it's still in queue.
-
#role ⇒ AWSCDK::IAM::IRole?
readonly
Service Role to assume while running the build.
-
#secondary_artifacts ⇒ Array<AWSCDK::CodeBuild::IArtifacts>?
readonly
The secondary artifacts for the Project.
-
#secondary_sources ⇒ Array<AWSCDK::CodeBuild::ISource>?
readonly
The secondary sources for the Project.
-
#security_groups ⇒ Array<AWSCDK::EC2::ISecurityGroup>?
readonly
What security group to associate with the codebuild project's network interfaces.
-
#source ⇒ AWSCDK::CodeBuild::ISource?
readonly
The source of the build.
-
#ssm_session_permissions ⇒ Boolean?
readonly
Add the permissions necessary for debugging builds with SSM Session Manager.
-
#subnet_selection ⇒ AWSCDK::EC2::SubnetSelection?
readonly
Where to place the network interfaces within the VPC.
-
#timeout ⇒ AWSCDK::Duration?
readonly
The number of minutes after which AWS CodeBuild stops the build if it's not complete.
-
#visibility ⇒ AWSCDK::CodeBuild::ProjectVisibility?
readonly
Specifies the visibility of the project's builds.
-
#vpc ⇒ AWSCDK::EC2::IVPC?
readonly
VPC network to place codebuild network interfaces.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(allow_all_outbound: nil, auto_retry_limit: nil, badge: nil, build_spec: nil, cache: nil, check_secrets_in_plain_text_env_variables: nil, concurrent_build_limit: nil, description: nil, encryption_key: nil, environment: nil, environment_variables: nil, file_system_locations: nil, grant_report_group_permissions: nil, logging: nil, project_name: nil, queued_timeout: nil, role: nil, security_groups: nil, ssm_session_permissions: nil, subnet_selection: nil, timeout: nil, visibility: nil, vpc: nil, artifacts: nil, secondary_artifacts: nil, secondary_sources: nil, source: nil) ⇒ ProjectProps
constructor
A new instance of ProjectProps.
- #to_jsii ⇒ Object
Constructor Details
#initialize(allow_all_outbound: nil, auto_retry_limit: nil, badge: nil, build_spec: nil, cache: nil, check_secrets_in_plain_text_env_variables: nil, concurrent_build_limit: nil, description: nil, encryption_key: nil, environment: nil, environment_variables: nil, file_system_locations: nil, grant_report_group_permissions: nil, logging: nil, project_name: nil, queued_timeout: nil, role: nil, security_groups: nil, ssm_session_permissions: nil, subnet_selection: nil, timeout: nil, visibility: nil, vpc: nil, artifacts: nil, secondary_artifacts: nil, secondary_sources: nil, source: nil) ⇒ ProjectProps
Returns a new instance of ProjectProps.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
# File 'code_build/project_props.rb', line 33 def initialize(allow_all_outbound: nil, auto_retry_limit: nil, badge: nil, build_spec: nil, cache: nil, check_secrets_in_plain_text_env_variables: nil, concurrent_build_limit: nil, description: nil, encryption_key: nil, environment: nil, environment_variables: nil, file_system_locations: nil, grant_report_group_permissions: nil, logging: nil, project_name: nil, queued_timeout: nil, role: nil, security_groups: nil, ssm_session_permissions: nil, subnet_selection: nil, timeout: nil, visibility: nil, vpc: nil, artifacts: nil, secondary_artifacts: nil, secondary_sources: nil, source: nil) @allow_all_outbound = allow_all_outbound Jsii::Type.check_type(@allow_all_outbound, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "allowAllOutbound") unless @allow_all_outbound.nil? @auto_retry_limit = auto_retry_limit Jsii::Type.check_type(@auto_retry_limit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "autoRetryLimit") unless @auto_retry_limit.nil? @badge = badge Jsii::Type.check_type(@badge, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "badge") unless @badge.nil? @build_spec = build_spec Jsii::Type.check_type(@build_spec, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLkJ1aWxkU3BlYyJ9")), "buildSpec") unless @build_spec.nil? @cache = cache Jsii::Type.check_type(@cache, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLkNhY2hlIn0=")), "cache") unless @cache.nil? @check_secrets_in_plain_text_env_variables = check_secrets_in_plain_text_env_variables Jsii::Type.check_type(@check_secrets_in_plain_text_env_variables, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "checkSecretsInPlainTextEnvVariables") unless @check_secrets_in_plain_text_env_variables.nil? @concurrent_build_limit = concurrent_build_limit Jsii::Type.check_type(@concurrent_build_limit, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "concurrentBuildLimit") unless @concurrent_build_limit.nil? @description = description Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "description") unless @description.nil? @encryption_key = encryption_key Jsii::Type.check_type(@encryption_key, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfa21zLklLZXkifQ==")), "encryptionKey") unless @encryption_key.nil? @environment = environment.is_a?(Hash) ? ::AWSCDK::CodeBuild::BuildEnvironment.new(**environment.transform_keys(&:to_sym)) : environment Jsii::Type.check_type(@environment, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLkJ1aWxkRW52aXJvbm1lbnQifQ==")), "environment") unless @environment.nil? @environment_variables = environment_variables.is_a?(Hash) ? environment_variables.transform_values { |jsii_v0| jsii_v0.is_a?(Hash) ? ::AWSCDK::CodeBuild::BuildEnvironmentVariable.new(**jsii_v0.transform_keys(&:to_sym)) : jsii_v0 } : environment_variables Jsii::Type.check_type(@environment_variables, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlYnVpbGQuQnVpbGRFbnZpcm9ubWVudFZhcmlhYmxlIn0sImtpbmQiOiJtYXAifX0=")), "environmentVariables") unless @environment_variables.nil? @file_system_locations = file_system_locations Jsii::Type.check_type(@file_system_locations, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlYnVpbGQuSUZpbGVTeXN0ZW1Mb2NhdGlvbiJ9LCJraW5kIjoiYXJyYXkifX0=")), "fileSystemLocations") unless @file_system_locations.nil? @grant_report_group_permissions = Jsii::Type.check_type(@grant_report_group_permissions, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "grantReportGroupPermissions") unless @grant_report_group_permissions.nil? @logging = logging.is_a?(Hash) ? ::AWSCDK::CodeBuild::LoggingOptions.new(**logging.transform_keys(&:to_sym)) : logging Jsii::Type.check_type(@logging, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLkxvZ2dpbmdPcHRpb25zIn0=")), "logging") unless @logging.nil? @project_name = project_name Jsii::Type.check_type(@project_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "projectName") unless @project_name.nil? @queued_timeout = queued_timeout Jsii::Type.check_type(@queued_timeout, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5EdXJhdGlvbiJ9")), "queuedTimeout") unless @queued_timeout.nil? @role = role Jsii::Type.check_type(@role, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfaWFtLklSb2xlIn0=")), "role") unless @role.nil? @security_groups = security_groups Jsii::Type.check_type(@security_groups, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19lYzIuSVNlY3VyaXR5R3JvdXAifSwia2luZCI6ImFycmF5In19")), "securityGroups") unless @security_groups.nil? @ssm_session_permissions = Jsii::Type.check_type(@ssm_session_permissions, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJib29sZWFuIn0=")), "ssmSessionPermissions") unless @ssm_session_permissions.nil? @subnet_selection = subnet_selection.is_a?(Hash) ? ::AWSCDK::EC2::SubnetSelection.new(**subnet_selection.transform_keys(&:to_sym)) : subnet_selection Jsii::Type.check_type(@subnet_selection, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLlN1Ym5ldFNlbGVjdGlvbiJ9")), "subnetSelection") unless @subnet_selection.nil? @timeout = timeout Jsii::Type.check_type(@timeout, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5EdXJhdGlvbiJ9")), "timeout") unless @timeout.nil? @visibility = visibility Jsii::Type.check_type(@visibility, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLlByb2plY3RWaXNpYmlsaXR5In0=")), "visibility") unless @visibility.nil? @vpc = vpc Jsii::Type.check_type(@vpc, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfZWMyLklWcGMifQ==")), "vpc") unless @vpc.nil? @artifacts = artifacts Jsii::Type.check_type(@artifacts, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLklBcnRpZmFjdHMifQ==")), "artifacts") unless @artifacts.nil? @secondary_artifacts = secondary_artifacts Jsii::Type.check_type(@secondary_artifacts, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlYnVpbGQuSUFydGlmYWN0cyJ9LCJraW5kIjoiYXJyYXkifX0=")), "secondaryArtifacts") unless @secondary_artifacts.nil? @secondary_sources = secondary_sources Jsii::Type.check_type(@secondary_sources, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7ImZxbiI6ImF3cy1jZGstbGliLmF3c19jb2RlYnVpbGQuSVNvdXJjZSJ9LCJraW5kIjoiYXJyYXkifX0=")), "secondarySources") unless @secondary_sources.nil? @source = source Jsii::Type.check_type(@source, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfY29kZWJ1aWxkLklTb3VyY2UifQ==")), "source") unless @source.nil? end |
Instance Attribute Details
#allow_all_outbound ⇒ Boolean? (readonly)
Default: true
Whether to allow the CodeBuild to send all network traffic.
If set to false, you must individually add traffic rules to allow the CodeBuild project to connect to network targets.
Only used if 'vpc' is supplied.
99 100 101 |
# File 'code_build/project_props.rb', line 99 def allow_all_outbound @allow_all_outbound end |
#artifacts ⇒ AWSCDK::CodeBuild::IArtifacts? (readonly)
Default: NoArtifacts
Defines where build artifacts will be stored.
Could be: PipelineBuildArtifacts, NoArtifacts and S3Artifacts.
274 275 276 |
# File 'code_build/project_props.rb', line 274 def artifacts @artifacts end |
#auto_retry_limit ⇒ Numeric? (readonly)
Default: - no retry
CodeBuild will automatically call retry build using the project's service role up to the auto-retry limit.
auto_retry_limit must be between 0 and 10.
106 107 108 |
# File 'code_build/project_props.rb', line 106 def auto_retry_limit @auto_retry_limit end |
#badge ⇒ Boolean? (readonly)
Default: false
Indicates whether AWS CodeBuild generates a publicly accessible URL for your project's build badge.
For more information, see Build Badges Sample in the AWS CodeBuild User Guide.
114 115 116 |
# File 'code_build/project_props.rb', line 114 def badge @badge end |
#build_spec ⇒ AWSCDK::CodeBuild::BuildSpec? (readonly)
Default: - Empty buildspec.
Filename or contents of buildspec in JSON format.
120 121 122 |
# File 'code_build/project_props.rb', line 120 def build_spec @build_spec end |
#cache ⇒ AWSCDK::CodeBuild::Cache? (readonly)
Default: Cache.none
Caching strategy to use.
125 126 127 |
# File 'code_build/project_props.rb', line 125 def cache @cache end |
#check_secrets_in_plain_text_env_variables ⇒ Boolean? (readonly)
Default: true
Whether to check for the presence of any secrets in the environment variables of the default type, BuildEnvironmentVariableType.PLAINTEXT. Since using a secret for the value of that kind of variable would result in it being displayed in plain text in the AWS Console, the construct will throw an exception if it detects a secret was passed there. Pass this property as false if you want to skip this validation, and keep using a secret in a plain text environment variable.
130 131 132 |
# File 'code_build/project_props.rb', line 130 def check_secrets_in_plain_text_env_variables @check_secrets_in_plain_text_env_variables end |
#concurrent_build_limit ⇒ Numeric? (readonly)
Default: - no explicit limit is set
Maximum number of concurrent builds.
Minimum value is 1 and maximum is account build limit.
137 138 139 |
# File 'code_build/project_props.rb', line 137 def concurrent_build_limit @concurrent_build_limit end |
#description ⇒ String? (readonly)
Default: - No description.
A description of the project.
Use the description to identify the purpose of the project.
145 146 147 |
# File 'code_build/project_props.rb', line 145 def description @description end |
#encryption_key ⇒ AWSCDK::KMS::IKey? (readonly)
Default: - The AWS-managed CMK for Amazon Simple Storage Service (Amazon S3) is used.
Encryption key to use to read and write artifacts.
150 151 152 |
# File 'code_build/project_props.rb', line 150 def encryption_key @encryption_key end |
#environment ⇒ AWSCDK::CodeBuild::BuildEnvironment? (readonly)
Default: BuildEnvironment.LinuxBuildImage.STANDARD_7_0
Build environment to use for the build.
155 156 157 |
# File 'code_build/project_props.rb', line 155 def environment @environment end |
#environment_variables ⇒ Hash{String => AWSCDK::CodeBuild::BuildEnvironmentVariable}? (readonly)
Default: - No additional environment variables are specified.
Additional environment variables to add to the build environment.
160 161 162 |
# File 'code_build/project_props.rb', line 160 def environment_variables @environment_variables end |
#file_system_locations ⇒ Array<AWSCDK::CodeBuild::IFileSystemLocation>? (readonly)
Default: - no file system locations
An ProjectFileSystemLocation objects for a CodeBuild build project.
A ProjectFileSystemLocation object specifies the identifier, location, mountOptions, mountPoint, and type of a file system created using Amazon Elastic File System.
168 169 170 |
# File 'code_build/project_props.rb', line 168 def file_system_locations @file_system_locations end |
#grant_report_group_permissions ⇒ Boolean? (readonly)
Default: true
Add permissions to this project's role to create and use test report groups with name starting with the name of this project.
That is the standard report group that gets created when a simple name (in contrast to an ARN) is used in the 'reports' section of the buildspec of this project. This is usually harmless, but you can turn these off if you don't plan on using test reports in this project.
180 181 182 |
# File 'code_build/project_props.rb', line 180 def @grant_report_group_permissions end |
#logging ⇒ AWSCDK::CodeBuild::LoggingOptions? (readonly)
Default: - no log configuration is set
Information about logs for the build project.
A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
187 188 189 |
# File 'code_build/project_props.rb', line 187 def logging @logging end |
#project_name ⇒ String? (readonly)
Default: - Name is automatically generated.
The physical, human-readable name of the CodeBuild Project.
192 193 194 |
# File 'code_build/project_props.rb', line 192 def project_name @project_name end |
#queued_timeout ⇒ AWSCDK::Duration? (readonly)
Default: - no queue timeout is set
The number of minutes after which AWS CodeBuild stops the build if it's still in queue.
For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.
200 201 202 |
# File 'code_build/project_props.rb', line 200 def queued_timeout @queued_timeout end |
#role ⇒ AWSCDK::IAM::IRole? (readonly)
Default: - A role will be created.
Service Role to assume while running the build.
205 206 207 |
# File 'code_build/project_props.rb', line 205 def role @role end |
#secondary_artifacts ⇒ Array<AWSCDK::CodeBuild::IArtifacts>? (readonly)
Default: - No secondary artifacts.
The secondary artifacts for the Project.
Can also be added after the Project has been created by using the Project#addSecondaryArtifact method.
282 283 284 |
# File 'code_build/project_props.rb', line 282 def secondary_artifacts @secondary_artifacts end |
#secondary_sources ⇒ Array<AWSCDK::CodeBuild::ISource>? (readonly)
Default: - No secondary sources.
The secondary sources for the Project.
Can be also added after the Project has been created by using the Project#addSecondarySource method.
290 291 292 |
# File 'code_build/project_props.rb', line 290 def secondary_sources @secondary_sources end |
#security_groups ⇒ Array<AWSCDK::EC2::ISecurityGroup>? (readonly)
Default: - Security group will be automatically created.
What security group to associate with the codebuild project's network interfaces.
If no security group is identified, one will be created automatically.
Only used if 'vpc' is supplied.
214 215 216 |
# File 'code_build/project_props.rb', line 214 def security_groups @security_groups end |
#source ⇒ AWSCDK::CodeBuild::ISource? (readonly)
Default: - NoSource
The source of the build.
Note: if NoSource is given as the source,
then you need to provide an explicit build_spec.
298 299 300 |
# File 'code_build/project_props.rb', line 298 def source @source end |
#ssm_session_permissions ⇒ Boolean? (readonly)
Default: false
Add the permissions necessary for debugging builds with SSM Session Manager.
If the following prerequisites have been met:
- The necessary permissions have been added by setting this flag to true.
- The build image has the SSM agent installed (true for default CodeBuild images).
- The build is started with debugSessionEnabled set to true.
Then the build container can be paused and inspected using Session Manager
by invoking the codebuild-breakpoint command somewhere during the build.
codebuild-breakpoint commands will be ignored if the build is not started
with debugSessionEnabled=true.
232 233 234 |
# File 'code_build/project_props.rb', line 232 def @ssm_session_permissions end |
#subnet_selection ⇒ AWSCDK::EC2::SubnetSelection? (readonly)
Default: - private subnets if available else public subnets
Where to place the network interfaces within the VPC.
To access AWS services, your CodeBuild project needs to be in one of the following types of subnets:
- Subnets with access to the internet (of type PRIVATE_WITH_EGRESS).
- Private subnets unconnected to the internet, but with VPC endpoints for the necessary services.
If you don't specify a subnet selection, the default behavior is to use PRIVATE_WITH_EGRESS subnets first if they exist, then PRIVATE_WITHOUT_EGRESS, and finally PUBLIC subnets. If your VPC doesn't have PRIVATE_WITH_EGRESS subnets but you need AWS service access, add VPC Endpoints to your private subnets.
247 248 249 |
# File 'code_build/project_props.rb', line 247 def subnet_selection @subnet_selection end |
#timeout ⇒ AWSCDK::Duration? (readonly)
Default: Duration.hours(1)
The number of minutes after which AWS CodeBuild stops the build if it's not complete.
For valid values, see the timeoutInMinutes field in the AWS CodeBuild User Guide.
255 256 257 |
# File 'code_build/project_props.rb', line 255 def timeout @timeout end |
#visibility ⇒ AWSCDK::CodeBuild::ProjectVisibility? (readonly)
Default: - no visibility is set
Specifies the visibility of the project's builds.
260 261 262 |
# File 'code_build/project_props.rb', line 260 def visibility @visibility end |
#vpc ⇒ AWSCDK::EC2::IVPC? (readonly)
Default: - No VPC is specified.
VPC network to place codebuild network interfaces.
Specify this if the codebuild project needs to access resources in a VPC.
267 268 269 |
# File 'code_build/project_props.rb', line 267 def vpc @vpc end |
Class Method Details
.jsii_properties ⇒ Object
300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 |
# File 'code_build/project_props.rb', line 300 def self.jsii_properties { :allow_all_outbound => "allowAllOutbound", :auto_retry_limit => "autoRetryLimit", :badge => "badge", :build_spec => "buildSpec", :cache => "cache", :check_secrets_in_plain_text_env_variables => "checkSecretsInPlainTextEnvVariables", :concurrent_build_limit => "concurrentBuildLimit", :description => "description", :encryption_key => "encryptionKey", :environment => "environment", :environment_variables => "environmentVariables", :file_system_locations => "fileSystemLocations", :grant_report_group_permissions => "grantReportGroupPermissions", :logging => "logging", :project_name => "projectName", :queued_timeout => "queuedTimeout", :role => "role", :security_groups => "securityGroups", :ssm_session_permissions => "ssmSessionPermissions", :subnet_selection => "subnetSelection", :timeout => "timeout", :visibility => "visibility", :vpc => "vpc", :artifacts => "artifacts", :secondary_artifacts => "secondaryArtifacts", :secondary_sources => "secondarySources", :source => "source", } end |
Instance Method Details
#to_jsii ⇒ Object
332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 |
# File 'code_build/project_props.rb', line 332 def to_jsii result = {} result.merge!(super) result.merge!({ "allowAllOutbound" => @allow_all_outbound, "autoRetryLimit" => @auto_retry_limit, "badge" => @badge, "buildSpec" => @build_spec, "cache" => @cache, "checkSecretsInPlainTextEnvVariables" => @check_secrets_in_plain_text_env_variables, "concurrentBuildLimit" => @concurrent_build_limit, "description" => @description, "encryptionKey" => @encryption_key, "environment" => @environment, "environmentVariables" => @environment_variables, "fileSystemLocations" => @file_system_locations, "grantReportGroupPermissions" => @grant_report_group_permissions, "logging" => @logging, "projectName" => @project_name, "queuedTimeout" => @queued_timeout, "role" => @role, "securityGroups" => @security_groups, "ssmSessionPermissions" => @ssm_session_permissions, "subnetSelection" => @subnet_selection, "timeout" => @timeout, "visibility" => @visibility, "vpc" => @vpc, "artifacts" => @artifacts, "secondaryArtifacts" => @secondary_artifacts, "secondarySources" => @secondary_sources, "source" => @source, }) result.compact end |