NAME

Paws::CloudWatchEvents::Rule

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::CloudWatchEvents::Rule object:

$service_obj->Method(Att1 => { Arn => $value, ..., State => $value  });

Results returned from an API call

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

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

DESCRIPTION

Contains information about a rule in Amazon EventBridge.

ATTRIBUTES

Arn => Str

The Amazon Resource Name (ARN) of the rule.

Description => Str

The description of the rule.

EventBusName => Str

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

EventPattern => Str

The event pattern of the rule. For more information, see Events and Event Patterns (https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) in the Amazon EventBridge User Guide.

ManagedBy => Str

If the rule was created on behalf of your account by an AWS service, this field displays the principal name of the service that created the rule.

Name => Str

The name of the rule.

RoleArn => Str

The Amazon Resource Name (ARN) of the role that is used for target invocation.

ScheduleExpression => Str

The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)".

State => Str

The state of the rule.

SEE ALSO

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

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