Skip to content

Associate User

licensemanagerusersubscriptions_associate_user R Documentation

Associates the user to an EC2 instance to utilize user-based subscriptions

Description

Associates the user to an EC2 instance to utilize user-based subscriptions.

Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.

Usage

licensemanagerusersubscriptions_associate_user(Domain, IdentityProvider,
  InstanceId, Tags, Username)

Arguments

Domain

The domain name of the Active Directory that contains information for the user to associate.

IdentityProvider

[required] The identity provider for the user.

InstanceId

[required] The ID of the EC2 instance that provides the user-based subscription.

Tags

The tags that apply for the user association.

Username

[required] The user name from the identity provider.

Value

A list with the following syntax:

list(
  InstanceUserSummary = list(
    AssociationDate = "string",
    DisassociationDate = "string",
    Domain = "string",
    IdentityProvider = list(
      ActiveDirectoryIdentityProvider = list(
        ActiveDirectorySettings = list(
          DomainCredentialsProvider = list(
            SecretsManagerCredentialsProvider = list(
              SecretId = "string"
            )
          ),
          DomainIpv4List = list(
            "string"
          ),
          DomainName = "string",
          DomainNetworkSettings = list(
            Subnets = list(
              "string"
            )
          )
        ),
        ActiveDirectoryType = "SELF_MANAGED"|"AWS_MANAGED",
        DirectoryId = "string"
      )
    ),
    InstanceId = "string",
    InstanceUserArn = "string",
    Status = "string",
    StatusMessage = "string",
    Username = "string"
  )
)

Request syntax

svc$associate_user(
  Domain = "string",
  IdentityProvider = list(
    ActiveDirectoryIdentityProvider = list(
      ActiveDirectorySettings = list(
        DomainCredentialsProvider = list(
          SecretsManagerCredentialsProvider = list(
            SecretId = "string"
          )
        ),
        DomainIpv4List = list(
          "string"
        ),
        DomainName = "string",
        DomainNetworkSettings = list(
          Subnets = list(
            "string"
          )
        )
      ),
      ActiveDirectoryType = "SELF_MANAGED"|"AWS_MANAGED",
      DirectoryId = "string"
    )
  ),
  InstanceId = "string",
  Tags = list(
    "string"
  ),
  Username = "string"
)