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

Class: Aws::ConfigService::Types::AggregateResourceIdentifier

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 AggregateResourceIdentifier data as a hash:

{
  source_account_id: "AccountId", # required
  source_region: "AwsRegion", # required
  resource_id: "ResourceId", # required
  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::EC2::RegisteredHAInstance, AWS::EC2::NatGateway, AWS::EC2::EgressOnlyInternetGateway, AWS::EC2::VPCEndpoint, AWS::EC2::VPCEndpointService, AWS::EC2::FlowLog, AWS::EC2::VPCPeeringConnection, AWS::IAM::Group, AWS::IAM::Policy, AWS::IAM::Role, AWS::IAM::User, AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::ACM::Certificate, AWS::RDS::DBInstance, AWS::RDS::DBParameterGroup, AWS::RDS::DBOptionGroup, AWS::RDS::DBSubnetGroup, AWS::RDS::DBSecurityGroup, AWS::RDS::DBSnapshot, AWS::RDS::DBCluster, AWS::RDS::DBClusterParameterGroup, 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::Alias, AWS::Lambda::Function, AWS::ElasticBeanstalk::Application, AWS::ElasticBeanstalk::ApplicationVersion, AWS::ElasticBeanstalk::Environment, AWS::MobileHub::Project, AWS::XRay::EncryptionConfig, AWS::SSM::AssociationCompliance, AWS::SSM::PatchCompliance, AWS::Shield::Protection, AWS::ShieldRegional::Protection, AWS::Config::ResourceCompliance, AWS::LicenseManager::LicenseConfiguration, AWS::ApiGateway::DomainName, AWS::ApiGateway::Method, AWS::ApiGateway::Stage, AWS::ApiGateway::RestApi, AWS::ApiGatewayV2::DomainName, AWS::ApiGatewayV2::Stage, AWS::ApiGatewayV2::Api, AWS::CodePipeline::Pipeline, AWS::ServiceCatalog::CloudFormationProvisionedProduct, AWS::ServiceCatalog::CloudFormationProduct, AWS::ServiceCatalog::Portfolio
  resource_name: "ResourceName",
}

The details that identify a resource that is collected by AWS Config aggregator, including the resource type, ID, (if available) the custom resource name, the source account, and source region.

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The ID of the AWS resource.

Returns:

  • (String)


184
185
186
187
188
189
190
191
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 184

class AggregateResourceIdentifier < Struct.new(
  :source_account_id,
  :source_region,
  :resource_id,
  :resource_type,
  :resource_name)
  include Aws::Structure
end

#resource_nameString

The name of the AWS resource.

Returns:

  • (String)


184
185
186
187
188
189
190
191
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 184

class AggregateResourceIdentifier < Struct.new(
  :source_account_id,
  :source_region,
  :resource_id,
  :resource_type,
  :resource_name)
  include Aws::Structure
end

#resource_typeString

The type of the AWS resource.

Returns:

  • (String)


184
185
186
187
188
189
190
191
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 184

class AggregateResourceIdentifier < Struct.new(
  :source_account_id,
  :source_region,
  :resource_id,
  :resource_type,
  :resource_name)
  include Aws::Structure
end

#source_account_idString

The 12-digit account ID of the source account.

Returns:

  • (String)


184
185
186
187
188
189
190
191
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 184

class AggregateResourceIdentifier < Struct.new(
  :source_account_id,
  :source_region,
  :resource_id,
  :resource_type,
  :resource_name)
  include Aws::Structure
end

#source_regionString

The source region where data is aggregated.

Returns:

  • (String)


184
185
186
187
188
189
190
191
# File 'gems/aws-sdk-configservice/lib/aws-sdk-configservice/types.rb', line 184

class AggregateResourceIdentifier < Struct.new(
  :source_account_id,
  :source_region,
  :resource_id,
  :resource_type,
  :resource_name)
  include Aws::Structure
end