The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Route53Resolver::CreateResolverQueryLogConfig - Arguments for method CreateResolverQueryLogConfig on Paws::Route53Resolver

DESCRIPTION

This class represents the parameters used for calling the method CreateResolverQueryLogConfig on the Amazon Route 53 Resolver service. Use the attributes of this class as arguments to method CreateResolverQueryLogConfig.

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

SYNOPSIS

    my $route53resolver = Paws->service('Route53Resolver');
    my $CreateResolverQueryLogConfigResponse =
      $route53resolver->CreateResolverQueryLogConfig(
      CreatorRequestId => 'MyCreatorRequestId',
      DestinationArn   => 'MyDestinationArn',
      Name             => 'MyResolverQueryLogConfigName',
      Tags             => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256

        },
        ...
      ],    # OPTIONAL
      );

    # Results:
    my $ResolverQueryLogConfig =
      $CreateResolverQueryLogConfigResponse->ResolverQueryLogConfig;

# Returns a Paws::Route53Resolver::CreateResolverQueryLogConfigResponse 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/route53resolver/CreateResolverQueryLogConfig

ATTRIBUTES

REQUIRED CreatorRequestId => Str

A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string, for example, a date/time stamp.

REQUIRED DestinationArn => Str

The ARN of the resource that you want Resolver to send query logs. You can send query logs to an S3 bucket, a CloudWatch Logs log group, or a Kinesis Data Firehose delivery stream. Examples of valid values include the following:

  • S3 bucket:

    arn:aws:s3:::examplebucket

    You can optionally append a file prefix to the end of the ARN.

    arn:aws:s3:::examplebucket/development/

  • CloudWatch Logs log group:

    arn:aws:logs:us-west-1:123456789012:log-group:/mystack-testgroup-12ABC1AB12A1:*

  • Kinesis Data Firehose delivery stream:

    arn:aws:kinesis:us-east-2:0123456789:stream/my_stream_name

REQUIRED Name => Str

The name that you want to give the query logging configuration.

Tags => ArrayRef[Paws::Route53Resolver::Tag]

A list of the tag keys and values that you want to associate with the query logging configuration.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateResolverQueryLogConfig in Paws::Route53Resolver

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