@Stability(value=Stable) public static final class CfnUrlProps.Builder extends Object implements software.amazon.jsii.Builder<CfnUrlProps>
CfnUrlProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnUrlProps.Builder |
authType(String authType)
Sets the value of
CfnUrlProps.getAuthType() |
CfnUrlProps |
build()
Builds the configured instance.
|
CfnUrlProps.Builder |
cors(CfnUrl.CorsProperty cors)
Sets the value of
CfnUrlProps.getCors() |
CfnUrlProps.Builder |
cors(IResolvable cors)
Sets the value of
CfnUrlProps.getCors() |
CfnUrlProps.Builder |
invokeMode(String invokeMode)
Sets the value of
CfnUrlProps.getInvokeMode() |
CfnUrlProps.Builder |
qualifier(String qualifier)
Sets the value of
CfnUrlProps.getQualifier() |
CfnUrlProps.Builder |
targetFunctionArn(String targetFunctionArn)
Sets the value of
CfnUrlProps.getTargetFunctionArn() |
@Stability(value=Stable) public CfnUrlProps.Builder authType(String authType)
CfnUrlProps.getAuthType()authType - The type of authentication that your function URL uses. This parameter is required.
Set to AWS_IAM if you want to restrict access to authenticated IAM users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, see Security and auth model for Lambda function URLs .this@Stability(value=Stable) public CfnUrlProps.Builder targetFunctionArn(String targetFunctionArn)
CfnUrlProps.getTargetFunctionArn()targetFunctionArn - The name of the Lambda function. This parameter is required.
Name formats - Function name - my-function .
arn:aws:lambda:us-west-2:123456789012:function:my-function .123456789012:function:my-function .The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
this@Stability(value=Stable) public CfnUrlProps.Builder cors(CfnUrl.CorsProperty cors)
CfnUrlProps.getCors()cors - The [Cross-Origin Resource Sharing (CORS)](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for your function URL.this@Stability(value=Stable) public CfnUrlProps.Builder cors(IResolvable cors)
CfnUrlProps.getCors()cors - The [Cross-Origin Resource Sharing (CORS)](https://docs.aws.amazon.com/https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) settings for your function URL.this@Stability(value=Stable) public CfnUrlProps.Builder invokeMode(String invokeMode)
CfnUrlProps.getInvokeMode()invokeMode - `AWS::Lambda::Url.InvokeMode`.this@Stability(value=Stable) public CfnUrlProps.Builder qualifier(String qualifier)
CfnUrlProps.getQualifier()qualifier - The alias name.this@Stability(value=Stable) public CfnUrlProps build()
build in interface software.amazon.jsii.Builder<CfnUrlProps>CfnUrlPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.