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"],
  },
  secondary_artifacts: [
    {
      artifact_identifier: "NonEmptyString",
      encryption_disabled: false,
      location: "NonEmptyString",
      name: "NonEmptyString",
      namespace_type: "NonEmptyString",
      override_artifact_name: false,
      packaging: "NonEmptyString",
      path: "NonEmptyString",
      type: "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.



4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4822

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config,
  :secondary_artifacts)
  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)


4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4822

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

#environmentTypes::AwsCodeBuildProjectEnvironment

Information about the build environment for this build project.



4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4822

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

#logs_configTypes::AwsCodeBuildProjectLogsConfigDetails

Information about logs for the build project.



4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4822

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

#nameString

The name of the build project.

Returns:

  • (String)


4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4822

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

#secondary_artifactsArray<Types::AwsCodeBuildProjectArtifactsDetails>

Information about the secondary artifacts for the CodeBuild project.



4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4822

class AwsCodeBuildProjectDetails < Struct.new(
  :encryption_key,
  :artifacts,
  :environment,
  :name,
  :source,
  :service_role,
  :logs_config,
  :vpc_config,
  :secondary_artifacts)
  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)


4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4822

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

#sourceTypes::AwsCodeBuildProjectSource

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



4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4822

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

#vpc_configTypes::AwsCodeBuildProjectVpcConfig

Information about the VPC configuration that CodeBuild accesses.



4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 4822

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