NAME
Paws::ApplicationInsights::CreateApplication - Arguments for method CreateApplication on Paws::ApplicationInsights
DESCRIPTION
This class represents the parameters used for calling the method CreateApplication on the Amazon CloudWatch Application Insights service. Use the attributes of this class as arguments to method CreateApplication.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateApplication.
SYNOPSIS
my $applicationinsights = Paws->service('ApplicationInsights');
my $CreateApplicationResponse = $applicationinsights->CreateApplication(
ResourceGroupName => 'MyResourceGroupName',
CWEMonitorEnabled => 1, # OPTIONAL
OpsCenterEnabled => 1, # OPTIONAL
OpsItemSNSTopicArn => 'MyOpsItemSNSTopicArn', # OPTIONAL
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # max: 256
},
...
], # OPTIONAL
);
# Results:
my $ApplicationInfo = $CreateApplicationResponse->ApplicationInfo;
# Returns a L<Paws::ApplicationInsights::CreateApplicationResponse> 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/applicationinsights/CreateApplication
ATTRIBUTES
CWEMonitorEnabled => Bool
Indicates whether Application Insights can listen to CloudWatch events for the application resources, such as instance terminated
, failed deployment
, and others.
OpsCenterEnabled => Bool
When set to true
, creates opsItems for any problems detected on an application.
OpsItemSNSTopicArn => Str
The SNS topic provided to Application Insights that is associated to the created opsItem. Allows you to receive notifications for updates to the opsItem.
REQUIRED ResourceGroupName => Str
The name of the resource group.
Tags => ArrayRef[Paws::ApplicationInsights::Tag]
List of tags to add to the application. tag key (Key
) and an associated tag value (Value
). The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateApplication in Paws::ApplicationInsights
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