public static interface ResourceAccessPolicy.Builder extends SdkPojo, CopyableBuilder<ResourceAccessPolicy.Builder,ResourceAccessPolicy>
Modifier and Type | Method and Description |
---|---|
ResourceAccessPolicy.Builder |
permission(Permission permission)
The permissions that the Lambda function has to the resource.
|
ResourceAccessPolicy.Builder |
permission(String permission)
The permissions that the Lambda function has to the resource.
|
ResourceAccessPolicy.Builder |
resourceId(String resourceId)
The ID of the resource.
|
copy
applyMutation, build
ResourceAccessPolicy.Builder permission(String permission)
permission
- The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or
''ro'' (read-only).Permission
,
Permission
ResourceAccessPolicy.Builder permission(Permission permission)
permission
- The permissions that the Lambda function has to the resource. Can be one of ''rw'' (read/write) or
''ro'' (read-only).Permission
,
Permission
ResourceAccessPolicy.Builder resourceId(String resourceId)
resourceId
- The ID of the resource. (This ID is assigned to the resource when you create the resource definiton.)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.