NAME

Paws::ApiGateway::CreateDomainName - Arguments for method CreateDomainName on Paws::ApiGateway

DESCRIPTION

This class represents the parameters used for calling the method CreateDomainName on the Amazon API Gateway service. Use the attributes of this class as arguments to method CreateDomainName.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDomainName.

SYNOPSIS

my $apigateway = Paws->service('ApiGateway');
my $DomainName = $apigateway->CreateDomainName(
  DomainName            => 'MyString',
  CertificateArn        => 'MyString',    # OPTIONAL
  CertificateBody       => 'MyString',    # OPTIONAL
  CertificateChain      => 'MyString',    # OPTIONAL
  CertificateName       => 'MyString',    # OPTIONAL
  CertificatePrivateKey => 'MyString',    # OPTIONAL
  EndpointConfiguration => {
    Types => [
      'REGIONAL', ...                     # values: REGIONAL, EDGE, PRIVATE
    ],    # OPTIONAL
    VpcEndpointIds => [ 'MyString', ... ],    # OPTIONAL
  },    # OPTIONAL
  MutualTlsAuthentication => {
    TruststoreUri     => 'MyString',
    TruststoreVersion => 'MyString',
  },    # OPTIONAL
  RegionalCertificateArn  => 'MyString',                       # OPTIONAL
  RegionalCertificateName => 'MyString',                       # OPTIONAL
  SecurityPolicy          => 'TLS_1_0',                        # OPTIONAL
  Tags                    => { 'MyString' => 'MyString', },    # OPTIONAL
);

# Results:
my $CertificateArn           = $DomainName->CertificateArn;
my $CertificateName          = $DomainName->CertificateName;
my $CertificateUploadDate    = $DomainName->CertificateUploadDate;
my $DistributionDomainName   = $DomainName->DistributionDomainName;
my $DistributionHostedZoneId = $DomainName->DistributionHostedZoneId;
my $DomainName               = $DomainName->DomainName;
my $DomainNameStatus         = $DomainName->DomainNameStatus;
my $DomainNameStatusMessage  = $DomainName->DomainNameStatusMessage;
my $EndpointConfiguration    = $DomainName->EndpointConfiguration;
my $MutualTlsAuthentication  = $DomainName->MutualTlsAuthentication;
my $RegionalCertificateArn   = $DomainName->RegionalCertificateArn;
my $RegionalCertificateName  = $DomainName->RegionalCertificateName;
my $RegionalDomainName       = $DomainName->RegionalDomainName;
my $RegionalHostedZoneId     = $DomainName->RegionalHostedZoneId;
my $SecurityPolicy           = $DomainName->SecurityPolicy;
my $Tags                     = $DomainName->Tags;

# Returns a L<Paws::ApiGateway::DomainName> 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/apigateway/CreateDomainName

ATTRIBUTES

CertificateArn => Str

The reference to an AWS-managed certificate that will be used by edge-optimized endpoint for this domain name. AWS Certificate Manager is the only supported source.

CertificateBody => Str

[Deprecated] The body of the server certificate that will be used by edge-optimized endpoint for this domain name provided by your certificate authority.

CertificateChain => Str

[Deprecated] The intermediate certificates and optionally the root certificate, one after the other without any blank lines, used by an edge-optimized endpoint for this domain name. If you include the root certificate, your certificate chain must start with intermediate certificates and end with the root certificate. Use the intermediate certificates that were provided by your certificate authority. Do not include any intermediaries that are not in the chain of trust path.

CertificateName => Str

The user-friendly name of the certificate that will be used by edge-optimized endpoint for this domain name.

CertificatePrivateKey => Str

[Deprecated] Your edge-optimized endpoint's domain name certificate's private key.

REQUIRED DomainName => Str

[Required] The name of the DomainName resource.

EndpointConfiguration => Paws::ApiGateway::EndpointConfiguration

The endpoint configuration of this DomainName showing the endpoint types of the domain name.

MutualTlsAuthentication => Paws::ApiGateway::MutualTlsAuthenticationInput

RegionalCertificateArn => Str

The reference to an AWS-managed certificate that will be used by regional endpoint for this domain name. AWS Certificate Manager is the only supported source.

RegionalCertificateName => Str

The user-friendly name of the certificate that will be used by regional endpoint for this domain name.

SecurityPolicy => Str

The Transport Layer Security (TLS) version + cipher suite for this DomainName. The valid values are TLS_1_0 and TLS_1_2.

Valid values are: "TLS_1_0", "TLS_1_2"

Tags => Paws::ApiGateway::MapOfStringToString

The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateDomainName in Paws::ApiGateway

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues