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

Class: Aws::ConfigService::Types::GetResourceConfigHistoryRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetResourceConfigHistoryRequest as input to an Aws::Client method, you can use a vanilla 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::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::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::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
  resource_id: "ResourceId", # required
  later_time: Time.now,
  earlier_time: Time.now,
  chronological_order: "Reverse", # accepts Reverse, Forward
  limit: 1,
  next_token: "NextToken",
}

The input for the GetResourceConfigHistory action.

Instance Attribute Summary collapse

Instance Attribute Details

#chronological_orderString

The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.

Possible values:

  • Reverse
  • Forward

Returns:

  • (String)

    The chronological order for configuration items listed.

#earlier_timeTime

The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded.

Returns:

  • (Time)

    The time stamp that indicates an earlier time.

#later_timeTime

The time stamp that indicates a later time. If not specified, current time is taken.

Returns:

  • (Time)

    The time stamp that indicates a later time.

#limitInteger

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

Returns:

  • (Integer)

    The maximum number of configuration items returned on each page.

#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)

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

#resource_idString

The ID of the resource (for example., sg-xxxxxx).

Returns:

  • (String)

    The ID of the resource (for example., sg-xxxxxx).

#resource_typeString

The resource type.

Possible 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::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::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

Returns:

  • (String)

    The resource type.