aws ram list-resource-types
Lists the resource types that can be shared by RAM. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To list the resource types that are supported by AWS RAM
The following list-resource-types example lists all of the resource types currently supported by AWS RAM.
aws ram list-resource-typesIdentifyIts output
{
"resourceTypes": [
{
"resourceType": "route53resolver:FirewallRuleGroup",
"serviceName": "route53resolver"
},
{
"resourceType": "ec2:LocalGatewayRouteTable",
"serviceName": "ec2"
},
{
"resourceType": "ec2:Subnet",
"serviceName": "ec2"
},
{
"resourceType": "ec2:TransitGatewayMulticastDomain",
"serviceName": "ec2"
}
]
}For more information, see Shareable AWS resources in the AWS RAM User Guide.
Options
--max-resultsSpecifies the total number of results that you want included on each page of the response.--next-tokenSpecifies that you want to receive the next page of results.--resource-region-scopeSpecifies that you want the results to include only resources that have the specified scope.