-
Notifications
You must be signed in to change notification settings - Fork 17
/
CfnConfigurationRecorder_ExclusionByResourceTypesProperty.go
49 lines (46 loc) · 2.69 KB
/
CfnConfigurationRecorder_ExclusionByResourceTypesProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package awsconfig
// Specifies whether the configuration recorder excludes certain resource types from being recorded.
//
// Use the `ResourceTypes` field to enter a comma-separated list of resource types you want to exclude from recording.
//
// By default, when AWS Config adds support for a new resource type in the Region where you set up the configuration recorder, including global resource types, AWS Config starts recording resources of that type automatically.
//
// > *How to use the exclusion recording strategy*
// >
// > To use this option, you must set the `useOnly` field of [RecordingStrategy](https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingStrategy.html) to `EXCLUSION_BY_RESOURCE_TYPES` .
// >
// > AWS Config will then record configuration changes for all supported resource types, except the resource types that you specify to exclude from being recorded.
// >
// > *Global resource types and the exclusion recording strategy*
// >
// > Unless specifically listed as exclusions, `AWS::RDS::GlobalCluster` will be recorded automatically in all supported AWS Config Regions were the configuration recorder is enabled.
// >
// > IAM users, groups, roles, and customer managed policies will be recorded in the Region where you set up the configuration recorder if that is a Region where AWS Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by AWS Config after February 2022. This list where you cannot record the global IAM resource types includes the following Regions:
// >
// > - Asia Pacific (Hyderabad)
// > - Asia Pacific (Melbourne)
// > - Canada West (Calgary)
// > - Europe (Spain)
// > - Europe (Zurich)
// > - Israel (Tel Aviv)
// > - Middle East (UAE).
//
// Example:
// // The code below shows an example of how to instantiate this type.
// // The values are placeholders you should change.
// import "github.com/aws/aws-cdk-go/awscdk"
//
// exclusionByResourceTypesProperty := &ExclusionByResourceTypesProperty{
// ResourceTypes: []*string{
// jsii.String("resourceTypes"),
// },
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-exclusionbyresourcetypes.html
//
type CfnConfigurationRecorder_ExclusionByResourceTypesProperty struct {
// A comma-separated list of resource types to exclude from recording by the configuration recorder.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-config-configurationrecorder-exclusionbyresourcetypes.html#cfn-config-configurationrecorder-exclusionbyresourcetypes-resourcetypes
//
ResourceTypes *[]*string `field:"required" json:"resourceTypes" yaml:"resourceTypes"`
}