Class: Aws::CloudWatchLogs::Types::DeleteResourcePolicyRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expected_revision_idString

The expected revision ID of the resource policy. Required when deleting a resource-scoped policy to prevent concurrent modifications.

Returns:

  • (String)


1319
1320
1321
1322
1323
1324
1325
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1319

class DeleteResourcePolicyRequest < Struct.new(
  :policy_name,
  :resource_arn,
  :expected_revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the policy to be revoked. This parameter is required.

Returns:

  • (String)


1319
1320
1321
1322
1323
1324
1325
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1319

class DeleteResourcePolicyRequest < Struct.new(
  :policy_name,
  :resource_arn,
  :expected_revision_id)
  SENSITIVE = []
  include Aws::Structure
end

#resource_arnString

The ARN of the CloudWatch Logs resource for which the resource policy needs to be deleted

Returns:

  • (String)


1319
1320
1321
1322
1323
1324
1325
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 1319

class DeleteResourcePolicyRequest < Struct.new(
  :policy_name,
  :resource_arn,
  :expected_revision_id)
  SENSITIVE = []
  include Aws::Structure
end