NAME

Paws::CodeCommit::RepositoryTrigger

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::CodeCommit::RepositoryTrigger object:

  $service_obj->Method(Att1 => { Branches => $value, ..., Name => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::CodeCommit::RepositoryTrigger object:

  $result = $service_obj->Method(...);
  $result->Att1->Branches

DESCRIPTION

Information about a trigger for a repository.

ATTRIBUTES

Branches => ArrayRef[Str|Undef]

  The branches to be included in the trigger configuration. If you
specify an empty array, the trigger applies to all branches.

Although no content is required in the array, you must include the array itself.

CustomData => Str

  Any custom data associated with the trigger to be included in the
information sent to the target of the trigger.

REQUIRED DestinationArn => Str

  The ARN of the resource that is the target for a trigger (for example,
the ARN of a topic in Amazon SNS).

REQUIRED Events => ArrayRef[Str|Undef]

  The repository events that cause the trigger to run actions in another
service, such as sending a notification through Amazon SNS.

The valid value "all" cannot be used with any other values.

REQUIRED Name => Str

  The name of the trigger.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::CodeCommit

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues