Function: createApiTemplate()
createApiTemplate(
__namedParameters
):CloudFormationTemplate
Parameters
• __namedParameters
• __namedParameters.additionalAuthenticationProviders?: AuthenticationType
[]
• __namedParameters.authenticationType?: AuthenticationType
= 'AMAZON_COGNITO_USER_POOLS'
• __namedParameters.customDomain?
• __namedParameters.customDomain.certificateArn: string
• __namedParameters.customDomain.domainName: string
• __namedParameters.customDomain.hostedZoneName?: string
• __namedParameters.dataSource
• __namedParameters.dataSource.roleArn: StringOrImport
• __namedParameters.lambdaFunction
• __namedParameters.lambdaFunction.environment?
• __namedParameters.lambdaFunction.environment.variables: Record
<string
, string
>
• __namedParameters.lambdaFunction.layers?: any
• __namedParameters.lambdaFunction.roleArn: StringOrImport
• __namedParameters.schemaComposer: SchemaComposer
<any
>
• __namedParameters.userPoolConfig?
• __namedParameters.userPoolConfig.appIdClientRegex: StringOrImport
• __namedParameters.userPoolConfig.awsRegion: StringOrImport
• __namedParameters.userPoolConfig.defaultAction: "ALLOW"
| "DENY"
• __namedParameters.userPoolConfig.userPoolId: StringOrImport
Returns
CloudFormationTemplate