@finnairoyj/cdk-constructs-lib - v0.1.11
    Preparing search index...

    Interface OIDCAuthorization

    interface OIDCAuthorization {
        behaviors?: string[];
        enabled: boolean;
        oidcAuthorizerLambda: string | OIDCAuthorizerLambda;
    }
    Index

    Properties

    behaviors?: string[]

    Behaviors to apply the authorizer to. By default the authorizer is applied to the default behavior. To apply to other behaviors, pass a list of keys of the additionalBehaviors property, in addition to default if the authorizer should also be applied to the default behavior. Empty array [] is not allowed

    ['default', 'my-additional-behavior'] // Apply to the default and my-additional-behavior
    
    ['my-additional-behavior'] // apply only to my-additional-behavior
    
    ['default']
    
    enabled: boolean

    Enable OIDC authorization

    oidcAuthorizerLambda: string | OIDCAuthorizerLambda

    OIDC Authorizer Lambda@Edge function ARN. Following values can be passed:

    • DNSValidatedCertificate instance created in the same CDK project
    • CloudFormation Stack output name for an externally created Stack in the us-east-1 region that resolves to the Certificate ARN
    • ARN of an externally created certificate on the us-east-1 region