Class: AwsBackendBase
- Inherits:
-
Object
- Object
- AwsBackendBase
- Defined in:
- lib/resource_support/aws/aws_backend_base.rb
Direct Known Subclasses
AwsCloudTrailTrail::Backend::AwsClientApi, AwsCloudTrailTrails::Backend::AwsClientApi, AwsCloudwatchAlarm::Backend::AwsClientApi, AwsCloudwatchLogMetricFilter::Backend::AwsClientApi, AwsConfigDeliveryChannel::Backend::AwsClientApi, AwsConfigurationRecorder::Backend::AwsClientApi, AwsEbsVolumes::Backend::AwsClientApi, AwsEc2Instances::Backend::AwsClientApi, AwsEcsCluster::Backend::AwsClientApi, AwsElb::Backend::AwsClientApi, AwsElbs::Backend::AwsClientApi, AwsFlowLog::Backend::AwsClientApi, AwsIamAccessKey::Backend::AwsClientApi, AwsIamAccessKeys::Backend::AwsUserIterator, AwsIamGroup::Backend::AwsClientApi, AwsIamGroups::Backend::AwsClientApi, AwsIamPolicies::Backend::AwsClientApi, AwsIamPolicy::Backend::AwsClientApi, AwsIamRole::Backend::AwsClientApi, AwsIamUser::Backend::AwsClientApi, AwsIamUsers::Backend::AwsClientApi, AwsKmsKey::Backend::AwsClientApi, AwsKmsKeys::Backend::AwsClientApi, AwsRdsInstance::Backend::AwsClientApi, AwsRouteTable::Backend::AwsClientApi, AwsRouteTables::Backend::AwsClientApi, AwsS3Bucket::Backend::AwsClientApi, AwsS3BucketObject::Backend::AwsClientApi, AwsS3Buckets::Backend::AwsClientApi, AwsSecurityGroup::Backend::AwsClientApi, AwsSecurityGroups::Backend::AwsClientApi, AwsSnsSubscription::Backend::AwsClientApi, AwsSnsTopic::Backend::AwsClientApi, AwsSnsTopics::Backend::AwsClientApi, AwsSubnet::Backend::AwsClientApi, AwsSubnets::Backend::AwsClientApi, AwsVpc::Backend::AwsClientApi, AwsVpcs::Backend::AwsClientApi
Class Attribute Summary collapse
-
.aws_client_class ⇒ Object
Returns the value of attribute aws_client_class.
Instance Attribute Summary collapse
-
#aws_transport ⇒ Object
readonly
Returns the value of attribute aws_transport.
Instance Method Summary collapse
- #aws_service_client ⇒ Object
-
#initialize(inspec = nil) ⇒ AwsBackendBase
constructor
A new instance of AwsBackendBase.
Constructor Details
#initialize(inspec = nil) ⇒ AwsBackendBase
Returns a new instance of AwsBackendBase.
5 6 7 |
# File 'lib/resource_support/aws/aws_backend_base.rb', line 5 def initialize(inspec = nil) @aws_transport = inspec ? inspec.backend : nil end |
Class Attribute Details
.aws_client_class ⇒ Object
Returns the value of attribute aws_client_class.
3 4 5 |
# File 'lib/resource_support/aws/aws_backend_base.rb', line 3 def aws_client_class @aws_client_class end |
Instance Attribute Details
#aws_transport ⇒ Object (readonly)
Returns the value of attribute aws_transport.
2 3 4 |
# File 'lib/resource_support/aws/aws_backend_base.rb', line 2 def aws_transport @aws_transport end |
Instance Method Details
#aws_service_client ⇒ Object
9 10 11 |
# File 'lib/resource_support/aws/aws_backend_base.rb', line 9 def aws_service_client aws_transport.aws_client(self.class.aws_client_class) end |