Class: Aws::SecurityHub::Types::AwsCodeBuildProjectDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Note:

When making an API call, you may pass AwsCodeBuildProjectDetails data as a hash:

{
  encryption_key: "NonEmptyString",
  artifacts: [
    {
      artifact_identifier: "NonEmptyString",
      encryption_disabled: false,
      location: "NonEmptyString",
      name: "NonEmptyString",
      namespace_type: "NonEmptyString",
      override_artifact_name: false,
      packaging: "NonEmptyString",
      path: "NonEmptyString",
      type: "NonEmptyString",
    },
  ],
  environment: {
    certificate: "NonEmptyString",
    environment_variables: [
      {
        name: "NonEmptyString",
        type: "NonEmptyString",
        value: "NonEmptyString",
      },
    ],
    privileged_mode: false,
    image_pull_credentials_type: "NonEmptyString",
    registry_credential: {
      credential: "NonEmptyString",
      credential_provider: "NonEmptyString",
    },
    type: "NonEmptyString",
  },
  name: "NonEmptyString",
  source: {
    type: "NonEmptyString",
    location: "NonEmptyString",
    git_clone_depth: 1,
    insecure_ssl: false,
  },
  service_role: "NonEmptyString",
  logs_config: {
    cloud_watch_logs: {
      group_name: "NonEmptyString",
      status: "NonEmptyString",
      stream_name: "NonEmptyString",
    },
    s3_logs: {
      encryption_disabled: false,
      location: "NonEmptyString",
      status: "NonEmptyString",
    },
  },
  vpc_config: {
    vpc_id: "NonEmptyString",
    subnets: ["NonEmptyString"],
    security_group_ids: ["NonEmptyString"],
  },
}

Information about an CodeBuild project.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#artifactsArray<Types::AwsCodeBuildProjectArtifactsDetails>

Information about the build artifacts for the CodeBuild project.



3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3469

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_keyString

The KMS key used to encrypt the build output artifacts.

You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).

Returns:

  • (String)


3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3469

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#environmentTypes::AwsCodeBuildProjectEnvironment

Information about the build environment for this build project.



3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3469

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#logs_configTypes::AwsCodeBuildProjectLogsConfigDetails

Information about logs for the build project.



3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3469

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the build project.

Returns:

  • (String)


3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3469

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#service_roleString

The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.

Returns:

  • (String)


3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3469

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#sourceTypes::AwsCodeBuildProjectSource

Information about the build input source code for this build project.



3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3469

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_configTypes::AwsCodeBuildProjectVpcConfig

Information about the VPC configuration that CodeBuild accesses.



3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 3469

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config)
  SENSITIVE = []
  include Aws::Structure
end