#[non_exhaustive]pub struct AwsCodeBuildProjectDetails {
pub encryption_key: Option<String>,
pub artifacts: Option<Vec<AwsCodeBuildProjectArtifactsDetails>>,
pub environment: Option<AwsCodeBuildProjectEnvironment>,
pub name: Option<String>,
pub source: Option<AwsCodeBuildProjectSource>,
pub service_role: Option<String>,
pub logs_config: Option<AwsCodeBuildProjectLogsConfigDetails>,
pub vpc_config: Option<AwsCodeBuildProjectVpcConfig>,
pub secondary_artifacts: Option<Vec<AwsCodeBuildProjectArtifactsDetails>>,
}
Expand description
Information about an CodeBuild project.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.encryption_key: Option<String>
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).
artifacts: Option<Vec<AwsCodeBuildProjectArtifactsDetails>>
Information about the build artifacts for the CodeBuild project.
environment: Option<AwsCodeBuildProjectEnvironment>
Information about the build environment for this build project.
name: Option<String>
The name of the build project.
source: Option<AwsCodeBuildProjectSource>
Information about the build input source code for this build project.
service_role: Option<String>
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.
logs_config: Option<AwsCodeBuildProjectLogsConfigDetails>
Information about logs for the build project.
vpc_config: Option<AwsCodeBuildProjectVpcConfig>
Information about the VPC configuration that CodeBuild accesses.
secondary_artifacts: Option<Vec<AwsCodeBuildProjectArtifactsDetails>>
Information about the secondary artifacts for the CodeBuild project.
Implementations§
source§impl AwsCodeBuildProjectDetails
impl AwsCodeBuildProjectDetails
sourcepub fn encryption_key(&self) -> Option<&str>
pub fn encryption_key(&self) -> Option<&str>
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).
sourcepub fn artifacts(&self) -> &[AwsCodeBuildProjectArtifactsDetails]
pub fn artifacts(&self) -> &[AwsCodeBuildProjectArtifactsDetails]
Information about the build artifacts for the CodeBuild project.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .artifacts.is_none()
.
sourcepub fn environment(&self) -> Option<&AwsCodeBuildProjectEnvironment>
pub fn environment(&self) -> Option<&AwsCodeBuildProjectEnvironment>
Information about the build environment for this build project.
sourcepub fn source(&self) -> Option<&AwsCodeBuildProjectSource>
pub fn source(&self) -> Option<&AwsCodeBuildProjectSource>
Information about the build input source code for this build project.
sourcepub fn service_role(&self) -> Option<&str>
pub fn service_role(&self) -> Option<&str>
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.
sourcepub fn logs_config(&self) -> Option<&AwsCodeBuildProjectLogsConfigDetails>
pub fn logs_config(&self) -> Option<&AwsCodeBuildProjectLogsConfigDetails>
Information about logs for the build project.
sourcepub fn vpc_config(&self) -> Option<&AwsCodeBuildProjectVpcConfig>
pub fn vpc_config(&self) -> Option<&AwsCodeBuildProjectVpcConfig>
Information about the VPC configuration that CodeBuild accesses.
sourcepub fn secondary_artifacts(&self) -> &[AwsCodeBuildProjectArtifactsDetails]
pub fn secondary_artifacts(&self) -> &[AwsCodeBuildProjectArtifactsDetails]
Information about the secondary artifacts for the CodeBuild project.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .secondary_artifacts.is_none()
.
source§impl AwsCodeBuildProjectDetails
impl AwsCodeBuildProjectDetails
sourcepub fn builder() -> AwsCodeBuildProjectDetailsBuilder
pub fn builder() -> AwsCodeBuildProjectDetailsBuilder
Creates a new builder-style object to manufacture AwsCodeBuildProjectDetails
.
Trait Implementations§
source§impl Clone for AwsCodeBuildProjectDetails
impl Clone for AwsCodeBuildProjectDetails
source§fn clone(&self) -> AwsCodeBuildProjectDetails
fn clone(&self) -> AwsCodeBuildProjectDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsCodeBuildProjectDetails
impl Debug for AwsCodeBuildProjectDetails
source§impl PartialEq for AwsCodeBuildProjectDetails
impl PartialEq for AwsCodeBuildProjectDetails
source§fn eq(&self, other: &AwsCodeBuildProjectDetails) -> bool
fn eq(&self, other: &AwsCodeBuildProjectDetails) -> bool
self
and other
values to be equal, and is used
by ==
.