You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ConfigService::Types::ListDiscoveredResourcesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb

Overview

Note:

When making an API call, you may pass ListDiscoveredResourcesRequest data as a hash:

{
  resource_type: "AWS::EC2::CustomerGateway", # required, accepts 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::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::EventSubscription, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::S3::Bucket, AWS::SSM::ManagedInstanceInventory, AWS::Redshift::Cluster, AWS::Redshift::ClusterSnapshot, AWS::Redshift::ClusterParameterGroup, AWS::Redshift::ClusterSecurityGroup, AWS::Redshift::ClusterSubnetGroup, AWS::Redshift::EventSubscription, AWS::CloudWatch::Alarm, AWS::CloudFormation::Stack, AWS::DynamoDB::Table, AWS::AutoScaling::AutoScalingGroup, AWS::AutoScaling::LaunchConfiguration, AWS::AutoScaling::ScalingPolicy, AWS::AutoScaling::ScheduledAction
  resource_ids: ["ResourceId"],
  resource_name: "ResourceName",
  limit: 1,
  include_deleted_resources: false,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#include_deleted_resourcesBoolean

Specifies whether AWS Config includes deleted resources in the results. By default, deleted resources are not included.

Returns:

  • (Boolean)


1867
1868
1869
1870
1871
1872
1873
1874
1875
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1867

class ListDiscoveredResourcesRequest < Struct.new(
  :resource_type,
  :resource_ids,
  :resource_name,
  :limit,
  :include_deleted_resources,
  :next_token)
  include Aws::Structure
end

#limitInteger

The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a limit greater than 100. If you specify 0, AWS Config uses the default.

Returns:

  • (Integer)


1867
1868
1869
1870
1871
1872
1873
1874
1875
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1867

class ListDiscoveredResourcesRequest < Struct.new(
  :resource_type,
  :resource_ids,
  :resource_name,
  :limit,
  :include_deleted_resources,
  :next_token)
  include Aws::Structure
end

#next_tokenString

The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

Returns:

  • (String)


1867
1868
1869
1870
1871
1872
1873
1874
1875
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1867

class ListDiscoveredResourcesRequest < Struct.new(
  :resource_type,
  :resource_ids,
  :resource_name,
  :limit,
  :include_deleted_resources,
  :next_token)
  include Aws::Structure
end

#resource_idsArray<String>

The IDs of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.

Returns:

  • (Array<String>)


1867
1868
1869
1870
1871
1872
1873
1874
1875
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1867

class ListDiscoveredResourcesRequest < Struct.new(
  :resource_type,
  :resource_ids,
  :resource_name,
  :limit,
  :include_deleted_resources,
  :next_token)
  include Aws::Structure
end

#resource_nameString

The custom name of only those resources that you want AWS Config to list in the response. If you do not specify this parameter, AWS Config lists all resources of the specified type that it has discovered.

Returns:

  • (String)


1867
1868
1869
1870
1871
1872
1873
1874
1875
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1867

class ListDiscoveredResourcesRequest < Struct.new(
  :resource_type,
  :resource_ids,
  :resource_name,
  :limit,
  :include_deleted_resources,
  :next_token)
  include Aws::Structure
end

#resource_typeString

The type of resources that you want AWS Config to list in the response.

Returns:

  • (String)


1867
1868
1869
1870
1871
1872
1873
1874
1875
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 1867

class ListDiscoveredResourcesRequest < Struct.new(
  :resource_type,
  :resource_ids,
  :resource_name,
  :limit,
  :include_deleted_resources,
  :next_token)
  include Aws::Structure
end