code: func (resource *Resource) NewAuthorizedMethod(httpMethod string,
  	authorizerID gocf.Stringable,
  	defaultHTTPStatusCode int,
  	possibleHTTPStatusCodeResponses ...int) (*Method, error) {
  	if authorizerID == nil {
  		return nil, fmt.Errorf("authorizerID must not be `nil` for Authorized Method")
  	}
  	method, methodErr := resource.NewMethod(httpMethod,
  		defaultHTTPStatusCode,
  		possibleHTTPStatusCodeResponses...)
  	if methodErr == nil {
  		method.authorizationID = authorizerID
  	}
  	return method, methodErr
  }
docs: // NewAuthorizedMethod associates the httpMethod name and authorizationID with
  // the given Resource. The authorizerID param is a cloudformation.Strinable
  // satisfying value