20
loading...
This website collects cookies to deliver better user experience
The profiling agent will operate within your compute instances - such as Amazon Elastic Compute Cloud (Amazon EC2) instances, containers running in Amazon Elastic Container Service (Amazon ECS) or Amazon Elastic Kubernetes Service (Amazon EKS), or serverless functions in AWS Lambda.
You should ensure that appropriate network security controls are implemented to meet your specific security requirements that relate to how the agents can communicate with the CodeGuru service.
These could include controls such as the use of VPC endpoints, firewalls or security groups, and other such mechanisms specific to your use cases and network configuration.
IAM provides two policy types for resource access authorization:
CodeGuru Profiler provides two managed policies:
{ "Statement": [{
"Effect": "Allow",
"Action": [
"codeguru-profiler:ConfigureAgent",
"codeguru-profiler:PostAgentProfile"
],
"Resource": "arn:aws:codeguru-profiler:<region>:<accountID>:profilingGroup/profilingGroupName"
}]
}
{"Statement": [{
"Effect": "Allow",
"Action": [
"codeguru-profiler:GetProfile",
"codeguru-profiler:DescribeProfilingGroup"
],
"Resource": "arn:aws:codeguru-profiler:<region>:<accountID>:profilingGroup/profilingGroupName"
}]
}
{ "Version": "2012-10-17",
"Statement": [{
"Sid": "AllowSNSPublishToSendNotifications",
"Effect": "Allow",
"Action": [ "sns:Publish" ],
"Resource": "*"
}]
}
20