Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Fontan (0.16 sec)

  1. internal/arn/arn.go

    	if ps[4] != "" {
    		err = errors.New("invalid ARN - unsupported account-id field")
    		return
    	}
    
    	res := strings.SplitN(ps[5], "/", 2)
    	if len(res) != 2 {
    		err = errors.New("invalid ARN - resource does not contain a \"/\"")
    		return
    	}
    
    	if res[0] != string(arnResourceTypeRole) {
    		err = errors.New("invalid ARN: resource type is invalid")
    		return
    	}
    
    	if !validResourceIDRegex.MatchString(res[1]) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
Back to top