Struct aws_sdk_codeartifact::input::CreateDomainInput
source · #[non_exhaustive]pub struct CreateDomainInput { /* private fields */ }
Implementations§
source§impl CreateDomainInput
impl CreateDomainInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDomain, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDomain, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateDomain
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateDomainInput
.
source§impl CreateDomainInput
impl CreateDomainInput
sourcepub fn domain(&self) -> Option<&str>
pub fn domain(&self) -> Option<&str>
The name of the domain to create. All domain names in an Amazon Web Services Region that are in the same Amazon Web Services account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.
sourcepub fn encryption_key(&self) -> Option<&str>
pub fn encryption_key(&self) -> Option<&str>
The encryption key for the domain. This is used to encrypt content stored in a domain. An encryption key can be a key ID, a key Amazon Resource Name (ARN), a key alias, or a key alias ARN. To specify an encryptionKey
, your IAM role must have kms:DescribeKey
and kms:CreateGrant
permissions on the encryption key that is used. For more information, see DescribeKey in the Key Management Service API Reference and Key Management Service API Permissions Reference in the Key Management Service Developer Guide.
CodeArtifact supports only symmetric CMKs. Do not associate an asymmetric CMK with your domain. For more information, see Using symmetric and asymmetric keys in the Key Management Service Developer Guide.
One or more tag key-value pairs for the domain.
Trait Implementations§
source§impl Clone for CreateDomainInput
impl Clone for CreateDomainInput
source§fn clone(&self) -> CreateDomainInput
fn clone(&self) -> CreateDomainInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDomainInput
impl Debug for CreateDomainInput
source§impl PartialEq<CreateDomainInput> for CreateDomainInput
impl PartialEq<CreateDomainInput> for CreateDomainInput
source§fn eq(&self, other: &CreateDomainInput) -> bool
fn eq(&self, other: &CreateDomainInput) -> bool
self
and other
values to be equal, and is used
by ==
.