awspec 0.43.0 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/_resource_types/s3_bucket.md +9 -0
- data/doc/resource_types.md +10 -0
- data/lib/awspec/type/s3_bucket.rb +5 -0
- data/lib/awspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14f9ebf7d5d0d6d6e6f62a1296fc0c22cdced016
|
4
|
+
data.tar.gz: 6563a937076d325f272b6dd2ccf0f9b4502b12ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f38dc6bfb7fb319aaa9a94249447ccb22ad60256fc29567567947c8a1122655b421a2e07938a6d027fa805aba61095c379e865e6849a6f03ff34fb537a4ae780
|
7
|
+
data.tar.gz: 410b0e18306a43264f9be9f91f0a316e894daf143ccdd6814481737fc081ee24343a6432b20a9a8c1331622c9a72a11d263f20880c5ff01e5e537157c1ca40b2
|
@@ -44,6 +44,7 @@ end
|
|
44
44
|
|
45
45
|
```ruby
|
46
46
|
describe s3_bucket('my-bucket') do
|
47
|
+
it do
|
47
48
|
should have_policy <<-POLICY
|
48
49
|
{
|
49
50
|
"Version": "2012-10-17",
|
@@ -86,6 +87,14 @@ describe s3_bucket('my-bucket') do
|
|
86
87
|
end
|
87
88
|
```
|
88
89
|
|
90
|
+
### have_mfa_delete_enabled
|
91
|
+
|
92
|
+
```ruby
|
93
|
+
describe s3_bucket('my-bucket') do
|
94
|
+
it { should have_mfa_delete_enabled }
|
95
|
+
end
|
96
|
+
```
|
97
|
+
|
89
98
|
### advanced
|
90
99
|
|
91
100
|
`s3_bucket` can use `Aws::S3::Bucket` resource (see http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Bucket.html).
|
data/doc/resource_types.md
CHANGED
@@ -1302,6 +1302,15 @@ end
|
|
1302
1302
|
```
|
1303
1303
|
|
1304
1304
|
|
1305
|
+
### have_mfa_delete_enabled
|
1306
|
+
|
1307
|
+
```ruby
|
1308
|
+
describe s3_bucket('my-bucket') do
|
1309
|
+
it { should have_mfa_delete_enabled }
|
1310
|
+
end
|
1311
|
+
```
|
1312
|
+
|
1313
|
+
|
1305
1314
|
### have_object
|
1306
1315
|
|
1307
1316
|
```ruby
|
@@ -1315,6 +1324,7 @@ end
|
|
1315
1324
|
|
1316
1325
|
```ruby
|
1317
1326
|
describe s3_bucket('my-bucket') do
|
1327
|
+
it do
|
1318
1328
|
should have_policy <<-POLICY
|
1319
1329
|
{
|
1320
1330
|
"Version": "2012-10-17",
|
data/lib/awspec/version.rb
CHANGED