Paws::Config::GetAggregateDiscoveredResourceCounts - Arguments for method GetAggregateDiscoveredResourceCounts on Paws::Config
This class represents the parameters used for calling the method GetAggregateDiscoveredResourceCounts on the AWS Config service. Use the attributes of this class as arguments to method GetAggregateDiscoveredResourceCounts.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetAggregateDiscoveredResourceCounts.
my $config = Paws->service('Config'); my $GetAggregateDiscoveredResourceCountsResponse = $config->GetAggregateDiscoveredResourceCounts( ConfigurationAggregatorName => 'MyConfigurationAggregatorName', Filters => { AccountId => 'MyAccountId', # OPTIONAL Region => 'MyAwsRegion', # min: 1, max: 64; OPTIONAL ResourceType => 'AWS::EC2::CustomerGateway' , # values: AWS::EC2::CustomerGateway, AWS::EC2::EIP, AWS::EC2::Host, AWS::EC2::Instance, AWS::EC2::InternetGateway, AWS::EC2::NetworkAcl, AWS::EC2::NetworkInterface, AWS::EC2::RouteTable, AWS::EC2::SecurityGroup, AWS::EC2::Subnet, AWS::CloudTrail::Trail, AWS::EC2::Volume, AWS::EC2::VPC, AWS::EC2::VPNConnection, AWS::EC2::VPNGateway, AWS::EC2::RegisteredHAInstance, AWS::EC2::NatGateway, AWS::EC2::EgressOnlyInternetGateway, AWS::EC2::VPCEndpoint, AWS::EC2::VPCEndpointService, AWS::EC2::FlowLog, AWS::EC2::VPCPeeringConnection, AWS::Elasticsearch::Domain, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::DBCluster, AWS::RDS::DBClusterSnapshot, AWS::RDS::EventSubscription, AWS::S3::Bucket, AWS::S3::AccountPublicAccessBlock, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::SSM::ManagedInstanceInventory, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack, AWS::ElasticLoadBalancing::LoadBalancer, AWS::AutoScaling::AutoScalingGroup, AWS::AutoScaling::LaunchConfiguration, AWS::AutoScaling::ScalingPolicy, AWS::AutoScaling::ScheduledAction, AWS::DynamoDB::Table, AWS::CodeBuild::Project, AWS::WAF::RateBasedRule, AWS::WAF::Rule, AWS::WAF::RuleGroup, AWS::WAF::WebACL, AWS::WAFRegional::RateBasedRule, AWS::WAFRegional::Rule, AWS::WAFRegional::RuleGroup, AWS::WAFRegional::WebACL, AWS::CloudFront::Distribution, AWS::CloudFront::StreamingDistribution, AWS::Lambda::Function, AWS::NetworkFirewall::Firewall, AWS::NetworkFirewall::FirewallPolicy, AWS::NetworkFirewall::RuleGroup, AWS::ElasticBeanstalk::Application, AWS::ElasticBeanstalk::ApplicationVersion, AWS::ElasticBeanstalk::Environment, AWS::WAFv2::WebACL, AWS::WAFv2::RuleGroup, AWS::WAFv2::IPSet, AWS::WAFv2::RegexPatternSet, AWS::WAFv2::ManagedRuleSet, AWS::XRay::EncryptionConfig, AWS::SSM::AssociationCompliance, AWS::SSM::PatchCompliance, AWS::Shield::Protection, AWS::ShieldRegional::Protection, AWS::Config::ConformancePackCompliance, AWS::Config::ResourceCompliance, AWS::ApiGateway::Stage, AWS::ApiGateway::RestApi, AWS::ApiGatewayV2::Stage, AWS::ApiGatewayV2::Api, AWS::CodePipeline::Pipeline, AWS::ServiceCatalog::CloudFormationProvisionedProduct, AWS::ServiceCatalog::CloudFormationProduct, AWS::ServiceCatalog::Portfolio, AWS::SQS::Queue, AWS::KMS::Key, AWS::QLDB::Ledger, AWS::SecretsManager::Secret, AWS::SNS::Topic, AWS::SSM::FileData; OPTIONAL }, # OPTIONAL GroupByKey => 'RESOURCE_TYPE', # OPTIONAL Limit => 1, # OPTIONAL NextToken => 'MyNextToken', # OPTIONAL ); # Results: my $GroupByKey = $GetAggregateDiscoveredResourceCountsResponse->GroupByKey; my $GroupedResourceCounts = $GetAggregateDiscoveredResourceCountsResponse->GroupedResourceCounts; my $NextToken = $GetAggregateDiscoveredResourceCountsResponse->NextToken; my $TotalDiscoveredResources = $GetAggregateDiscoveredResourceCountsResponse->TotalDiscoveredResources;
# Returns a Paws::Config::GetAggregateDiscoveredResourceCountsResponse 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/config/GetAggregateDiscoveredResourceCounts
The name of the configuration aggregator.
Filters the results based on the ResourceCountFilters object.
ResourceCountFilters
The key to group the resource counts.
Valid values are: "RESOURCE_TYPE", "ACCOUNT_ID", "AWS_REGION"
"RESOURCE_TYPE"
"ACCOUNT_ID"
"AWS_REGION"
The maximum number of GroupedResourceCount objects returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, AWS Config uses the default.
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
nextToken
This class forms part of Paws, documenting arguments for method GetAggregateDiscoveredResourceCounts in Paws::Config
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
To install Paws, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws
CPAN shell
perl -MCPAN -e shell install Paws
For more information on module installation, please visit the detailed CPAN module installation guide.