awscc.amplify_branch

Filters

  • event

  • reduce

  • value

Actions

delete

Parent base class for filters and actions.

properties:
  type:
    enum:
    - delete
required:
- type

Permissions - amplify:DeleteBranch, codecommit:GetRepository, codecommit:GetRepositoryTriggers, sns:Unsubscribe, iam:PassRole

update

Parent base class for filters and actions.

definitions:
  BasicAuthConfig:
    additionalProperties: false
    properties:
      EnableBasicAuth:
        type: boolean
      Password:
        maxLength: 255
        minLength: 1
        type: string
      Username:
        maxLength: 255
        minLength: 1
        type: string
    required:
    - Username
    - Password
    type: object
  EnvironmentVariable:
    additionalProperties: false
    properties:
      Name:
        maxLength: 255
        pattern: (?s).*
        type: string
      Value:
        maxLength: 5500
        pattern: (?s).*
        type: string
    required:
    - Name
    - Value
    type: object
  Tag:
    additionalProperties: false
    insertionOrder: false
    properties:
      Key:
        maxLength: 128
        minLength: 1
        pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$
        type: string
      Value:
        maxLength: 256
        minLength: 0
        pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
        type: string
    required:
    - Key
    - Value
    type: object
properties:
  BasicAuthConfig:
    additionalProperties: false
    properties:
      EnableBasicAuth:
        type: boolean
      Password:
        maxLength: 255
        minLength: 1
        type: string
      Username:
        maxLength: 255
        minLength: 1
        type: string
    required:
    - Username
    - Password
    type: object
  BuildSpec:
    maxLength: 25000
    minLength: 1
    pattern: (?s).+
    type: string
  Description:
    maxLength: 1000
    pattern: (?s).*
    type: string
  EnableAutoBuild:
    type: boolean
  EnablePerformanceMode:
    type: boolean
  EnablePullRequestPreview:
    type: boolean
  EnvironmentVariables:
    items:
      additionalProperties: false
      properties:
        Name:
          maxLength: 255
          pattern: (?s).*
          type: string
        Value:
          maxLength: 5500
          pattern: (?s).*
          type: string
      required:
      - Name
      - Value
      type: object
    type: array
    uniqueItems: false
  PullRequestEnvironmentName:
    maxLength: 20
    pattern: (?s).*
    type: string
  Stage:
    enum:
    - EXPERIMENTAL
    - BETA
    - PULL_REQUEST
    - PRODUCTION
    - DEVELOPMENT
    type: string
  Tags:
    items:
      additionalProperties: false
      insertionOrder: false
      properties:
        Key:
          maxLength: 128
          minLength: 1
          pattern: ^(?!aws:)[a-zA-Z+-=._:/]+$
          type: string
        Value:
          maxLength: 256
          minLength: 0
          pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$
          type: string
      required:
      - Key
      - Value
      type: object
    type: array
    uniqueItems: false
  type:
    enum:
    - update

Permissions - amplify:UpdateBranch, amplify:ListTagsForResource, amplify:TagResource, amplify:UntagResource, codecommit:GetRepository, codecommit:PutRepositoryTriggers, codecommit:GetRepositoryTriggers, s3:GetObject, s3:GetObjectAcl, s3:PutObject, s3:PutObjectAcl, sns:CreateTopic, sns:Subscribe, sns:Unsubscribe, iam:PassRole