![]() |
![]()
| ![]() |
![]()
NAMEPaws::CodeArtifact::CreateDomain - Arguments for method CreateDomain on Paws::CodeArtifact DESCRIPTIONThis class represents the parameters used for calling the method CreateDomain on the CodeArtifact service. Use the attributes of this class as arguments to method CreateDomain. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDomain. SYNOPSISmy $codeartifact = Paws->service('CodeArtifact'); my $CreateDomainResult = $codeartifact->CreateDomain( Domain => 'MyDomainName', EncryptionKey => 'MyArn', # OPTIONAL Tags => [ { Key => 'MyTagKey', # min: 1, max: 128 Value => 'MyTagValue', # max: 256 }, ... ], # OPTIONAL ); # Results: my $Domain = $CreateDomainResult->Domain; # Returns a L<Paws::CodeArtifact::CreateDomainResult> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/codeartifact/CreateDomain> ATTRIBUTESREQUIRED Domain => StrThe name of the domain to create. All domain names in an AWS Region that are in the same AWS 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. EncryptionKey => StrThe 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 (https://docs.aws.amazon.com/kms/latest/APIReference/API_DescribeKey.html#API_DescribeKey_RequestSyntax) in the AWS Key Management Service API Reference and AWS KMS API Permissions Reference (https://docs.aws.amazon.com/kms/latest/developerguide/kms-api-permissions-reference.html) in the AWS 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 (https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html) in the AWS Key Management Service Developer Guide. Tags => ArrayRef[Paws::CodeArtifact::Tag]One or more tag key-value pairs for the domain. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateDomain in Paws::CodeArtifact BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|