@Stability(value=Stable) public static final class CfnFunctionDefinition.ResourceAccessPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFunctionDefinition.ResourceAccessPolicyProperty>
CfnFunctionDefinition.ResourceAccessPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunctionDefinition.ResourceAccessPolicyProperty |
build()
Builds the configured instance.
|
CfnFunctionDefinition.ResourceAccessPolicyProperty.Builder |
permission(String permission)
Sets the value of
CfnFunctionDefinition.ResourceAccessPolicyProperty.getPermission() |
CfnFunctionDefinition.ResourceAccessPolicyProperty.Builder |
resourceId(String resourceId)
Sets the value of
CfnFunctionDefinition.ResourceAccessPolicyProperty.getResourceId() |
@Stability(value=Stable) public CfnFunctionDefinition.ResourceAccessPolicyProperty.Builder resourceId(String resourceId)
CfnFunctionDefinition.ResourceAccessPolicyProperty.getResourceId()resourceId - The ID of the resource. This parameter is required.
This ID is assigned to the resource when you create the resource definition.this@Stability(value=Stable) public CfnFunctionDefinition.ResourceAccessPolicyProperty.Builder permission(String permission)
CfnFunctionDefinition.ResourceAccessPolicyProperty.getPermission()permission - The read-only or read-write access that the Lambda function has to the resource.
Valid values are ro or rw .this@Stability(value=Stable) public CfnFunctionDefinition.ResourceAccessPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnFunctionDefinition.ResourceAccessPolicyProperty>CfnFunctionDefinition.ResourceAccessPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.