awscc.lex_resourcepolicy

Filters

  • event

  • reduce

  • value

Actions

delete

Parent base class for filters and actions.

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

Permissions - lex:DeleteResourcePolicy, lex:DescribeResourcePolicy

update

Parent base class for filters and actions.

definitions:
  PhysicalId:
    description: The Physical ID of the resource policy.
    type: string
  Policy:
    description: A resource policy to add to the resource. The policy is a JSON structure
      following the IAM syntax that contains one or more statements that define the
      policy.
    type: object
  ResourceArn:
    description: The Amazon Resource Name (ARN) of the bot or bot alias that the resource
      policy is attached to.
    maxLength: 1011
    minLength: 1
    type: string
  RevisionId:
    description: The current revision of the resource policy. Use the revision ID
      to make sure that you are updating the most current version of a resource policy
      when you add a policy statement to a resource, delete a resource, or update
      a resource.
    maxLength: 5
    minLength: 1
    pattern: ^[0-9]+$
    type: string
properties:
  Policy:
    description: A resource policy to add to the resource. The policy is a JSON structure
      following the IAM syntax that contains one or more statements that define the
      policy.
    type: object
  ResourceArn:
    description: The Amazon Resource Name (ARN) of the bot or bot alias that the resource
      policy is attached to.
    maxLength: 1011
    minLength: 1
    type: string
  type:
    enum:
    - update

Permissions - lex:UpdateResourcePolicy, lex:DescribeResourcePolicy