The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

This class represents the parameters used for calling the method CreateDomainName on the AmazonApiGatewayV2 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('ApiGatewayV2');
    my $CreateDomainNameResponse = $apigateway->CreateDomainName(
      DomainName               => 'MyStringWithLengthBetween1And512',
      DomainNameConfigurations => [
        {
          ApiGatewayDomainName => 'My__string',                       # OPTIONAL
          CertificateArn       => 'MyArn',                            # OPTIONAL
          CertificateName      => 'MyStringWithLengthBetween1And128', # OPTIONAL
          CertificateUploadDate => '1970-01-01T01:00:00',             # OPTIONAL
          DomainNameStatus      =>
            'AVAILABLE',    # values: AVAILABLE, UPDATING; OPTIONAL
          DomainNameStatusMessage => 'My__string',    # OPTIONAL
          EndpointType   => 'REGIONAL',     # values: REGIONAL, EDGE; OPTIONAL
          HostedZoneId   => 'My__string',   # OPTIONAL
          SecurityPolicy => 'TLS_1_0',      # values: TLS_1_0, TLS_1_2; OPTIONAL
        },
        ...
      ],    # OPTIONAL
      MutualTlsAuthentication => {
        TruststoreUri     => 'MyUriWithLengthBetween1And2048',     # OPTIONAL
        TruststoreVersion => 'MyStringWithLengthBetween1And64',    # OPTIONAL
      },    # OPTIONAL
      Tags => {
        'My__string' => 'MyStringWithLengthBetween1And1600',    # key: OPTIONAL
      },    # OPTIONAL
    );

    # Results:
    my $ApiMappingSelectionExpression =
      $CreateDomainNameResponse->ApiMappingSelectionExpression;
    my $DomainName = $CreateDomainNameResponse->DomainName;
    my $DomainNameConfigurations =
      $CreateDomainNameResponse->DomainNameConfigurations;
    my $MutualTlsAuthentication =
      $CreateDomainNameResponse->MutualTlsAuthentication;
    my $Tags = $CreateDomainNameResponse->Tags;

    # Returns a L<Paws::ApiGatewayV2::CreateDomainNameResponse> 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

REQUIRED DomainName => Str

The domain name.

DomainNameConfigurations => ArrayRef[Paws::ApiGatewayV2::DomainNameConfiguration]

The domain name configurations.

MutualTlsAuthentication => Paws::ApiGatewayV2::MutualTlsAuthenticationInput

The mutual TLS authentication configuration for a custom domain name.

Tags => Paws::ApiGatewayV2::Tags

The collection of tags associated with a domain name.

SEE ALSO

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

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