How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • import * as signer from '@aws-cdk/aws-signer';
    
    const signingProfile = new signer.SigningProfile(this, 'SigningProfile', {
      platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,
    } );
    
    Docs
    0
  • import * as signer from '@aws-cdk/aws-signer';
    
    const signingProfile = new signer.SigningProfile(this, 'SigningProfile', {
      platform: signer.Platform.AWS_LAMBDA_SHA384_ECDSA,
    });
    
    const codeSigningConfig = new lambda.CodeSigningConfig(this, 'CodeSigningConfig', {
      signingProfiles: [signingProfile],
    });
    
    new lambda.Function(this, 'Function', {
      codeSigningConfig,
      runtime: lambda.Runtime.NODEJS_12_X,
      handler: 'index.handler',
      code: lambda.Code.fromAsset(path.join(__dirname, 'lambda-handler')),
    });
    
    Docs
    0
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as signer from '@aws-cdk/aws-signer';
    
    const cfnSigningProfile = new signer.CfnSigningProfile(this, 'MyCfnSigningProfile', {
      platformId: 'platformId',
    
      // the properties below are optional
      signatureValidityPeriod: {
        type: 'type',
        value: 123,
      },
      tags: [{
        key: 'key',
        value: 'value',
      }],
    });
    
    Docs
    0
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as signer from '@aws-cdk/aws-signer';
    
    const cfnProfilePermission = new signer.CfnProfilePermission(this, 'MyCfnProfilePermission', {
      action: 'action',
      principal: 'principal',
      profileName: 'profileName',
      statementId: 'statementId',
    
      // the properties below are optional
      profileVersion: 'profileVersion',
    });
    
    Docs
    0
  • signOut = async () => {
      try {
        await GoogleSignin.signOut();
        this.setState({ user: null }); // Remember to remove the user from your app's state as well
      } catch (error) {
        console.error(error);
      }
    };
    Docs
    0
  • isSignedIn = async () => {
      const isSignedIn = await GoogleSignin.isSignedIn();
      this.setState({ isLoginScreenPresented: !isSignedIn });
    };
    Docs
    0
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples