@Stability(value=Stable) public static final class CfnFunctionDefinitionVersion.ResourceAccessPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnFunctionDefinitionVersion.ResourceAccessPolicyProperty>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnFunctionDefinitionVersion.ResourceAccessPolicyProperty |
build()
Builds the configured instance.
|
CfnFunctionDefinitionVersion.ResourceAccessPolicyProperty.Builder |
permission(String permission)
|
CfnFunctionDefinitionVersion.ResourceAccessPolicyProperty.Builder |
resourceId(String resourceId)
|
@Stability(value=Stable) public CfnFunctionDefinitionVersion.ResourceAccessPolicyProperty.Builder resourceId(String resourceId)
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 CfnFunctionDefinitionVersion.ResourceAccessPolicyProperty.Builder permission(String permission)
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 CfnFunctionDefinitionVersion.ResourceAccessPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnFunctionDefinitionVersion.ResourceAccessPolicyProperty>CfnFunctionDefinitionVersion.ResourceAccessPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.