aws ssm describe-activations
Describes details about the activation, such as the date and time the activation was created, its expiration date, the Identity and Access Management (IAM) role assigned to the managed nodes in the activation, and the number of nodes registered by using this activation. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To describe activations
The following describe-activations example lists details about the activations in your AWS account.
aws ssm describe-activationsIdentifyIts output
{
"ActivationList": [
{
"ActivationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111",
"Description": "Example1",
"IamRole": "HybridWebServersRole",
"RegistrationLimit": 5,
"RegistrationsCount": 5,
"ExpirationDate": 1584316800.0,
"Expired": false,
"CreatedDate": 1581954699.792
},
{
"ActivationId": "a1b2c3d4-5678-90ab-cdef-EXAMPLE22222",
"Description": "Example2",
"IamRole": "HybridDatabaseServersRole",
"RegistrationLimit": 5,
"RegistrationsCount": 5,
"ExpirationDate": 1580515200.0,
"Expired": true,
"CreatedDate": 1578064132.002
}
]
}For more information, see Step 4: Create a Managed-Instance Activation for a Hybrid Environment in the AWS Systems Manager User Guide.
Options
--filtersA filter to view information about your activations.--max-resultsThe maximum number of items to return for this call.--next-tokenA token to start the list.