NAME
Paws::GlobalAccelerator::UpdateAcceleratorAttributes - Arguments for method UpdateAcceleratorAttributes on Paws::GlobalAccelerator
DESCRIPTION
This class represents the parameters used for calling the method UpdateAcceleratorAttributes on the AWS Global Accelerator service. Use the attributes of this class as arguments to method UpdateAcceleratorAttributes.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAcceleratorAttributes.
SYNOPSIS
my $globalaccelerator = Paws->service('GlobalAccelerator');
my $UpdateAcceleratorAttributesResponse =
$globalaccelerator->UpdateAcceleratorAttributes(
AcceleratorArn => 'MyGenericString',
FlowLogsEnabled => 1, # OPTIONAL
FlowLogsS3Bucket => 'MyGenericString', # OPTIONAL
FlowLogsS3Prefix => 'MyGenericString', # OPTIONAL
);
# Results:
my $AcceleratorAttributes =
$UpdateAcceleratorAttributesResponse->AcceleratorAttributes;
# Returns a Paws::GlobalAccelerator::UpdateAcceleratorAttributesResponse 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/globalaccelerator/UpdateAcceleratorAttributes
ATTRIBUTES
REQUIRED AcceleratorArn => Str
The Amazon Resource Name (ARN) of the accelerator that you want to update.
FlowLogsEnabled => Bool
Update whether flow logs are enabled. The default value is false. If the value is true, FlowLogsS3Bucket
and FlowLogsS3Prefix
must be specified.
For more information, see Flow Logs (https://docs.aws.amazon.com/global-accelerator/latest/dg/monitoring-global-accelerator.flow-logs.html) in the AWS Global Accelerator Developer Guide.
FlowLogsS3Bucket => Str
The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled
is true
. The bucket must exist and have a bucket policy that grants AWS Global Accelerator permission to write to the bucket.
FlowLogsS3Prefix => Str
Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled
is true
.
If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following:
s3-bucket_name//AWSLogs/aws_account_id
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateAcceleratorAttributes in Paws::GlobalAccelerator
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