NAME
Paws::CloudWatchEvents::CreateEventBus - Arguments for method CreateEventBus on Paws::CloudWatchEvents
DESCRIPTION
This class represents the parameters used for calling the method CreateEventBus on the Amazon EventBridge service. Use the attributes of this class as arguments to method CreateEventBus.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEventBus.
SYNOPSIS
my $events = Paws->service('CloudWatchEvents');
my $CreateEventBusResponse = $events->CreateEventBus(
Name => 'MyEventBusName',
EventSourceName => 'MyEventSourceName', # OPTIONAL
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # max: 256
},
...
], # OPTIONAL
);
# Results:
my $EventBusArn = $CreateEventBusResponse->EventBusArn;
# Returns a L<Paws::CloudWatchEvents::CreateEventBusResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/events/CreateEventBus
ATTRIBUTES
EventSourceName => Str
If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.
REQUIRED Name => Str
The name of the new event bus.
Event bus names cannot contain the / character. You can't use the name default
for a custom event bus, as this name is already used for your account's default event bus.
If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.
Tags => ArrayRef[Paws::CloudWatchEvents::Tag]
Tags to associate with the event bus.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateEventBus 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