Modify Verified Access Instance Logging Configuration
ec2_modify_verified_access_instance_logging_configuration | R Documentation |
Modifies the logging configuration for the specified Amazon Web Services Verified Access instance¶
Description¶
Modifies the logging configuration for the specified Amazon Web Services Verified Access instance.
Usage¶
ec2_modify_verified_access_instance_logging_configuration(
VerifiedAccessInstanceId, AccessLogs, DryRun, ClientToken)
Arguments¶
VerifiedAccessInstanceId
[required] The ID of the Verified Access instance.
AccessLogs
[required] The configuration options for Verified Access instances.
DryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.ClientToken
A unique, case-sensitive token that you provide to ensure idempotency of your modification request. For more information, see Ensuring idempotency.
Value¶
A list with the following syntax:
list(
LoggingConfiguration = list(
VerifiedAccessInstanceId = "string",
AccessLogs = list(
S3 = list(
Enabled = TRUE|FALSE,
DeliveryStatus = list(
Code = "success"|"failed",
Message = "string"
),
BucketName = "string",
Prefix = "string",
BucketOwner = "string"
),
CloudWatchLogs = list(
Enabled = TRUE|FALSE,
DeliveryStatus = list(
Code = "success"|"failed",
Message = "string"
),
LogGroup = "string"
),
KinesisDataFirehose = list(
Enabled = TRUE|FALSE,
DeliveryStatus = list(
Code = "success"|"failed",
Message = "string"
),
DeliveryStream = "string"
),
LogVersion = "string",
IncludeTrustContext = TRUE|FALSE
)
)
)
Request syntax¶
svc$modify_verified_access_instance_logging_configuration(
VerifiedAccessInstanceId = "string",
AccessLogs = list(
S3 = list(
Enabled = TRUE|FALSE,
BucketName = "string",
Prefix = "string",
BucketOwner = "string"
),
CloudWatchLogs = list(
Enabled = TRUE|FALSE,
LogGroup = "string"
),
KinesisDataFirehose = list(
Enabled = TRUE|FALSE,
DeliveryStream = "string"
),
LogVersion = "string",
IncludeTrustContext = TRUE|FALSE
),
DryRun = TRUE|FALSE,
ClientToken = "string"
)