Class: Aws::SecurityHub::Types::AwsIamInstanceProfile

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 AwsIamInstanceProfile data as a hash:

{
  arn: "NonEmptyString",
  create_date: "NonEmptyString",
  instance_profile_id: "NonEmptyString",
  instance_profile_name: "NonEmptyString",
  path: "NonEmptyString",
  roles: [
    {
      arn: "NonEmptyString",
      assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
      create_date: "NonEmptyString",
      path: "NonEmptyString",
      role_id: "NonEmptyString",
      role_name: "NonEmptyString",
    },
  ],
}

Information about an instance profile.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the instance profile.

Returns:

  • (String)


6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6011

class AwsIamInstanceProfile < Struct.new(
  :arn,
  :create_date,
  :instance_profile_id,
  :instance_profile_name,
  :path,
  :roles)
  SENSITIVE = []
  include Aws::Structure
end

#create_dateString

Indicates when the instance profile was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)


6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6011

class AwsIamInstanceProfile < Struct.new(
  :arn,
  :create_date,
  :instance_profile_id,
  :instance_profile_name,
  :path,
  :roles)
  SENSITIVE = []
  include Aws::Structure
end

#instance_profile_idString

The identifier of the instance profile.

Returns:

  • (String)


6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6011

class AwsIamInstanceProfile < Struct.new(
  :arn,
  :create_date,
  :instance_profile_id,
  :instance_profile_name,
  :path,
  :roles)
  SENSITIVE = []
  include Aws::Structure
end

#instance_profile_nameString

The name of the instance profile.

Returns:

  • (String)


6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6011

class AwsIamInstanceProfile < Struct.new(
  :arn,
  :create_date,
  :instance_profile_id,
  :instance_profile_name,
  :path,
  :roles)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

The path to the instance profile.

Returns:

  • (String)


6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6011

class AwsIamInstanceProfile < Struct.new(
  :arn,
  :create_date,
  :instance_profile_id,
  :instance_profile_name,
  :path,
  :roles)
  SENSITIVE = []
  include Aws::Structure
end

#rolesArray<Types::AwsIamInstanceProfileRole>

The roles associated with the instance profile.



6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6011

class AwsIamInstanceProfile < Struct.new(
  :arn,
  :create_date,
  :instance_profile_id,
  :instance_profile_name,
  :path,
  :roles)
  SENSITIVE = []
  include Aws::Structure
end