class Azure::Security::Mgmt::V2020_01_01_preview::Models::AwAssumeRoleAuthenticationDetailsProperties

AWS cloud account connector based assume role, the role enables delegating access to your AWS resources. The role is composed of role Amazon Resource Name (ARN) and external ID. For more details, refer to <a href=“Creating”>docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user.html“>Creating a Role to Delegate Permissions to an IAM User (write only)</a>

Attributes

account_id[RW]

@return [String] The ID of the cloud account

authenticationType[RW]
aws_assume_role_arn[RW]

@return [String] Assumed role ID is an identifier that you can use to create temporary security credentials.

aws_external_id[RW]

@return [String] A unique identifier that is required when you assume a role in another account.

Private Class Methods

mapper() click to toggle source

Mapper for AwAssumeRoleAuthenticationDetailsProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'awsAssumeRole',
    type: {
      name: 'Composite',
      class_name: 'AwAssumeRoleAuthenticationDetailsProperties',
      model_properties: {
        authentication_provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'authenticationProvisioningState',
          type: {
            name: 'String'
          }
        },
        granted_permissions: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'grantedPermissions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PermissionPropertyElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        authenticationType: {
          client_side_validation: true,
          required: true,
          serialized_name: 'authenticationType',
          type: {
            name: 'String'
          }
        },
        account_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'accountId',
          type: {
            name: 'String'
          }
        },
        aws_assume_role_arn: {
          client_side_validation: true,
          required: true,
          serialized_name: 'awsAssumeRoleArn',
          type: {
            name: 'String'
          }
        },
        aws_external_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'awsExternalId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb, line 20
def initialize
  @authenticationType = "awsAssumeRole"
end