IAM Policies in JSON format
If you cannot use Terraform automation, you can also use different method for the custom policies.
If Terraform automation is not an option, you can still use your preferred method to create the custom policies. This could include using the AWS Management Console, AWS CLI, or other Infrastructure-as-Code (IaC) tools like CloudFormation to manually create and configure the necessary policies for your WorkSpaces Manager environment.
Here is the JSON snippet for the custom policy "WSMCloudwatchPolicy":
This policy grants permissions to interact with CloudWatch and CloudWatch Logs, allowing the WorkSpaces Manager to record and retrieve necessary metrics and logs. You can apply this policy through your preferred method, whether it's the AWS Management Console, CLI, or automation tools.
Here is the JSON snippet for the custom policy "WSMCostExplorerPolicy":
This policy grants the necessary permissions for WorkSpaces Manager to access Cost Explorer and retrieve cost and usage data, as well as reservation and savings plan information. You can apply this policy using the AWS Management Console, CLI, or any automation tools like Terraform or CloudFormation.
Here is the JSON snippet for the custom policy "WSMEC2Policy":
This policy allows WorkSpaces Manager to manage EC2 instances, including actions like starting, stopping, rebooting, terminating, and describing instances and tags. You can use this policy in the AWS Management Console, CLI, or automation tools such as Terraform or CloudFormation.
Here is the JSON snippet for the custom policy "WSMEUCPolicy":
This policy provides WorkSpaces Manager with the permissions needed to interact with Amazon WorkSpaces, including describing, creating, terminating, and managing WorkSpaces and their tags. You can apply this policy using the AWS Management Console, CLI, or tools like Terraform or CloudFormation.
Here is the JSON snippet for the custom policy "WSMPricingPolicy":
This policy grants WorkSpaces Manager permission to retrieve pricing information using the AWS Pricing API. You can apply this policy using the AWS Management Console, CLI, or automation tools like Terraform or CloudFormation.
Here is the JSON snippet for the custom policy "WSMS3Policy":
This policy grants WorkSpaces Manager permission to interact with Amazon S3, including listing, getting, putting, and deleting objects in the specified S3 bucket. You can apply this policy via the AWS Management Console, CLI, or tools like Terraform or CloudFormation.
Last updated