Actions, resources, and condition keys for Amazon Elastic Load Balancing V2
Amazon Elastic Load Balancing V2 (service prefix: elasticloadbalancing) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by Amazon Elastic Load Balancing V2
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AddListenerCertificates |
Write |
|||
|
AddTags |
Tagging, Write |
|||
|
AddTrustStoreRevocations |
Write |
|||
|
CreateListener |
Tagging, Write |
|||
Write |
||||
|
CreateLoadBalancer |
Tagging, Write |
|||
Write |
||||
|
CreateRule |
Tagging, Write |
|||
Write |
||||
|
CreateTargetGroup |
Tagging, Write |
|||
Write |
||||
|
CreateTrustStore |
Tagging, Write |
|||
Write |
||||
|
DeleteListener |
Write |
|||
|
DeleteLoadBalancer |
Write |
|||
|
DeleteRule |
Write |
|||
|
DeleteSharedTrustStoreAssociation |
Write |
|||
|
DeleteTargetGroup |
Write |
|||
|
DeleteTrustStore |
Write |
|||
|
DeregisterTargets |
Write |
|||
|
DescribeAccountLimits |
Read |
|||
|
DescribeCapacityReservation |
Read |
|||
|
DescribeListenerAttributes |
Read |
|||
|
DescribeListenerCertificates |
Read |
|||
|
DescribeListeners |
Read |
|||
|
DescribeLoadBalancerAttributes |
Read |
|||
|
DescribeLoadBalancers |
List |
|||
|
DescribeRules |
Read |
|||
|
DescribeSSLPolicies |
Read |
|||
|
DescribeTags |
Read |
|||
|
DescribeTargetGroupAttributes |
Read |
|||
|
DescribeTargetGroups |
Read |
|||
|
DescribeTargetHealth |
Read |
|||
|
DescribeTrustStoreAssociations |
Read |
|||
|
DescribeTrustStoreRevocations |
Read |
|||
|
DescribeTrustStores |
Read |
|||
|
GetResourcePolicy |
Read |
|||
|
GetTrustStoreCaCertificatesBundle |
Read |
|||
|
GetTrustStoreRevocationContent |
Read |
|||
|
ModifyCapacityReservation |
Write |
|||
|
ModifyIpPools |
Write |
|||
|
ModifyListener |
Write |
|||
|
ModifyListenerAttributes |
Write |
|||
|
ModifyLoadBalancerAttributes |
Write |
|||
|
ModifyRule |
Write |
|||
|
ModifyTargetGroup |
Write |
|||
|
ModifyTargetGroupAttributes |
Write |
|||
|
ModifyTrustStore |
Write |
|||
|
RegisterTargets |
Write |
|||
|
RemoveListenerCertificates |
Write |
|||
|
RemoveTags |
Tagging, Write |
|||
|
RemoveTrustStoreRevocations |
Write |
|||
|
SetIpAddressType |
Write |
|||
|
SetRulePriorities |
Write |
|||
|
SetSecurityGroups |
Write |
|||
|
SetSubnets |
Write |
Actions defined by Amazon Elastic Load Balancing V2
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in Amazon. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to add the specified certificates to the specified secure listener |
Write |
|||
Grants permission to add the specified tags to the specified load balancer. Each load balancer can have a maximum of 10 tags |
Tagging, Write |
|||
Grants permission to add revocations to a trust store |
Write |
|||
Grants permission to create a listener for the specified Application Load Balancer |
elasticloadbalancing:ListenerProtocol |
Write |
||
|
elasticloadbalancing:ListenerProtocol |
||||
|
elasticloadbalancing:ListenerProtocol |
||||
Grants permission to create a load balancer |
elasticloadbalancing:ListenerProtocol elasticloadbalancing:ResourceTag/${TagKey} |
Write |
||
|
elasticloadbalancing:ListenerProtocol elasticloadbalancing:ResourceTag/${TagKey} |
||||
|
elasticloadbalancing:ListenerProtocol elasticloadbalancing:ResourceTag/${TagKey} |
||||
Grants permission to create a rule for the specified listener |
Write |
|||
Grants permission to create a target group |
Write |
|||
Grants permission to create a trust store |
Write |
|||
Grants permission to delete the specified listener |
Write |
|||
Grants permission to delete the specified load balancer |
Write |
|||
Grants permission to delete the specified rule |
Write |
|||
Grants permission to delete the specified shared trust store association |
Write |
|||
Grants permission to delete the specified target group |
Write |
|||
Grants permission to delete the specified trust store |
Write |
|||
Grants permission to deregister the specified targets from the specified target group |
Write |
|||
Grants permission to describe the Elastic Load Balancing resource limits for the Amazon Web Services account |
Read |
|||
Grants permission to describe the capacity reservation for a load balancer |
Read |
|||
Grants permission to describe the attributes for the specified listener |
Read |
|||
Grants permission to describe the certificates for the specified secure listener |
Read |
|||
Grants permission to describe the specified listeners or the listeners for the specified Application Load Balancer |
Read |
|||
Grants permission to describe the attributes for the specified load balancer |
Read |
|||
Grants permission to describe the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers |
List |
|||
Grants permission to describe the specified rules or the rules for the specified listener |
Read |
|||
Grants permission to describe the specified policies or all policies used for SSL negotiation |
Read |
|||
Grants permission to describe the tags associated with the specified resource |
Read |
|||
Grants permission to describe the attributes for the specified target group |
Read |
|||
Grants permission to describe the specified target groups or all of your target groups |
Read |
|||
Grants permission to describe the health of the specified targets or all of your targets |
Read |
|||
Grants permission to describe the associations with a trust store |
Read |
|||
Grants permission to describe the specified trust stores revocations or all of your revocations related to a trust store |
Read |
|||
Grants permission to describe the specified trust stores or all of your trust stores |
Read |
|||
Grants permission to retrieve the resource policy associated with the resource |
Read |
|||
Grants permission to retrieve a trust store CA certificates bundle |
Read |
|||
Grants permission to retrieve a trust store revocation content |
Read |
|||
Grants permission to modify the capacity reservation for a load balancer |
Write |
|||
Grants permission to modify the ip pools for a load balancer |
Write |
|||
Grants permission to modify the specified properties of the specified listener |
elasticloadbalancing:ListenerProtocol |
Write |
||
|
elasticloadbalancing:ListenerProtocol |
||||
|
elasticloadbalancing:ListenerProtocol |
||||
Grants permission to modify the attributes of the specified listener |
Write |
|||
Grants permission to modify the attributes of the specified load balancer |
Write |
|||
Grants permission to modify the specified rule |
Write |
|||
Grants permission to modify the health checks used when evaluating the health state of the targets in the specified target group |
Write |
|||
Grants permission to modify the specified attributes of the specified target group |
Write |
|||
Grants permission to modify the specified trust store |
Write |
|||
Grants permission to register the specified targets with the specified target group |
Write |
|||
Grants permission to remove the specified certificates of the specified secure listener |
Write |
|||
Grants permission to remove one or more tags from the specified load balancer |
Tagging, Write |
|||
Grants permission to remove revocations from a trust store |
Write |
|||
Grants permission to set the type of IP addresses used by the subnets of the specified load balancer |
Write |
|||
Grants permission to set the priorities of the specified rules |
Write |
|||
Grants permission to associate the specified security groups with the specified load balancer |
Write |
|||
Grants permission to enable the Availability Zone for the specified subnets for the specified load balancer |
Write |
|||
Permission-only actions for Amazon Elastic Load Balancing V2
The following actions are defined by Amazon Elastic Load Balancing V2 but are not directly invocable through any API operation. They can only be used in IAM policy statements to grant or deny permissions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to configure vended log delivery for load balancers |
Permissions management, Write |
|||
Grants permission to associate WAF WebACL to the specified load balancer |
Write |
|||
Grants permission to disassociate WAF WebACL from the specified load balancer |
Write |
|||
Grants permission to describe all load balancers associated to a WAF WebACL in your account |
List |
|||
Grants permission to retrieve the WAF WebACL associated to the specified load balancer |
Read |
|||
Grants permission to give WebAcl permission to WAF |
Write |
Resource types defined by Amazon Elastic Load Balancing V2
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener-rule/app/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}/${ListenerRuleId} |
||
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener-rule/net/${LoadBalancerName}/${LoadBalancerId}/${ListenerId}/${ListenerRuleId} |
||
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener/app/${LoadBalancerName}/${LoadBalancerId}/${ListenerId} |
||
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener/gwy/${LoadBalancerName}/${LoadBalancerId}/${ListenerId} |
||
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:listener/net/${LoadBalancerName}/${LoadBalancerId}/${ListenerId} |
||
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/app/${LoadBalancerName}/${LoadBalancerId} |
||
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/gwy/${LoadBalancerName}/${LoadBalancerId} |
||
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:loadbalancer/net/${LoadBalancerName}/${LoadBalancerId} |
||
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:targetgroup/${TargetGroupName}/${TargetGroupId} |
||
arn:${Partition}:elasticloadbalancing:${Region}:${Account}:truststore/${TrustStoreName}/${TrustStoreId} |
Condition keys for Amazon Elastic Load Balancing V2
Amazon Elastic Load Balancing V2 defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by a tag key and value pair that is allowed in the request |
String |
|
Filters access by a tag key and value pair of a resource |
String |
|
Filters access by a list of tag keys that are allowed in the request |
ArrayOfString |
|
Filters access by the name of a resource-creating API action |
String |
|
Filters access by the listener protocol that is allowed in the request |
ArrayOfString |
|
Filters access by the preface string for a tag key and value pair that are attached to a resource |
String |
|
Filters access by the load balancer scheme that is allowed in the request |
String |
|
Filters access by the security-group IDs that are allowed in the request |
ArrayOfString |
|
Filters access by the SSL Security Policies that are allowed in the request |
ArrayOfString |
|
Filters access by the subnet IDs that are allowed in the request |
ArrayOfString |