Class: Aws::SecurityHub::Types::AwsIamAttachedManagedPolicy

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

Overview

Note:

When making an API call, you may pass AwsIamAttachedManagedPolicy data as a hash:

{
  policy_name: "NonEmptyString",
  policy_arn: "NonEmptyString",
}

A managed policy that is attached to an IAM principal.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#policy_arnString

The ARN of the policy.

Returns:

  • (String)


10097
10098
10099
10100
10101
10102
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10097

class AwsIamAttachedManagedPolicy < Struct.new(
  :policy_name,
  :policy_arn)
  SENSITIVE = []
  include Aws::Structure
end

#policy_nameString

The name of the policy.

Returns:

  • (String)


10097
10098
10099
10100
10101
10102
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10097

class AwsIamAttachedManagedPolicy < Struct.new(
  :policy_name,
  :policy_arn)
  SENSITIVE = []
  include Aws::Structure
end