types

package
v1.46.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 44

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountAggregationSource

type AccountAggregationSource struct {

	// The 12-digit account ID of the account being aggregated.
	//
	// This member is required.
	AccountIds []string

	// If true, aggregate existing Config regions and future regions.
	AllAwsRegions bool

	// The source regions being aggregated.
	AwsRegions []string
	// contains filtered or unexported fields
}

A collection of accounts and regions.

type AggregateComplianceByConfigRule

type AggregateComplianceByConfigRule struct {

	// The 12-digit account ID of the source account.
	AccountId *string

	// The source region from where the data is aggregated.
	AwsRegion *string

	// Indicates whether an Amazon Web Services resource or Config rule is compliant
	// and provides the number of contributors that affect the compliance.
	Compliance *Compliance

	// The name of the Config rule.
	ConfigRuleName *string
	// contains filtered or unexported fields
}

Indicates whether an Config rule is compliant based on account ID, region, compliance, and rule name. A rule is compliant if all of the resources that the rule evaluated comply with it. It is noncompliant if any of these resources do not comply.

type AggregateComplianceByConformancePack added in v1.3.0

type AggregateComplianceByConformancePack struct {

	// The 12-digit Amazon Web Services account ID of the source account.
	AccountId *string

	// The source Amazon Web Services Region from where the data is aggregated.
	AwsRegion *string

	// The compliance status of the conformance pack.
	Compliance *AggregateConformancePackCompliance

	// The name of the conformance pack.
	ConformancePackName *string
	// contains filtered or unexported fields
}

Provides aggregate compliance of the conformance pack. Indicates whether a conformance pack is compliant based on the name of the conformance pack, account ID, and region. A conformance pack is compliant if all of the rules in a conformance packs are compliant. It is noncompliant if any of the rules are not compliant. The compliance status of a conformance pack is INSUFFICIENT_DATA only if all rules within a conformance pack cannot be evaluated due to insufficient data. If some of the rules in a conformance pack are compliant but the compliance status of other rules in that same conformance pack is INSUFFICIENT_DATA, the conformance pack shows compliant.

type AggregateComplianceCount

type AggregateComplianceCount struct {

	// The number of compliant and noncompliant Config rules.
	ComplianceSummary *ComplianceSummary

	// The 12-digit account ID or region based on the GroupByKey value.
	GroupName *string
	// contains filtered or unexported fields
}

Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator.

type AggregateConformancePackCompliance added in v1.3.0

type AggregateConformancePackCompliance struct {

	// The compliance status of the conformance pack.
	ComplianceType ConformancePackComplianceType

	// The number of compliant Config Rules.
	CompliantRuleCount int32

	// The number of noncompliant Config Rules.
	NonCompliantRuleCount int32

	// Total number of compliant rules, noncompliant rules, and the rules that do not
	// have any applicable resources to evaluate upon resulting in insufficient data.
	TotalRuleCount int32
	// contains filtered or unexported fields
}

Provides the number of compliant and noncompliant rules within a conformance pack. Also provides the compliance status of the conformance pack and the total rule count which includes compliant rules, noncompliant rules, and rules that cannot be evaluated due to insufficient data. A conformance pack is compliant if all of the rules in a conformance packs are compliant. It is noncompliant if any of the rules are not compliant. The compliance status of a conformance pack is INSUFFICIENT_DATA only if all rules within a conformance pack cannot be evaluated due to insufficient data. If some of the rules in a conformance pack are compliant but the compliance status of other rules in that same conformance pack is INSUFFICIENT_DATA, the conformance pack shows compliant.

type AggregateConformancePackComplianceCount added in v1.3.0

type AggregateConformancePackComplianceCount struct {

	// Number of compliant conformance packs.
	CompliantConformancePackCount int32

	// Number of noncompliant conformance packs.
	NonCompliantConformancePackCount int32
	// contains filtered or unexported fields
}

The number of conformance packs that are compliant and noncompliant.

type AggregateConformancePackComplianceFilters added in v1.3.0

type AggregateConformancePackComplianceFilters struct {

	// The 12-digit Amazon Web Services account ID of the source account.
	AccountId *string

	// The source Amazon Web Services Region from where the data is aggregated.
	AwsRegion *string

	// The compliance status of the conformance pack.
	ComplianceType ConformancePackComplianceType

	// The name of the conformance pack.
	ConformancePackName *string
	// contains filtered or unexported fields
}

Filters the conformance packs based on an account ID, region, compliance type, and the name of the conformance pack.

type AggregateConformancePackComplianceSummary added in v1.3.0

type AggregateConformancePackComplianceSummary struct {

	// Returns an AggregateConformancePackComplianceCount object.
	ComplianceSummary *AggregateConformancePackComplianceCount

	// Groups the result based on Amazon Web Services account ID or Amazon Web
	// Services Region.
	GroupName *string
	// contains filtered or unexported fields
}

Provides a summary of compliance based on either account ID or region.

type AggregateConformancePackComplianceSummaryFilters added in v1.3.0

type AggregateConformancePackComplianceSummaryFilters struct {

	// The 12-digit Amazon Web Services account ID of the source account.
	AccountId *string

	// The source Amazon Web Services Region from where the data is aggregated.
	AwsRegion *string
	// contains filtered or unexported fields
}

Filters the results based on account ID and region.

type AggregateConformancePackComplianceSummaryGroupKey added in v1.3.0

type AggregateConformancePackComplianceSummaryGroupKey string
const (
	AggregateConformancePackComplianceSummaryGroupKeyAccountId AggregateConformancePackComplianceSummaryGroupKey = "ACCOUNT_ID"
	AggregateConformancePackComplianceSummaryGroupKeyAwsRegion AggregateConformancePackComplianceSummaryGroupKey = "AWS_REGION"
)

Enum values for AggregateConformancePackComplianceSummaryGroupKey

func (AggregateConformancePackComplianceSummaryGroupKey) Values added in v1.3.0

Values returns all known values for AggregateConformancePackComplianceSummaryGroupKey. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AggregateEvaluationResult

type AggregateEvaluationResult struct {

	// The 12-digit account ID of the source account.
	AccountId *string

	// Supplementary information about how the agrregate evaluation determined the
	// compliance.
	Annotation *string

	// The source region from where the data is aggregated.
	AwsRegion *string

	// The resource compliance status. For the AggregationEvaluationResult data type,
	// Config supports only the COMPLIANT and NON_COMPLIANT . Config does not support
	// the NOT_APPLICABLE and INSUFFICIENT_DATA value.
	ComplianceType ComplianceType

	// The time when the Config rule evaluated the Amazon Web Services resource.
	ConfigRuleInvokedTime *time.Time

	// Uniquely identifies the evaluation result.
	EvaluationResultIdentifier *EvaluationResultIdentifier

	// The time when Config recorded the aggregate evaluation result.
	ResultRecordedTime *time.Time
	// contains filtered or unexported fields
}

The details of an Config evaluation for an account ID and region in an aggregator. Provides the Amazon Web Services resource that was evaluated, the compliance of the resource, related time stamps, and supplementary information.

type AggregateResourceIdentifier

type AggregateResourceIdentifier struct {

	// The ID of the Amazon Web Services resource.
	//
	// This member is required.
	ResourceId *string

	// The type of the Amazon Web Services resource.
	//
	// This member is required.
	ResourceType ResourceType

	// The 12-digit account ID of the source account.
	//
	// This member is required.
	SourceAccountId *string

	// The source region where data is aggregated.
	//
	// This member is required.
	SourceRegion *string

	// The name of the Amazon Web Services resource.
	ResourceName *string
	// contains filtered or unexported fields
}

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

type AggregatedSourceStatus

type AggregatedSourceStatus struct {

	// The region authorized to collect aggregated data.
	AwsRegion *string

	// The error code that Config returned when the source account aggregation last
	// failed.
	LastErrorCode *string

	// The message indicating that the source account aggregation failed due to an
	// error.
	LastErrorMessage *string

	// Filters the last updated status type.
	//   - Valid value FAILED indicates errors while moving data.
	//   - Valid value SUCCEEDED indicates the data was successfully moved.
	//   - Valid value OUTDATED indicates the data is not the most recent.
	LastUpdateStatus AggregatedSourceStatusType

	// The time of the last update.
	LastUpdateTime *time.Time

	// The source account ID or an organization.
	SourceId *string

	// The source account or an organization.
	SourceType AggregatedSourceType
	// contains filtered or unexported fields
}

The current sync status between the source and the aggregator account.

type AggregatedSourceStatusType

type AggregatedSourceStatusType string
const (
	AggregatedSourceStatusTypeFailed    AggregatedSourceStatusType = "FAILED"
	AggregatedSourceStatusTypeSucceeded AggregatedSourceStatusType = "SUCCEEDED"
	AggregatedSourceStatusTypeOutdated  AggregatedSourceStatusType = "OUTDATED"
)

Enum values for AggregatedSourceStatusType

func (AggregatedSourceStatusType) Values added in v0.29.0

Values returns all known values for AggregatedSourceStatusType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AggregatedSourceType

type AggregatedSourceType string
const (
	AggregatedSourceTypeAccount      AggregatedSourceType = "ACCOUNT"
	AggregatedSourceTypeOrganization AggregatedSourceType = "ORGANIZATION"
)

Enum values for AggregatedSourceType

func (AggregatedSourceType) Values added in v0.29.0

Values returns all known values for AggregatedSourceType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type AggregationAuthorization

type AggregationAuthorization struct {

	// The Amazon Resource Name (ARN) of the aggregation object.
	AggregationAuthorizationArn *string

	// The 12-digit account ID of the account authorized to aggregate data.
	AuthorizedAccountId *string

	// The region authorized to collect aggregated data.
	AuthorizedAwsRegion *string

	// The time stamp when the aggregation authorization was created.
	CreationTime *time.Time
	// contains filtered or unexported fields
}

An object that represents the authorizations granted to aggregator accounts and regions.

type BaseConfigurationItem

type BaseConfigurationItem struct {

	// The 12-digit Amazon Web Services account ID associated with the resource.
	AccountId *string

	// The Amazon Resource Name (ARN) of the resource.
	Arn *string

	// The Availability Zone associated with the resource.
	AvailabilityZone *string

	// The region where the resource resides.
	AwsRegion *string

	// The description of the resource configuration.
	Configuration *string

	// The time when the recording of configuration changes was initiated for the
	// resource.
	ConfigurationItemCaptureTime *time.Time

	// The time when configuration changes for the resource were delivered.
	ConfigurationItemDeliveryTime *time.Time

	// The configuration item status. Valid values include:
	//   - OK – The resource configuration has been updated.
	//   - ResourceDiscovered – The resource was newly discovered.
	//   - ResourceNotRecorded – The resource was discovered, but its configuration
	//   was not recorded since the recorder doesn't record resources of this type.
	//   - ResourceDeleted – The resource was deleted
	//   - ResourceDeletedNotRecorded – The resource was deleted, but its
	//   configuration was not recorded since the recorder doesn't record resources of
	//   this type.
	ConfigurationItemStatus ConfigurationItemStatus

	// An identifier that indicates the ordering of the configuration items of a
	// resource.
	ConfigurationStateId *string

	// The recording frequency that Config uses to record configuration changes for
	// the resource.
	RecordingFrequency RecordingFrequency

	// The time stamp when the resource was created.
	ResourceCreationTime *time.Time

	// The ID of the resource (for example., sg-xxxxxx).
	ResourceId *string

	// The custom name of the resource, if available.
	ResourceName *string

	// The type of Amazon Web Services resource.
	ResourceType ResourceType

	// Configuration attributes that Config returns for certain resource types to
	// supplement the information returned for the configuration parameter.
	SupplementaryConfiguration map[string]string

	// The version number of the resource configuration.
	Version *string
	// contains filtered or unexported fields
}

The detailed configurations of a specified resource.

type ChronologicalOrder

type ChronologicalOrder string
const (
	ChronologicalOrderReverse ChronologicalOrder = "Reverse"
	ChronologicalOrderForward ChronologicalOrder = "Forward"
)

Enum values for ChronologicalOrder

func (ChronologicalOrder) Values added in v0.29.0

Values returns all known values for ChronologicalOrder. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Compliance

type Compliance struct {

	// The number of Amazon Web Services resources or Config rules that cause a result
	// of NON_COMPLIANT , up to a maximum number.
	ComplianceContributorCount *ComplianceContributorCount

	// Indicates whether an Amazon Web Services resource or Config rule is compliant.
	// A resource is compliant if it complies with all of the Config rules that
	// evaluate it. A resource is noncompliant if it does not comply with one or more
	// of these rules. A rule is compliant if all of the resources that the rule
	// evaluates comply with it. A rule is noncompliant if any of these resources do
	// not comply. Config returns the INSUFFICIENT_DATA value when no evaluation
	// results are available for the Amazon Web Services resource or Config rule. For
	// the Compliance data type, Config supports only COMPLIANT , NON_COMPLIANT , and
	// INSUFFICIENT_DATA values. Config does not support the NOT_APPLICABLE value for
	// the Compliance data type.
	ComplianceType ComplianceType
	// contains filtered or unexported fields
}

Indicates whether an Amazon Web Services resource or Config rule is compliant and provides the number of contributors that affect the compliance.

type ComplianceByConfigRule

type ComplianceByConfigRule struct {

	// Indicates whether the Config rule is compliant.
	Compliance *Compliance

	// The name of the Config rule.
	ConfigRuleName *string
	// contains filtered or unexported fields
}

Indicates whether an Config rule is compliant. A rule is compliant if all of the resources that the rule evaluated comply with it. A rule is noncompliant if any of these resources do not comply.

type ComplianceByResource

type ComplianceByResource struct {

	// Indicates whether the Amazon Web Services resource complies with all of the
	// Config rules that evaluated it.
	Compliance *Compliance

	// The ID of the Amazon Web Services resource that was evaluated.
	ResourceId *string

	// The type of the Amazon Web Services resource that was evaluated.
	ResourceType *string
	// contains filtered or unexported fields
}

Indicates whether an Amazon Web Services resource that is evaluated according to one or more Config rules is compliant. A resource is compliant if it complies with all of the rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.

type ComplianceContributorCount

type ComplianceContributorCount struct {

	// Indicates whether the maximum count is reached.
	CapExceeded bool

	// The number of Amazon Web Services resources or Config rules responsible for the
	// current compliance of the item.
	CappedCount int32
	// contains filtered or unexported fields
}

The number of Amazon Web Services resources or Config rules responsible for the current compliance of the item, up to a maximum number.

type ComplianceSummary

type ComplianceSummary struct {

	// The time that Config created the compliance summary.
	ComplianceSummaryTimestamp *time.Time

	// The number of Config rules or Amazon Web Services resources that are compliant,
	// up to a maximum of 25 for rules and 100 for resources.
	CompliantResourceCount *ComplianceContributorCount

	// The number of Config rules or Amazon Web Services resources that are
	// noncompliant, up to a maximum of 25 for rules and 100 for resources.
	NonCompliantResourceCount *ComplianceContributorCount
	// contains filtered or unexported fields
}

The number of Config rules or Amazon Web Services resources that are compliant and noncompliant.

type ComplianceSummaryByResourceType

type ComplianceSummaryByResourceType struct {

	// The number of Amazon Web Services resources that are compliant or noncompliant,
	// up to a maximum of 100 for each.
	ComplianceSummary *ComplianceSummary

	// The type of Amazon Web Services resource.
	ResourceType *string
	// contains filtered or unexported fields
}

The number of Amazon Web Services resources of a specific type that are compliant or noncompliant, up to a maximum of 100 for each.

type ComplianceType

type ComplianceType string
const (
	ComplianceTypeCompliant        ComplianceType = "COMPLIANT"
	ComplianceTypeNonCompliant     ComplianceType = "NON_COMPLIANT"
	ComplianceTypeNotApplicable    ComplianceType = "NOT_APPLICABLE"
	ComplianceTypeInsufficientData ComplianceType = "INSUFFICIENT_DATA"
)

Enum values for ComplianceType

func (ComplianceType) Values added in v0.29.0

func (ComplianceType) Values() []ComplianceType

Values returns all known values for ComplianceType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ConfigExportDeliveryInfo

type ConfigExportDeliveryInfo struct {

	// The time of the last attempted delivery.
	LastAttemptTime *time.Time

	// The error code from the last attempted delivery.
	LastErrorCode *string

	// The error message from the last attempted delivery.
	LastErrorMessage *string

	// Status of the last attempted delivery.
	LastStatus DeliveryStatus

	// The time of the last successful delivery.
	LastSuccessfulTime *time.Time

	// The time that the next delivery occurs.
	NextDeliveryTime *time.Time
	// contains filtered or unexported fields
}

Provides status of the delivery of the snapshot or the configuration history to the specified Amazon S3 bucket. Also provides the status of notifications about the Amazon S3 delivery to the specified Amazon SNS topic.

type ConfigRule

type ConfigRule struct {

	// Provides the rule owner ( Amazon Web Services for managed rules, CUSTOM_POLICY
	// for Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule
	// identifier, and the notifications that cause the function to evaluate your
	// Amazon Web Services resources.
	//
	// This member is required.
	Source *Source

	// The Amazon Resource Name (ARN) of the Config rule.
	ConfigRuleArn *string

	// The ID of the Config rule.
	ConfigRuleId *string

	// The name that you assign to the Config rule. The name is required if you are
	// adding a new rule.
	ConfigRuleName *string

	// Indicates whether the Config rule is active or is currently being deleted by
	// Config. It can also indicate the evaluation status for the Config rule. Config
	// sets the state of the rule to EVALUATING temporarily after you use the
	// StartConfigRulesEvaluation request to evaluate your resources against the Config
	// rule. Config sets the state of the rule to DELETING_RESULTS temporarily after
	// you use the DeleteEvaluationResults request to delete the current evaluation
	// results for the Config rule. Config temporarily sets the state of a rule to
	// DELETING after you use the DeleteConfigRule request to delete the rule. After
	// Config deletes the rule, the rule and all of its evaluations are erased and are
	// no longer available.
	ConfigRuleState ConfigRuleState

	// Service principal name of the service that created the rule. The field is
	// populated only if the service-linked rule is created by a service. The field is
	// empty if you create your own rule.
	CreatedBy *string

	// The description that you provide for the Config rule.
	Description *string

	// The modes the Config rule can be evaluated in. The valid values are distinct
	// objects. By default, the value is Detective evaluation mode only.
	EvaluationModes []EvaluationModeConfiguration

	// A string, in JSON format, that is passed to the Config rule Lambda function.
	InputParameters *string

	// The maximum frequency with which Config runs evaluations for a rule. You can
	// specify a value for MaximumExecutionFrequency when:
	//   - This is for an Config managed rule that is triggered at a periodic
	//   frequency.
	//   - Your custom rule is triggered when Config delivers the configuration
	//   snapshot. For more information, see ConfigSnapshotDeliveryProperties .
	// By default, rules with a periodic trigger are evaluated every 24 hours. To
	// change the frequency, specify a valid value for the MaximumExecutionFrequency
	// parameter.
	MaximumExecutionFrequency MaximumExecutionFrequency

	// Defines which resources can trigger an evaluation for the rule. The scope can
	// include one or more resource types, a combination of one resource type and one
	// resource ID, or a combination of a tag key and value. Specify a scope to
	// constrain the resources that can trigger an evaluation for the rule. If you do
	// not specify a scope, evaluations are triggered when any resource in the
	// recording group changes. The scope can be empty.
	Scope *Scope
	// contains filtered or unexported fields
}

Config rules evaluate the configuration settings of your Amazon Web Services resources. A rule can run when Config detects a configuration change to an Amazon Web Services resource or at a periodic frequency that you choose (for example, every 24 hours). There are two types of rules: Config Managed Rules and Config Custom Rules. Config Managed Rules are predefined, customizable rules created by Config. For a list of managed rules, see List of Config Managed Rules (https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html) . Config Custom Rules are rules that you create from scratch. There are two ways to create Config custom rules: with Lambda functions ( Lambda Developer Guide (https://docs.aws.amazon.com/config/latest/developerguide/gettingstarted-concepts.html#gettingstarted-concepts-function) ) and with Guard ( Guard GitHub Repository (https://github.com/aws-cloudformation/cloudformation-guard) ), a policy-as-code language. Config custom rules created with Lambda are called Config Custom Lambda Rules and Config custom rules created with Guard are called Config Custom Policy Rules. For more information about developing and using Config rules, see Evaluating Resource with Config Rules (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the Config Developer Guide. You can use the Amazon Web Services CLI and Amazon Web Services SDKs if you want to create a rule that triggers evaluations for your resources when Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties .

type ConfigRuleComplianceFilters

type ConfigRuleComplianceFilters struct {

	// The 12-digit account ID of the source account.
	AccountId *string

	// The source region where the data is aggregated.
	AwsRegion *string

	// The rule compliance status. For the ConfigRuleComplianceFilters data type,
	// Config supports only COMPLIANT and NON_COMPLIANT . Config does not support the
	// NOT_APPLICABLE and the INSUFFICIENT_DATA values.
	ComplianceType ComplianceType

	// The name of the Config rule.
	ConfigRuleName *string
	// contains filtered or unexported fields
}

Filters the compliance results based on account ID, region, compliance type, and rule name.

type ConfigRuleComplianceSummaryFilters

type ConfigRuleComplianceSummaryFilters struct {

	// The 12-digit account ID of the source account.
	AccountId *string

	// The source region where the data is aggregated.
	AwsRegion *string
	// contains filtered or unexported fields
}

Filters the results based on the account IDs and regions.

type ConfigRuleComplianceSummaryGroupKey

type ConfigRuleComplianceSummaryGroupKey string
const (
	ConfigRuleComplianceSummaryGroupKeyAccountId ConfigRuleComplianceSummaryGroupKey = "ACCOUNT_ID"
	ConfigRuleComplianceSummaryGroupKeyAwsRegion ConfigRuleComplianceSummaryGroupKey = "AWS_REGION"
)

Enum values for ConfigRuleComplianceSummaryGroupKey

func (ConfigRuleComplianceSummaryGroupKey) Values added in v0.29.0

Values returns all known values for ConfigRuleComplianceSummaryGroupKey. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ConfigRuleEvaluationStatus

type ConfigRuleEvaluationStatus struct {

	// The Amazon Resource Name (ARN) of the Config rule.
	ConfigRuleArn *string

	// The ID of the Config rule.
	ConfigRuleId *string

	// The name of the Config rule.
	ConfigRuleName *string

	// The time that you first activated the Config rule.
	FirstActivatedTime *time.Time

	// Indicates whether Config has evaluated your resources against the rule at least
	// once.
	//   - true - Config has evaluated your Amazon Web Services resources against the
	//   rule at least once.
	//   - false - Config has not finished evaluating your Amazon Web Services
	//   resources against the rule at least once.
	FirstEvaluationStarted bool

	// The time that you last turned off the Config rule.
	LastDeactivatedTime *time.Time

	// The status of the last attempted delivery of a debug log for your Config Custom
	// Policy rules. Either Successful or Failed .
	LastDebugLogDeliveryStatus *string

	// The reason Config was not able to deliver a debug log. This is for the last
	// failed attempt to retrieve a debug log for your Config Custom Policy rules.
	LastDebugLogDeliveryStatusReason *string

	// The time Config last attempted to deliver a debug log for your Config Custom
	// Policy rules.
	LastDebugLogDeliveryTime *time.Time

	// The error code that Config returned when the rule last failed.
	LastErrorCode *string

	// The error message that Config returned when the rule last failed.
	LastErrorMessage *string

	// The time that Config last failed to evaluate your Amazon Web Services resources
	// against the rule.
	LastFailedEvaluationTime *time.Time

	// The time that Config last failed to invoke the Config rule to evaluate your
	// Amazon Web Services resources.
	LastFailedInvocationTime *time.Time

	// The time that Config last successfully evaluated your Amazon Web Services
	// resources against the rule.
	LastSuccessfulEvaluationTime *time.Time

	// The time that Config last successfully invoked the Config rule to evaluate your
	// Amazon Web Services resources.
	LastSuccessfulInvocationTime *time.Time
	// contains filtered or unexported fields
}

Status information for your Config Managed rules and Config Custom Policy rules. The status includes information such as the last time the rule ran, the last time it failed, and the related error for the last failure. This action does not return status information about Config Custom Lambda rules.

type ConfigRuleState

type ConfigRuleState string
const (
	ConfigRuleStateActive          ConfigRuleState = "ACTIVE"
	ConfigRuleStateDeleting        ConfigRuleState = "DELETING"
	ConfigRuleStateDeletingResults ConfigRuleState = "DELETING_RESULTS"
	ConfigRuleStateEvaluating      ConfigRuleState = "EVALUATING"
)

Enum values for ConfigRuleState

func (ConfigRuleState) Values added in v0.29.0

func (ConfigRuleState) Values() []ConfigRuleState

Values returns all known values for ConfigRuleState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ConfigSnapshotDeliveryProperties

type ConfigSnapshotDeliveryProperties struct {

	// The frequency with which Config delivers configuration snapshots.
	DeliveryFrequency MaximumExecutionFrequency
	// contains filtered or unexported fields
}

Provides options for how often Config delivers configuration snapshots to the Amazon S3 bucket in your delivery channel. The frequency for a rule that triggers evaluations for your resources when Config delivers the configuration snapshot is set by one of two values, depending on which is less frequent:

  • The value for the deliveryFrequency parameter within the delivery channel configuration, which sets how often Config delivers configuration snapshots. This value also sets how often Config invokes evaluations for Config rules.
  • The value for the MaximumExecutionFrequency parameter, which sets the maximum frequency with which Config invokes evaluations for the rule. For more information, see ConfigRule .

If the deliveryFrequency value is less frequent than the MaximumExecutionFrequency value for a rule, Config invokes the rule only as often as the deliveryFrequency value.

  • For example, you want your rule to run evaluations when Config delivers the configuration snapshot.
  • You specify the MaximumExecutionFrequency value for Six_Hours .
  • You then specify the delivery channel deliveryFrequency value for TwentyFour_Hours .
  • Because the value for deliveryFrequency is less frequent than MaximumExecutionFrequency , Config invokes evaluations for the rule every 24 hours.

You should set the MaximumExecutionFrequency value to be at least as frequent as the deliveryFrequency value. You can view the deliveryFrequency value by using the DescribeDeliveryChannnels action. To update the deliveryFrequency with which Config delivers your configuration snapshots, use the PutDeliveryChannel action.

type ConfigStreamDeliveryInfo

type ConfigStreamDeliveryInfo struct {

	// The error code from the last attempted delivery.
	LastErrorCode *string

	// The error message from the last attempted delivery.
	LastErrorMessage *string

	// Status of the last attempted delivery. Note Providing an SNS topic on a
	// DeliveryChannel (https://docs.aws.amazon.com/config/latest/APIReference/API_DeliveryChannel.html)
	// for Config is optional. If the SNS delivery is turned off, the last status will
	// be Not_Applicable.
	LastStatus DeliveryStatus

	// The time from the last status change.
	LastStatusChangeTime *time.Time
	// contains filtered or unexported fields
}

A list that contains the status of the delivery of the configuration stream notification to the Amazon SNS topic.

type ConfigurationAggregator

type ConfigurationAggregator struct {

	// Provides a list of source accounts and regions to be aggregated.
	AccountAggregationSources []AccountAggregationSource

	// The Amazon Resource Name (ARN) of the aggregator.
	ConfigurationAggregatorArn *string

	// The name of the aggregator.
	ConfigurationAggregatorName *string

	// Amazon Web Services service that created the configuration aggregator.
	CreatedBy *string

	// The time stamp when the configuration aggregator was created.
	CreationTime *time.Time

	// The time of the last update.
	LastUpdatedTime *time.Time

	// Provides an organization and list of regions to be aggregated.
	OrganizationAggregationSource *OrganizationAggregationSource
	// contains filtered or unexported fields
}

The details about the configuration aggregator, including information about source accounts, regions, and metadata of the aggregator.

type ConfigurationItem

type ConfigurationItem struct {

	// The 12-digit Amazon Web Services account ID associated with the resource.
	AccountId *string

	// Amazon Resource Name (ARN) associated with the resource.
	Arn *string

	// The Availability Zone associated with the resource.
	AvailabilityZone *string

	// The region where the resource resides.
	AwsRegion *string

	// The description of the resource configuration.
	Configuration *string

	// The time when the recording of configuration changes was initiated for the
	// resource.
	ConfigurationItemCaptureTime *time.Time

	// The time when configuration changes for the resource were delivered.
	ConfigurationItemDeliveryTime *time.Time

	// Unique MD5 hash that represents the configuration item's state. You can use MD5
	// hash to compare the states of two or more configuration items that are
	// associated with the same resource.
	ConfigurationItemMD5Hash *string

	// The configuration item status. Valid values include:
	//   - OK – The resource configuration has been updated
	//   - ResourceDiscovered – The resource was newly discovered
	//   - ResourceNotRecorded – The resource was discovered but its configuration was
	//   not recorded since the recorder doesn't record resources of this type
	//   - ResourceDeleted – The resource was deleted
	//   - ResourceDeletedNotRecorded – The resource was deleted but its configuration
	//   was not recorded since the recorder doesn't record resources of this type
	ConfigurationItemStatus ConfigurationItemStatus

	// An identifier that indicates the ordering of the configuration items of a
	// resource.
	ConfigurationStateId *string

	// The recording frequency that Config uses to record configuration changes for
	// the resource.
	RecordingFrequency RecordingFrequency

	// A list of CloudTrail event IDs. A populated field indicates that the current
	// configuration was initiated by the events recorded in the CloudTrail log. For
	// more information about CloudTrail, see What Is CloudTrail (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html)
	// . An empty field indicates that the current configuration was not initiated by
	// any event. As of Version 1.3, the relatedEvents field is empty. You can access
	// the LookupEvents API (https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_LookupEvents.html)
	// in the CloudTrail API Reference to retrieve the events for the resource.
	RelatedEvents []string

	// A list of related Amazon Web Services resources.
	Relationships []Relationship

	// The time stamp when the resource was created.
	ResourceCreationTime *time.Time

	// The ID of the resource (for example, sg-xxxxxx ).
	ResourceId *string

	// The custom name of the resource, if available.
	ResourceName *string

	// The type of Amazon Web Services resource.
	ResourceType ResourceType

	// Configuration attributes that Config returns for certain resource types to
	// supplement the information returned for the configuration parameter.
	SupplementaryConfiguration map[string]string

	// A mapping of key value tags associated with the resource.
	Tags map[string]string

	// The version number of the resource configuration.
	Version *string
	// contains filtered or unexported fields
}

A list that contains detailed configurations of a specified resource.

type ConfigurationItemStatus

type ConfigurationItemStatus string
const (
	ConfigurationItemStatusOk                         ConfigurationItemStatus = "OK"
	ConfigurationItemStatusResourceDiscovered         ConfigurationItemStatus = "ResourceDiscovered"
	ConfigurationItemStatusResourceNotRecorded        ConfigurationItemStatus = "ResourceNotRecorded"
	ConfigurationItemStatusResourceDeleted            ConfigurationItemStatus = "ResourceDeleted"
	ConfigurationItemStatusResourceDeletedNotRecorded ConfigurationItemStatus = "ResourceDeletedNotRecorded"
)

Enum values for ConfigurationItemStatus

func (ConfigurationItemStatus) Values added in v0.29.0

Values returns all known values for ConfigurationItemStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ConfigurationRecorder

type ConfigurationRecorder struct {

	// The name of the configuration recorder. Config automatically assigns the name
	// of "default" when creating the configuration recorder. You cannot change the
	// name of the configuration recorder after it has been created. To change the
	// configuration recorder name, you must delete it and create a new configuration
	// recorder with a new name.
	Name *string

	// Specifies which resource types Config records for configuration changes. High
	// Number of Config Evaluations You may notice increased activity in your account
	// during your initial month recording with Config when compared to subsequent
	// months. During the initial bootstrapping process, Config runs evaluations on all
	// the resources in your account that you have selected for Config to record. If
	// you are running ephemeral workloads, you may see increased activity from Config
	// as it records configuration changes associated with creating and deleting these
	// temporary resources. An ephemeral workload is a temporary use of computing
	// resources that are loaded and run when needed. Examples include Amazon Elastic
	// Compute Cloud (Amazon EC2) Spot Instances, Amazon EMR jobs, and Auto Scaling. If
	// you want to avoid the increased activity from running ephemeral workloads, you
	// can run these types of workloads in a separate account with Config turned off to
	// avoid increased configuration recording and rule evaluations.
	RecordingGroup *RecordingGroup

	// Specifies the default recording frequency that Config uses to record
	// configuration changes. Config supports Continuous recording and Daily recording.
	//
	//   - Continuous recording allows you to record configuration changes
	//   continuously whenever a change occurs.
	//   - Daily recording allows you to receive a configuration item (CI)
	//   representing the most recent state of your resources over the last 24-hour
	//   period, only if it’s different from the previous CI recorded.
	// Firewall Manager depends on continuous recording to monitor your resources. If
	// you are using Firewall Manager, it is recommended that you set the recording
	// frequency to Continuous. You can also override the recording frequency for
	// specific resource types.
	RecordingMode *RecordingMode

	// Amazon Resource Name (ARN) of the IAM role assumed by Config and used by the
	// configuration recorder. While the API model does not require this field, the
	// server will reject a request without a defined roleARN for the configuration
	// recorder. Pre-existing Config role If you have used an Amazon Web Services
	// service that uses Config, such as Security Hub or Control Tower, and an Config
	// role has already been created, make sure that the IAM role that you use when
	// setting up Config keeps the same minimum permissions as the already created
	// Config role. You must do this so that the other Amazon Web Services service
	// continues to run as expected. For example, if Control Tower has an IAM role that
	// allows Config to read Amazon Simple Storage Service (Amazon S3) objects, make
	// sure that the same permissions are granted within the IAM role you use when
	// setting up Config. Otherwise, it may interfere with how Control Tower operates.
	// For more information about IAM roles for Config, see Identity and Access
	// Management for Config  (https://docs.aws.amazon.com/config/latest/developerguide/security-iam.html)
	// in the Config Developer Guide.
	RoleARN *string
	// contains filtered or unexported fields
}

Records configuration changes to your specified resource types. For more information about the configuration recorder, see Managing the Configuration Recorder (https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html) in the Config Developer Guide.

type ConfigurationRecorderStatus

type ConfigurationRecorderStatus struct {

	// The latest error code from when the recorder last failed.
	LastErrorCode *string

	// The latest error message from when the recorder last failed.
	LastErrorMessage *string

	// The time the recorder was last started.
	LastStartTime *time.Time

	// The status of the latest recording event processed by the recorder.
	LastStatus RecorderStatus

	// The time of the latest change in status of an recording event processed by the
	// recorder.
	LastStatusChangeTime *time.Time

	// The time the recorder was last stopped.
	LastStopTime *time.Time

	// The name of the configuration recorder.
	Name *string

	// Specifies whether or not the recorder is currently recording.
	Recording bool
	// contains filtered or unexported fields
}

The current status of the configuration recorder. For a detailed status of recording events over time, add your Config events to CloudWatch metrics and use CloudWatch metrics.

type ConformancePackComplianceFilters

type ConformancePackComplianceFilters struct {

	// Filters the results by compliance. The allowed values are COMPLIANT and
	// NON_COMPLIANT . INSUFFICIENT_DATA is not supported.
	ComplianceType ConformancePackComplianceType

	// Filters the results by Config rule names.
	ConfigRuleNames []string
	// contains filtered or unexported fields
}

Filters the conformance pack by compliance types and Config rule names.

type ConformancePackComplianceScore added in v1.23.0

type ConformancePackComplianceScore struct {

	// The name of the conformance pack.
	ConformancePackName *string

	// The time that the conformance pack compliance score was last updated.
	LastUpdatedTime *time.Time

	// Compliance score for the conformance pack. Conformance packs with no evaluation
	// results will have a compliance score of INSUFFICIENT_DATA .
	Score *string
	// contains filtered or unexported fields
}

A compliance score is the percentage of the number of compliant rule-resource combinations in a conformance pack compared to the number of total possible rule-resource combinations in the conformance pack. This metric provides you with a high-level view of the compliance state of your conformance packs. You can use it to identify, investigate, and understand the level of compliance in your conformance packs.

type ConformancePackComplianceScoresFilters added in v1.23.0

type ConformancePackComplianceScoresFilters struct {

	// The names of the conformance packs whose compliance scores you want to include
	// in the conformance pack compliance score result set. You can include up to 25
	// conformance packs in the ConformancePackNames array of strings, each with a
	// character limit of 256 characters for the conformance pack name.
	//
	// This member is required.
	ConformancePackNames []string
	// contains filtered or unexported fields
}

A list of filters to apply to the conformance pack compliance score result set.

type ConformancePackComplianceSummary

type ConformancePackComplianceSummary struct {

	// The status of the conformance pack.
	//
	// This member is required.
	ConformancePackComplianceStatus ConformancePackComplianceType

	// The name of the conformance pack name.
	//
	// This member is required.
	ConformancePackName *string
	// contains filtered or unexported fields
}

Summary includes the name and status of the conformance pack.

type ConformancePackComplianceType

type ConformancePackComplianceType string
const (
	ConformancePackComplianceTypeCompliant        ConformancePackComplianceType = "COMPLIANT"
	ConformancePackComplianceTypeNonCompliant     ConformancePackComplianceType = "NON_COMPLIANT"
	ConformancePackComplianceTypeInsufficientData ConformancePackComplianceType = "INSUFFICIENT_DATA"
)

Enum values for ConformancePackComplianceType

func (ConformancePackComplianceType) Values added in v0.29.0

Values returns all known values for ConformancePackComplianceType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ConformancePackDetail

type ConformancePackDetail struct {

	// Amazon Resource Name (ARN) of the conformance pack.
	//
	// This member is required.
	ConformancePackArn *string

	// ID of the conformance pack.
	//
	// This member is required.
	ConformancePackId *string

	// Name of the conformance pack.
	//
	// This member is required.
	ConformancePackName *string

	// A list of ConformancePackInputParameter objects.
	ConformancePackInputParameters []ConformancePackInputParameter

	// The Amazon Web Services service that created the conformance pack.
	CreatedBy *string

	// The name of the Amazon S3 bucket where Config stores conformance pack
	// templates. This field is optional.
	DeliveryS3Bucket *string

	// The prefix for the Amazon S3 bucket. This field is optional.
	DeliveryS3KeyPrefix *string

	// The last time a conformation pack update was requested.
	LastUpdateRequestedTime *time.Time

	// An object that contains the name or Amazon Resource Name (ARN) of the Amazon
	// Web Services Systems Manager document (SSM document) and the version of the SSM
	// document that is used to create a conformance pack.
	TemplateSSMDocumentDetails *TemplateSSMDocumentDetails
	// contains filtered or unexported fields
}

Returns details of a conformance pack. A conformance pack is a collection of Config rules and remediation actions that can be easily deployed in an account and a region.

type ConformancePackEvaluationFilters

type ConformancePackEvaluationFilters struct {

	// Filters the results by compliance. The allowed values are COMPLIANT and
	// NON_COMPLIANT . INSUFFICIENT_DATA is not supported.
	ComplianceType ConformancePackComplianceType

	// Filters the results by Config rule names.
	ConfigRuleNames []string

	// Filters the results by resource IDs. This is valid only when you provide
	// resource type. If there is no resource type, you will see an error.
	ResourceIds []string

	// Filters the results by the resource type (for example, "AWS::EC2::Instance" ).
	ResourceType *string
	// contains filtered or unexported fields
}

Filters a conformance pack by Config rule names, compliance types, Amazon Web Services resource types, and resource IDs.

type ConformancePackEvaluationResult

type ConformancePackEvaluationResult struct {

	// The compliance type. The allowed values are COMPLIANT and NON_COMPLIANT .
	// INSUFFICIENT_DATA is not supported.
	//
	// This member is required.
	ComplianceType ConformancePackComplianceType

	// The time when Config rule evaluated Amazon Web Services resource.
	//
	// This member is required.
	ConfigRuleInvokedTime *time.Time

	// Uniquely identifies an evaluation result.
	//
	// This member is required.
	EvaluationResultIdentifier *EvaluationResultIdentifier

	// The time when Config recorded the evaluation result.
	//
	// This member is required.
	ResultRecordedTime *time.Time

	// Supplementary information about how the evaluation determined the compliance.
	Annotation *string
	// contains filtered or unexported fields
}

The details of a conformance pack evaluation. Provides Config rule and Amazon Web Services resource type that was evaluated, the compliance of the conformance pack, related time stamps, and supplementary information.

type ConformancePackInputParameter

type ConformancePackInputParameter struct {

	// One part of a key-value pair.
	//
	// This member is required.
	ParameterName *string

	// Another part of the key-value pair.
	//
	// This member is required.
	ParameterValue *string
	// contains filtered or unexported fields
}

Input parameters in the form of key-value pairs for the conformance pack, both of which you define. Keys can have a maximum character length of 255 characters, and values can have a maximum length of 4096 characters.

type ConformancePackRuleCompliance

type ConformancePackRuleCompliance struct {

	// Compliance of the Config rule.
	ComplianceType ConformancePackComplianceType

	// Name of the Config rule.
	ConfigRuleName *string

	// Controls for the conformance pack. A control is a process to prevent or detect
	// problems while meeting objectives. A control can align with a specific
	// compliance regime or map to internal controls defined by an organization.
	Controls []string
	// contains filtered or unexported fields
}

Compliance information of one or more Config rules within a conformance pack. You can filter using Config rule names and compliance types.

type ConformancePackState

type ConformancePackState string
const (
	ConformancePackStateCreateInProgress ConformancePackState = "CREATE_IN_PROGRESS"
	ConformancePackStateCreateComplete   ConformancePackState = "CREATE_COMPLETE"
	ConformancePackStateCreateFailed     ConformancePackState = "CREATE_FAILED"
	ConformancePackStateDeleteInProgress ConformancePackState = "DELETE_IN_PROGRESS"
	ConformancePackStateDeleteFailed     ConformancePackState = "DELETE_FAILED"
)

Enum values for ConformancePackState

func (ConformancePackState) Values added in v0.29.0

Values returns all known values for ConformancePackState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ConformancePackStatusDetail

type ConformancePackStatusDetail struct {

	// Amazon Resource Name (ARN) of comformance pack.
	//
	// This member is required.
	ConformancePackArn *string

	// ID of the conformance pack.
	//
	// This member is required.
	ConformancePackId *string

	// Name of the conformance pack.
	//
	// This member is required.
	ConformancePackName *string

	// Indicates deployment status of conformance pack. Config sets the state of the
	// conformance pack to:
	//   - CREATE_IN_PROGRESS when a conformance pack creation is in progress for an
	//   account.
	//   - CREATE_COMPLETE when a conformance pack has been successfully created in
	//   your account.
	//   - CREATE_FAILED when a conformance pack creation failed in your account.
	//   - DELETE_IN_PROGRESS when a conformance pack deletion is in progress.
	//   - DELETE_FAILED when a conformance pack deletion failed in your account.
	//
	// This member is required.
	ConformancePackState ConformancePackState

	// Last time when conformation pack creation and update was requested.
	//
	// This member is required.
	LastUpdateRequestedTime *time.Time

	// Amazon Resource Name (ARN) of CloudFormation stack.
	//
	// This member is required.
	StackArn *string

	// The reason of conformance pack creation failure.
	ConformancePackStatusReason *string

	// Last time when conformation pack creation and update was successful.
	LastUpdateCompletedTime *time.Time
	// contains filtered or unexported fields
}

Status details of a conformance pack.

type ConformancePackTemplateValidationException

type ConformancePackTemplateValidationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have specified a template that is not valid or supported.

func (*ConformancePackTemplateValidationException) Error

func (*ConformancePackTemplateValidationException) ErrorCode

func (*ConformancePackTemplateValidationException) ErrorFault

func (*ConformancePackTemplateValidationException) ErrorMessage

type CustomPolicyDetails added in v1.20.0

type CustomPolicyDetails struct {

	// The runtime system for your Config Custom Policy rule. Guard is a
	// policy-as-code language that allows you to write policies that are enforced by
	// Config Custom Policy rules. For more information about Guard, see the Guard
	// GitHub Repository (https://github.com/aws-cloudformation/cloudformation-guard) .
	//
	// This member is required.
	PolicyRuntime *string

	// The policy definition containing the logic for your Config Custom Policy rule.
	//
	// This member is required.
	PolicyText *string

	// The boolean expression for enabling debug logging for your Config Custom Policy
	// rule. The default value is false .
	EnableDebugLogDelivery bool
	// contains filtered or unexported fields
}

Provides the runtime system, policy definition, and whether debug logging enabled. You can specify the following CustomPolicyDetails parameter values only for Config Custom Policy rules.

type DeliveryChannel

type DeliveryChannel struct {

	// The options for how often Config delivers configuration snapshots to the Amazon
	// S3 bucket.
	ConfigSnapshotDeliveryProperties *ConfigSnapshotDeliveryProperties

	// The name of the delivery channel. By default, Config assigns the name "default"
	// when creating the delivery channel. To change the delivery channel name, you
	// must use the DeleteDeliveryChannel action to delete your current delivery
	// channel, and then you must use the PutDeliveryChannel command to create a
	// delivery channel that has the desired name.
	Name *string

	// The name of the Amazon S3 bucket to which Config delivers configuration
	// snapshots and configuration history files. If you specify a bucket that belongs
	// to another Amazon Web Services account, that bucket must have policies that
	// grant access permissions to Config. For more information, see Permissions for
	// the Amazon S3 Bucket (https://docs.aws.amazon.com/config/latest/developerguide/s3-bucket-policy.html)
	// in the Config Developer Guide.
	S3BucketName *string

	// The prefix for the specified Amazon S3 bucket.
	S3KeyPrefix *string

	// The Amazon Resource Name (ARN) of the Key Management Service (KMS ) KMS key
	// (KMS key) used to encrypt objects delivered by Config. Must belong to the same
	// Region as the destination S3 bucket.
	S3KmsKeyArn *string

	// The Amazon Resource Name (ARN) of the Amazon SNS topic to which Config sends
	// notifications about configuration changes. If you choose a topic from another
	// account, the topic must have policies that grant access permissions to Config.
	// For more information, see Permissions for the Amazon SNS Topic (https://docs.aws.amazon.com/config/latest/developerguide/sns-topic-policy.html)
	// in the Config Developer Guide.
	SnsTopicARN *string
	// contains filtered or unexported fields
}

The channel through which Config delivers notifications and updated configuration states.

type DeliveryChannelStatus

type DeliveryChannelStatus struct {

	// A list that contains the status of the delivery of the configuration history to
	// the specified Amazon S3 bucket.
	ConfigHistoryDeliveryInfo *ConfigExportDeliveryInfo

	// A list containing the status of the delivery of the snapshot to the specified
	// Amazon S3 bucket.
	ConfigSnapshotDeliveryInfo *ConfigExportDeliveryInfo

	// A list containing the status of the delivery of the configuration stream
	// notification to the specified Amazon SNS topic.
	ConfigStreamDeliveryInfo *ConfigStreamDeliveryInfo

	// The name of the delivery channel.
	Name *string
	// contains filtered or unexported fields
}

The status of a specified delivery channel. Valid values: Success | Failure

type DeliveryStatus

type DeliveryStatus string
const (
	DeliveryStatusSuccess       DeliveryStatus = "Success"
	DeliveryStatusFailure       DeliveryStatus = "Failure"
	DeliveryStatusNotApplicable DeliveryStatus = "Not_Applicable"
)

Enum values for DeliveryStatus

func (DeliveryStatus) Values added in v0.29.0

func (DeliveryStatus) Values() []DeliveryStatus

Values returns all known values for DeliveryStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type DescribeConfigRulesFilters added in v1.28.0

type DescribeConfigRulesFilters struct {

	// The mode of an evaluation. The valid values are Detective or Proactive.
	EvaluationMode EvaluationMode
	// contains filtered or unexported fields
}

Returns a filtered list of Detective or Proactive Config rules. By default, if the filter is not defined, this API returns an unfiltered list. For more information on Detective or Proactive Config rules, see Evaluation Mode (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config-rules.html) in the Config Developer Guide.

type Evaluation

type Evaluation struct {

	// The ID of the Amazon Web Services resource that was evaluated.
	//
	// This member is required.
	ComplianceResourceId *string

	// The type of Amazon Web Services resource that was evaluated.
	//
	// This member is required.
	ComplianceResourceType *string

	// Indicates whether the Amazon Web Services resource complies with the Config
	// rule that it was evaluated against. For the Evaluation data type, Config
	// supports only the COMPLIANT , NON_COMPLIANT , and NOT_APPLICABLE values. Config
	// does not support the INSUFFICIENT_DATA value for this data type. Similarly,
	// Config does not accept INSUFFICIENT_DATA as the value for ComplianceType from a
	// PutEvaluations request. For example, an Lambda function for a custom Config rule
	// cannot pass an INSUFFICIENT_DATA value to Config.
	//
	// This member is required.
	ComplianceType ComplianceType

	// The time of the event in Config that triggered the evaluation. For event-based
	// evaluations, the time indicates when Config created the configuration item that
	// triggered the evaluation. For periodic evaluations, the time indicates when
	// Config triggered the evaluation at the frequency that you specified (for
	// example, every 24 hours).
	//
	// This member is required.
	OrderingTimestamp *time.Time

	// Supplementary information about how the evaluation determined the compliance.
	Annotation *string
	// contains filtered or unexported fields
}

Identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that it was evaluated against.

type EvaluationContext added in v1.28.0

type EvaluationContext struct {

	// A unique EvaluationContextIdentifier ID for an EvaluationContext.
	EvaluationContextIdentifier *string
	// contains filtered or unexported fields
}

Use EvaluationContext to group independently initiated proactive resource evaluations. For example, CFN Stack. If you want to check just a resource definition, you do not need to provide evaluation context.

type EvaluationMode added in v1.28.0

type EvaluationMode string
const (
	EvaluationModeDetective EvaluationMode = "DETECTIVE"
	EvaluationModeProactive EvaluationMode = "PROACTIVE"
)

Enum values for EvaluationMode

func (EvaluationMode) Values added in v1.28.0

func (EvaluationMode) Values() []EvaluationMode

Values returns all known values for EvaluationMode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type EvaluationModeConfiguration added in v1.28.0

type EvaluationModeConfiguration struct {

	// The mode of an evaluation. The valid values are Detective or Proactive.
	Mode EvaluationMode
	// contains filtered or unexported fields
}

The configuration object for Config rule evaluation mode. The supported valid values are Detective or Proactive.

type EvaluationResult

type EvaluationResult struct {

	// Supplementary information about how the evaluation determined the compliance.
	Annotation *string

	// Indicates whether the Amazon Web Services resource complies with the Config
	// rule that evaluated it. For the EvaluationResult data type, Config supports
	// only the COMPLIANT , NON_COMPLIANT , and NOT_APPLICABLE values. Config does not
	// support the INSUFFICIENT_DATA value for the EvaluationResult data type.
	ComplianceType ComplianceType

	// The time when the Config rule evaluated the Amazon Web Services resource.
	ConfigRuleInvokedTime *time.Time

	// Uniquely identifies the evaluation result.
	EvaluationResultIdentifier *EvaluationResultIdentifier

	// The time when Config recorded the evaluation result.
	ResultRecordedTime *time.Time

	// An encrypted token that associates an evaluation with an Config rule. The token
	// identifies the rule, the Amazon Web Services resource being evaluated, and the
	// event that triggered the evaluation.
	ResultToken *string
	// contains filtered or unexported fields
}

The details of an Config evaluation. Provides the Amazon Web Services resource that was evaluated, the compliance of the resource, related time stamps, and supplementary information.

type EvaluationResultIdentifier

type EvaluationResultIdentifier struct {

	// Identifies an Config rule used to evaluate an Amazon Web Services resource, and
	// provides the type and ID of the evaluated resource.
	EvaluationResultQualifier *EvaluationResultQualifier

	// The time of the event that triggered the evaluation of your Amazon Web Services
	// resources. The time can indicate when Config delivered a configuration item
	// change notification, or it can indicate when Config delivered the configuration
	// snapshot, depending on which event triggered the evaluation.
	OrderingTimestamp *time.Time

	// A Unique ID for an evaluation result.
	ResourceEvaluationId *string
	// contains filtered or unexported fields
}

Uniquely identifies an evaluation result.

type EvaluationResultQualifier

type EvaluationResultQualifier struct {

	// The name of the Config rule that was used in the evaluation.
	ConfigRuleName *string

	// The mode of an evaluation. The valid values are Detective or Proactive.
	EvaluationMode EvaluationMode

	// The ID of the evaluated Amazon Web Services resource.
	ResourceId *string

	// The type of Amazon Web Services resource that was evaluated.
	ResourceType *string
	// contains filtered or unexported fields
}

Identifies an Config rule that evaluated an Amazon Web Services resource, and provides the type and ID of the resource that the rule evaluated.

type EvaluationStatus added in v1.28.0

type EvaluationStatus struct {

	// The status of an execution. The valid values are In_Progress, Succeeded or
	// Failed.
	//
	// This member is required.
	Status ResourceEvaluationStatus

	// An explanation for failed execution status.
	FailureReason *string
	// contains filtered or unexported fields
}

Returns status details of an evaluation.

type EventSource

type EventSource string
const (
	EventSourceAwsConfig EventSource = "aws.config"
)

Enum values for EventSource

func (EventSource) Values added in v0.29.0

func (EventSource) Values() []EventSource

Values returns all known values for EventSource. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ExclusionByResourceTypes added in v1.33.0

type ExclusionByResourceTypes struct {

	// A comma-separated list of resource types to exclude from recording by the
	// configuration recorder.
	ResourceTypes []ResourceType
	// contains filtered or unexported fields
}

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 Config adds support for a new resource type in the Region where you set up the configuration recorder, including global resource types, 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 . 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 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 Config was available before February 2022. You cannot be record the global IAM resouce types in Regions supported by 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)

type ExecutionControls

type ExecutionControls struct {

	// A SsmControls object.
	SsmControls *SsmControls
	// contains filtered or unexported fields
}

The controls that Config uses for executing remediations.

type ExternalEvaluation added in v1.2.0

type ExternalEvaluation struct {

	// The evaluated compliance resource ID. Config accepts only Amazon Web Services
	// account ID.
	//
	// This member is required.
	ComplianceResourceId *string

	// The evaluated compliance resource type. Config accepts AWS::::Account resource
	// type.
	//
	// This member is required.
	ComplianceResourceType *string

	// The compliance of the Amazon Web Services resource. The valid values are
	// COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE .
	//
	// This member is required.
	ComplianceType ComplianceType

	// The time when the compliance was recorded.
	//
	// This member is required.
	OrderingTimestamp *time.Time

	// Supplementary information about the reason of compliance. For example, this
	// task was completed on a specific date.
	Annotation *string
	// contains filtered or unexported fields
}

Identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that it was evaluated against.

type FailedDeleteRemediationExceptionsBatch

type FailedDeleteRemediationExceptionsBatch struct {

	// Returns remediation exception resource key object of the failed items.
	FailedItems []RemediationExceptionResourceKey

	// Returns a failure message for delete remediation exception. For example, Config
	// creates an exception due to an internal error.
	FailureMessage *string
	// contains filtered or unexported fields
}

List of each of the failed delete remediation exceptions with specific reasons.

type FailedRemediationBatch

type FailedRemediationBatch struct {

	// Returns remediation configurations of the failed items.
	FailedItems []RemediationConfiguration

	// Returns a failure message. For example, the resource is already compliant.
	FailureMessage *string
	// contains filtered or unexported fields
}

List of each of the failed remediations with specific reasons.

type FailedRemediationExceptionBatch

type FailedRemediationExceptionBatch struct {

	// Returns remediation exception resource key object of the failed items.
	FailedItems []RemediationException

	// Returns a failure message. For example, the auto-remediation has failed.
	FailureMessage *string
	// contains filtered or unexported fields
}

List of each of the failed remediation exceptions with specific reasons.

type FieldInfo

type FieldInfo struct {

	// Name of the field.
	Name *string
	// contains filtered or unexported fields
}

Details about the fields such as name of the field.

type GroupedResourceCount

type GroupedResourceCount struct {

	// The name of the group that can be region, account ID, or resource type. For
	// example, region1, region2 if the region was chosen as GroupByKey .
	//
	// This member is required.
	GroupName *string

	// The number of resources in the group.
	//
	// This member is required.
	ResourceCount int64
	// contains filtered or unexported fields
}

The count of resources that are grouped by the group name.

type IdempotentParameterMismatch added in v1.28.0

type IdempotentParameterMismatch struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Using the same client token with one or more different parameters. Specify a new client token with the parameter changes and try again.

func (*IdempotentParameterMismatch) Error added in v1.28.0

func (*IdempotentParameterMismatch) ErrorCode added in v1.28.0

func (e *IdempotentParameterMismatch) ErrorCode() string

func (*IdempotentParameterMismatch) ErrorFault added in v1.28.0

func (*IdempotentParameterMismatch) ErrorMessage added in v1.28.0

func (e *IdempotentParameterMismatch) ErrorMessage() string

type InsufficientDeliveryPolicyException

type InsufficientDeliveryPolicyException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Your Amazon S3 bucket policy does not permit Config to write to it.

func (*InsufficientDeliveryPolicyException) Error

func (*InsufficientDeliveryPolicyException) ErrorCode

func (*InsufficientDeliveryPolicyException) ErrorFault

func (*InsufficientDeliveryPolicyException) ErrorMessage

func (e *InsufficientDeliveryPolicyException) ErrorMessage() string

type InsufficientPermissionsException

type InsufficientPermissionsException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Indicates one of the following errors:

  • For PutConfigRule, the rule cannot be created because the IAM role assigned to Config lacks permissions to perform the config:Put* action.
  • For PutConfigRule, the Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.
  • For PutOrganizationConfigRule, organization Config rule cannot be created because you do not have permissions to call IAM GetRole action or create a service-linked role.
  • For PutConformancePack and PutOrganizationConformancePack, a conformance pack cannot be created because you do not have the following permissions:
  • You do not have permission to call IAM GetRole action or create a service-linked role.
  • You do not have permission to read Amazon S3 bucket or call SSM:GetDocument.

func (*InsufficientPermissionsException) Error

func (*InsufficientPermissionsException) ErrorCode

func (*InsufficientPermissionsException) ErrorFault

func (*InsufficientPermissionsException) ErrorMessage

func (e *InsufficientPermissionsException) ErrorMessage() string

type InvalidConfigurationRecorderNameException

type InvalidConfigurationRecorderNameException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have provided a name for the configuration recorder that is not valid.

func (*InvalidConfigurationRecorderNameException) Error

func (*InvalidConfigurationRecorderNameException) ErrorCode

func (*InvalidConfigurationRecorderNameException) ErrorFault

func (*InvalidConfigurationRecorderNameException) ErrorMessage

type InvalidDeliveryChannelNameException

type InvalidDeliveryChannelNameException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified delivery channel name is not valid.

func (*InvalidDeliveryChannelNameException) Error

func (*InvalidDeliveryChannelNameException) ErrorCode

func (*InvalidDeliveryChannelNameException) ErrorFault

func (*InvalidDeliveryChannelNameException) ErrorMessage

func (e *InvalidDeliveryChannelNameException) ErrorMessage() string

type InvalidExpressionException

type InvalidExpressionException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The syntax of the query is incorrect.

func (*InvalidExpressionException) Error

func (*InvalidExpressionException) ErrorCode

func (e *InvalidExpressionException) ErrorCode() string

func (*InvalidExpressionException) ErrorFault

func (*InvalidExpressionException) ErrorMessage

func (e *InvalidExpressionException) ErrorMessage() string

type InvalidLimitException

type InvalidLimitException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified limit is outside the allowable range.

func (*InvalidLimitException) Error

func (e *InvalidLimitException) Error() string

func (*InvalidLimitException) ErrorCode

func (e *InvalidLimitException) ErrorCode() string

func (*InvalidLimitException) ErrorFault

func (e *InvalidLimitException) ErrorFault() smithy.ErrorFault

func (*InvalidLimitException) ErrorMessage

func (e *InvalidLimitException) ErrorMessage() string

type InvalidNextTokenException

type InvalidNextTokenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified next token is not valid. Specify the nextToken string that was returned in the previous response to get the next page of results.

func (*InvalidNextTokenException) Error

func (e *InvalidNextTokenException) Error() string

func (*InvalidNextTokenException) ErrorCode

func (e *InvalidNextTokenException) ErrorCode() string

func (*InvalidNextTokenException) ErrorFault

func (*InvalidNextTokenException) ErrorMessage

func (e *InvalidNextTokenException) ErrorMessage() string

type InvalidParameterValueException

type InvalidParameterValueException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

One or more of the specified parameters are not valid. Verify that your parameters are valid and try again.

func (*InvalidParameterValueException) Error

func (*InvalidParameterValueException) ErrorCode

func (e *InvalidParameterValueException) ErrorCode() string

func (*InvalidParameterValueException) ErrorFault

func (*InvalidParameterValueException) ErrorMessage

func (e *InvalidParameterValueException) ErrorMessage() string

type InvalidRecordingGroupException

type InvalidRecordingGroupException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Indicates one of the following errors:

func (*InvalidRecordingGroupException) Error

func (*InvalidRecordingGroupException) ErrorCode

func (e *InvalidRecordingGroupException) ErrorCode() string

func (*InvalidRecordingGroupException) ErrorFault

func (*InvalidRecordingGroupException) ErrorMessage

func (e *InvalidRecordingGroupException) ErrorMessage() string

type InvalidResultTokenException

type InvalidResultTokenException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified ResultToken is not valid.

func (*InvalidResultTokenException) Error

func (*InvalidResultTokenException) ErrorCode

func (e *InvalidResultTokenException) ErrorCode() string

func (*InvalidResultTokenException) ErrorFault

func (*InvalidResultTokenException) ErrorMessage

func (e *InvalidResultTokenException) ErrorMessage() string

type InvalidRoleException

type InvalidRoleException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have provided a null or empty Amazon Resource Name (ARN) for the IAM role assumed by Config and used by the configuration recorder.

func (*InvalidRoleException) Error

func (e *InvalidRoleException) Error() string

func (*InvalidRoleException) ErrorCode

func (e *InvalidRoleException) ErrorCode() string

func (*InvalidRoleException) ErrorFault

func (e *InvalidRoleException) ErrorFault() smithy.ErrorFault

func (*InvalidRoleException) ErrorMessage

func (e *InvalidRoleException) ErrorMessage() string

type InvalidS3KeyPrefixException

type InvalidS3KeyPrefixException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified Amazon S3 key prefix is not valid.

func (*InvalidS3KeyPrefixException) Error

func (*InvalidS3KeyPrefixException) ErrorCode

func (e *InvalidS3KeyPrefixException) ErrorCode() string

func (*InvalidS3KeyPrefixException) ErrorFault

func (*InvalidS3KeyPrefixException) ErrorMessage

func (e *InvalidS3KeyPrefixException) ErrorMessage() string

type InvalidS3KmsKeyArnException added in v1.2.0

type InvalidS3KmsKeyArnException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified Amazon KMS Key ARN is not valid.

func (*InvalidS3KmsKeyArnException) Error added in v1.2.0

func (*InvalidS3KmsKeyArnException) ErrorCode added in v1.2.0

func (e *InvalidS3KmsKeyArnException) ErrorCode() string

func (*InvalidS3KmsKeyArnException) ErrorFault added in v1.2.0

func (*InvalidS3KmsKeyArnException) ErrorMessage added in v1.2.0

func (e *InvalidS3KmsKeyArnException) ErrorMessage() string

type InvalidSNSTopicARNException

type InvalidSNSTopicARNException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified Amazon SNS topic does not exist.

func (*InvalidSNSTopicARNException) Error

func (*InvalidSNSTopicARNException) ErrorCode

func (e *InvalidSNSTopicARNException) ErrorCode() string

func (*InvalidSNSTopicARNException) ErrorFault

func (*InvalidSNSTopicARNException) ErrorMessage

func (e *InvalidSNSTopicARNException) ErrorMessage() string

type InvalidTimeRangeException

type InvalidTimeRangeException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified time range is not valid. The earlier time is not chronologically before the later time.

func (*InvalidTimeRangeException) Error

func (e *InvalidTimeRangeException) Error() string

func (*InvalidTimeRangeException) ErrorCode

func (e *InvalidTimeRangeException) ErrorCode() string

func (*InvalidTimeRangeException) ErrorFault

func (*InvalidTimeRangeException) ErrorMessage

func (e *InvalidTimeRangeException) ErrorMessage() string

type LastDeliveryChannelDeleteFailedException

type LastDeliveryChannelDeleteFailedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You cannot delete the delivery channel you specified because the configuration recorder is running.

func (*LastDeliveryChannelDeleteFailedException) Error

func (*LastDeliveryChannelDeleteFailedException) ErrorCode

func (*LastDeliveryChannelDeleteFailedException) ErrorFault

func (*LastDeliveryChannelDeleteFailedException) ErrorMessage

type LimitExceededException

type LimitExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

For StartConfigRulesEvaluation API, this exception is thrown if an evaluation is in progress or if you call the StartConfigRulesEvaluation API more than once per minute. For PutConfigurationAggregator API, this exception is thrown if the number of accounts and aggregators exceeds the limit.

func (*LimitExceededException) Error

func (e *LimitExceededException) Error() string

func (*LimitExceededException) ErrorCode

func (e *LimitExceededException) ErrorCode() string

func (*LimitExceededException) ErrorFault

func (e *LimitExceededException) ErrorFault() smithy.ErrorFault

func (*LimitExceededException) ErrorMessage

func (e *LimitExceededException) ErrorMessage() string

type MaxActiveResourcesExceededException

type MaxActiveResourcesExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have reached the limit of active custom resource types in your account. There is a limit of 100,000. Delete unused resources using DeleteResourceConfig (https://docs.aws.amazon.com/config/latest/APIReference/API_DeleteResourceConfig.html) .

func (*MaxActiveResourcesExceededException) Error

func (*MaxActiveResourcesExceededException) ErrorCode

func (*MaxActiveResourcesExceededException) ErrorFault

func (*MaxActiveResourcesExceededException) ErrorMessage

func (e *MaxActiveResourcesExceededException) ErrorMessage() string

type MaxNumberOfConfigRulesExceededException

type MaxNumberOfConfigRulesExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Failed to add the Config rule because the account already contains the maximum number of 150 rules. Consider deleting any deactivated rules before you add new rules.

func (*MaxNumberOfConfigRulesExceededException) Error

func (*MaxNumberOfConfigRulesExceededException) ErrorCode

func (*MaxNumberOfConfigRulesExceededException) ErrorFault

func (*MaxNumberOfConfigRulesExceededException) ErrorMessage

type MaxNumberOfConfigurationRecordersExceededException

type MaxNumberOfConfigurationRecordersExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have reached the limit of the number of configuration recorders you can create.

func (*MaxNumberOfConfigurationRecordersExceededException) Error

func (*MaxNumberOfConfigurationRecordersExceededException) ErrorCode

func (*MaxNumberOfConfigurationRecordersExceededException) ErrorFault

func (*MaxNumberOfConfigurationRecordersExceededException) ErrorMessage

type MaxNumberOfConformancePacksExceededException

type MaxNumberOfConformancePacksExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have reached the limit of the number of conformance packs you can create in an account. For more information, see Service Limits (https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the Config Developer Guide.

func (*MaxNumberOfConformancePacksExceededException) Error

func (*MaxNumberOfConformancePacksExceededException) ErrorCode

func (*MaxNumberOfConformancePacksExceededException) ErrorFault

func (*MaxNumberOfConformancePacksExceededException) ErrorMessage

type MaxNumberOfDeliveryChannelsExceededException

type MaxNumberOfDeliveryChannelsExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have reached the limit of the number of delivery channels you can create.

func (*MaxNumberOfDeliveryChannelsExceededException) Error

func (*MaxNumberOfDeliveryChannelsExceededException) ErrorCode

func (*MaxNumberOfDeliveryChannelsExceededException) ErrorFault

func (*MaxNumberOfDeliveryChannelsExceededException) ErrorMessage

type MaxNumberOfOrganizationConfigRulesExceededException

type MaxNumberOfOrganizationConfigRulesExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have reached the limit of the number of organization Config rules you can create. For more information, see see Service Limits (https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the Config Developer Guide.

func (*MaxNumberOfOrganizationConfigRulesExceededException) Error

func (*MaxNumberOfOrganizationConfigRulesExceededException) ErrorCode

func (*MaxNumberOfOrganizationConfigRulesExceededException) ErrorFault

func (*MaxNumberOfOrganizationConfigRulesExceededException) ErrorMessage

type MaxNumberOfOrganizationConformancePacksExceededException

type MaxNumberOfOrganizationConformancePacksExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have reached the limit of the number of organization conformance packs you can create in an account. For more information, see Service Limits (https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the Config Developer Guide.

func (*MaxNumberOfOrganizationConformancePacksExceededException) Error

func (*MaxNumberOfOrganizationConformancePacksExceededException) ErrorCode

func (*MaxNumberOfOrganizationConformancePacksExceededException) ErrorFault

func (*MaxNumberOfOrganizationConformancePacksExceededException) ErrorMessage

type MaxNumberOfRetentionConfigurationsExceededException

type MaxNumberOfRetentionConfigurationsExceededException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Failed to add the retention configuration because a retention configuration with that name already exists.

func (*MaxNumberOfRetentionConfigurationsExceededException) Error

func (*MaxNumberOfRetentionConfigurationsExceededException) ErrorCode

func (*MaxNumberOfRetentionConfigurationsExceededException) ErrorFault

func (*MaxNumberOfRetentionConfigurationsExceededException) ErrorMessage

type MaximumExecutionFrequency

type MaximumExecutionFrequency string
const (
	MaximumExecutionFrequencyOneHour         MaximumExecutionFrequency = "One_Hour"
	MaximumExecutionFrequencyThreeHours      MaximumExecutionFrequency = "Three_Hours"
	MaximumExecutionFrequencySixHours        MaximumExecutionFrequency = "Six_Hours"
	MaximumExecutionFrequencyTwelveHours     MaximumExecutionFrequency = "Twelve_Hours"
	MaximumExecutionFrequencyTwentyFourHours MaximumExecutionFrequency = "TwentyFour_Hours"
)

Enum values for MaximumExecutionFrequency

func (MaximumExecutionFrequency) Values added in v0.29.0

Values returns all known values for MaximumExecutionFrequency. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type MemberAccountRuleStatus

type MemberAccountRuleStatus string
const (
	MemberAccountRuleStatusCreateSuccessful MemberAccountRuleStatus = "CREATE_SUCCESSFUL"
	MemberAccountRuleStatusCreateInProgress MemberAccountRuleStatus = "CREATE_IN_PROGRESS"
	MemberAccountRuleStatusCreateFailed     MemberAccountRuleStatus = "CREATE_FAILED"
	MemberAccountRuleStatusDeleteSuccessful MemberAccountRuleStatus = "DELETE_SUCCESSFUL"
	MemberAccountRuleStatusDeleteFailed     MemberAccountRuleStatus = "DELETE_FAILED"
	MemberAccountRuleStatusDeleteInProgress MemberAccountRuleStatus = "DELETE_IN_PROGRESS"
	MemberAccountRuleStatusUpdateSuccessful MemberAccountRuleStatus = "UPDATE_SUCCESSFUL"
	MemberAccountRuleStatusUpdateInProgress MemberAccountRuleStatus = "UPDATE_IN_PROGRESS"
	MemberAccountRuleStatusUpdateFailed     MemberAccountRuleStatus = "UPDATE_FAILED"
)

Enum values for MemberAccountRuleStatus

func (MemberAccountRuleStatus) Values added in v0.29.0

Values returns all known values for MemberAccountRuleStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type MemberAccountStatus

type MemberAccountStatus struct {

	// The 12-digit account ID of a member account.
	//
	// This member is required.
	AccountId *string

	// The name of Config rule deployed in the member account.
	//
	// This member is required.
	ConfigRuleName *string

	// Indicates deployment status for Config rule in the member account. When
	// management account calls PutOrganizationConfigRule action for the first time,
	// Config rule status is created in the member account. When management account
	// calls PutOrganizationConfigRule action for the second time, Config rule status
	// is updated in the member account. Config rule status is deleted when the
	// management account deletes OrganizationConfigRule and disables service access
	// for config-multiaccountsetup.amazonaws.com . Config sets the state of the rule
	// to:
	//   - CREATE_SUCCESSFUL when Config rule has been created in the member account.
	//   - CREATE_IN_PROGRESS when Config rule is being created in the member account.
	//   - CREATE_FAILED when Config rule creation has failed in the member account.
	//   - DELETE_FAILED when Config rule deletion has failed in the member account.
	//   - DELETE_IN_PROGRESS when Config rule is being deleted in the member account.
	//   - DELETE_SUCCESSFUL when Config rule has been deleted in the member account.
	//   - UPDATE_SUCCESSFUL when Config rule has been updated in the member account.
	//   - UPDATE_IN_PROGRESS when Config rule is being updated in the member account.
	//   - UPDATE_FAILED when Config rule deletion has failed in the member account.
	//
	// This member is required.
	MemberAccountRuleStatus MemberAccountRuleStatus

	// An error code that is returned when Config rule creation or deletion failed in
	// the member account.
	ErrorCode *string

	// An error message indicating that Config rule account creation or deletion has
	// failed due to an error in the member account.
	ErrorMessage *string

	// The timestamp of the last status update.
	LastUpdateTime *time.Time
	// contains filtered or unexported fields
}

Organization Config rule creation or deletion status in each member account. This includes the name of the rule, the status, error code and error message when the rule creation or deletion failed.

type MessageType

type MessageType string
const (
	MessageTypeConfigurationItemChangeNotification          MessageType = "ConfigurationItemChangeNotification"
	MessageTypeConfigurationSnapshotDeliveryCompleted       MessageType = "ConfigurationSnapshotDeliveryCompleted"
	MessageTypeScheduledNotification                        MessageType = "ScheduledNotification"
	MessageTypeOversizedConfigurationItemChangeNotification MessageType = "OversizedConfigurationItemChangeNotification"
)

Enum values for MessageType

func (MessageType) Values added in v0.29.0

func (MessageType) Values() []MessageType

Values returns all known values for MessageType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type NoAvailableConfigurationRecorderException

type NoAvailableConfigurationRecorderException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.

func (*NoAvailableConfigurationRecorderException) Error

func (*NoAvailableConfigurationRecorderException) ErrorCode

func (*NoAvailableConfigurationRecorderException) ErrorFault

func (*NoAvailableConfigurationRecorderException) ErrorMessage

type NoAvailableDeliveryChannelException

type NoAvailableDeliveryChannelException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

There is no delivery channel available to record configurations.

func (*NoAvailableDeliveryChannelException) Error

func (*NoAvailableDeliveryChannelException) ErrorCode

func (*NoAvailableDeliveryChannelException) ErrorFault

func (*NoAvailableDeliveryChannelException) ErrorMessage

func (e *NoAvailableDeliveryChannelException) ErrorMessage() string

type NoAvailableOrganizationException

type NoAvailableOrganizationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Organization is no longer available.

func (*NoAvailableOrganizationException) Error

func (*NoAvailableOrganizationException) ErrorCode

func (*NoAvailableOrganizationException) ErrorFault

func (*NoAvailableOrganizationException) ErrorMessage

func (e *NoAvailableOrganizationException) ErrorMessage() string

type NoRunningConfigurationRecorderException

type NoRunningConfigurationRecorderException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

There is no configuration recorder running.

func (*NoRunningConfigurationRecorderException) Error

func (*NoRunningConfigurationRecorderException) ErrorCode

func (*NoRunningConfigurationRecorderException) ErrorFault

func (*NoRunningConfigurationRecorderException) ErrorMessage

type NoSuchBucketException

type NoSuchBucketException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The specified Amazon S3 bucket does not exist.

func (*NoSuchBucketException) Error

func (e *NoSuchBucketException) Error() string

func (*NoSuchBucketException) ErrorCode

func (e *NoSuchBucketException) ErrorCode() string

func (*NoSuchBucketException) ErrorFault

func (e *NoSuchBucketException) ErrorFault() smithy.ErrorFault

func (*NoSuchBucketException) ErrorMessage

func (e *NoSuchBucketException) ErrorMessage() string

type NoSuchConfigRuleException

type NoSuchConfigRuleException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The Config rule in the request is not valid. Verify that the rule is an Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.

func (*NoSuchConfigRuleException) Error

func (e *NoSuchConfigRuleException) Error() string

func (*NoSuchConfigRuleException) ErrorCode

func (e *NoSuchConfigRuleException) ErrorCode() string

func (*NoSuchConfigRuleException) ErrorFault

func (*NoSuchConfigRuleException) ErrorMessage

func (e *NoSuchConfigRuleException) ErrorMessage() string

type NoSuchConfigRuleInConformancePackException

type NoSuchConfigRuleInConformancePackException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Config rule that you passed in the filter does not exist.

func (*NoSuchConfigRuleInConformancePackException) Error

func (*NoSuchConfigRuleInConformancePackException) ErrorCode

func (*NoSuchConfigRuleInConformancePackException) ErrorFault

func (*NoSuchConfigRuleInConformancePackException) ErrorMessage

type NoSuchConfigurationAggregatorException

type NoSuchConfigurationAggregatorException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have specified a configuration aggregator that does not exist.

func (*NoSuchConfigurationAggregatorException) Error

func (*NoSuchConfigurationAggregatorException) ErrorCode

func (*NoSuchConfigurationAggregatorException) ErrorFault

func (*NoSuchConfigurationAggregatorException) ErrorMessage

type NoSuchConfigurationRecorderException

type NoSuchConfigurationRecorderException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have specified a configuration recorder that does not exist.

func (*NoSuchConfigurationRecorderException) Error

func (*NoSuchConfigurationRecorderException) ErrorCode

func (*NoSuchConfigurationRecorderException) ErrorFault

func (*NoSuchConfigurationRecorderException) ErrorMessage

func (e *NoSuchConfigurationRecorderException) ErrorMessage() string

type NoSuchConformancePackException

type NoSuchConformancePackException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You specified one or more conformance packs that do not exist.

func (*NoSuchConformancePackException) Error

func (*NoSuchConformancePackException) ErrorCode

func (e *NoSuchConformancePackException) ErrorCode() string

func (*NoSuchConformancePackException) ErrorFault

func (*NoSuchConformancePackException) ErrorMessage

func (e *NoSuchConformancePackException) ErrorMessage() string

type NoSuchDeliveryChannelException

type NoSuchDeliveryChannelException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have specified a delivery channel that does not exist.

func (*NoSuchDeliveryChannelException) Error

func (*NoSuchDeliveryChannelException) ErrorCode

func (e *NoSuchDeliveryChannelException) ErrorCode() string

func (*NoSuchDeliveryChannelException) ErrorFault

func (*NoSuchDeliveryChannelException) ErrorMessage

func (e *NoSuchDeliveryChannelException) ErrorMessage() string

type NoSuchOrganizationConfigRuleException

type NoSuchOrganizationConfigRuleException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The Config rule in the request is not valid. Verify that the rule is an organization Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.

func (*NoSuchOrganizationConfigRuleException) Error

func (*NoSuchOrganizationConfigRuleException) ErrorCode

func (*NoSuchOrganizationConfigRuleException) ErrorFault

func (*NoSuchOrganizationConfigRuleException) ErrorMessage

type NoSuchOrganizationConformancePackException

type NoSuchOrganizationConformancePackException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Config organization conformance pack that you passed in the filter does not exist. For DeleteOrganizationConformancePack, you tried to delete an organization conformance pack that does not exist.

func (*NoSuchOrganizationConformancePackException) Error

func (*NoSuchOrganizationConformancePackException) ErrorCode

func (*NoSuchOrganizationConformancePackException) ErrorFault

func (*NoSuchOrganizationConformancePackException) ErrorMessage

type NoSuchRemediationConfigurationException

type NoSuchRemediationConfigurationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You specified an Config rule without a remediation configuration.

func (*NoSuchRemediationConfigurationException) Error

func (*NoSuchRemediationConfigurationException) ErrorCode

func (*NoSuchRemediationConfigurationException) ErrorFault

func (*NoSuchRemediationConfigurationException) ErrorMessage

type NoSuchRemediationExceptionException

type NoSuchRemediationExceptionException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You tried to delete a remediation exception that does not exist.

func (*NoSuchRemediationExceptionException) Error

func (*NoSuchRemediationExceptionException) ErrorCode

func (*NoSuchRemediationExceptionException) ErrorFault

func (*NoSuchRemediationExceptionException) ErrorMessage

func (e *NoSuchRemediationExceptionException) ErrorMessage() string

type NoSuchRetentionConfigurationException

type NoSuchRetentionConfigurationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have specified a retention configuration that does not exist.

func (*NoSuchRetentionConfigurationException) Error

func (*NoSuchRetentionConfigurationException) ErrorCode

func (*NoSuchRetentionConfigurationException) ErrorFault

func (*NoSuchRetentionConfigurationException) ErrorMessage

type OrganizationAccessDeniedException

type OrganizationAccessDeniedException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

For PutConfigurationAggregator API, you can see this exception for the following reasons:

  • No permission to call EnableAWSServiceAccess API
  • The configuration aggregator cannot be updated because your Amazon Web Services Organization management account or the delegated administrator role changed. Delete this aggregator and create a new one with the current Amazon Web Services Organization.
  • The configuration aggregator is associated with a previous Amazon Web Services Organization and Config cannot aggregate data with current Amazon Web Services Organization. Delete this aggregator and create a new one with the current Amazon Web Services Organization.
  • You are not a registered delegated administrator for Config with permissions to call ListDelegatedAdministrators API. Ensure that the management account registers delagated administrator for Config service principle name before the delegated administrator creates an aggregator.

For all OrganizationConfigRule and OrganizationConformancePack APIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account.

func (*OrganizationAccessDeniedException) Error

func (*OrganizationAccessDeniedException) ErrorCode

func (*OrganizationAccessDeniedException) ErrorFault

func (*OrganizationAccessDeniedException) ErrorMessage

func (e *OrganizationAccessDeniedException) ErrorMessage() string

type OrganizationAggregationSource

type OrganizationAggregationSource struct {

	// ARN of the IAM role used to retrieve Amazon Web Services Organization details
	// associated with the aggregator account.
	//
	// This member is required.
	RoleArn *string

	// If true, aggregate existing Config regions and future regions.
	AllAwsRegions bool

	// The source regions being aggregated.
	AwsRegions []string
	// contains filtered or unexported fields
}

This object contains regions to set up the aggregator and an IAM role to retrieve organization details.

type OrganizationAllFeaturesNotEnabledException

type OrganizationAllFeaturesNotEnabledException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Config resource cannot be created because your organization does not have all features enabled.

func (*OrganizationAllFeaturesNotEnabledException) Error

func (*OrganizationAllFeaturesNotEnabledException) ErrorCode

func (*OrganizationAllFeaturesNotEnabledException) ErrorFault

func (*OrganizationAllFeaturesNotEnabledException) ErrorMessage

type OrganizationConfigRule

type OrganizationConfigRule struct {

	// Amazon Resource Name (ARN) of organization Config rule.
	//
	// This member is required.
	OrganizationConfigRuleArn *string

	// The name that you assign to organization Config rule.
	//
	// This member is required.
	OrganizationConfigRuleName *string

	// A comma-separated list of accounts excluded from organization Config rule.
	ExcludedAccounts []string

	// The timestamp of the last update.
	LastUpdateTime *time.Time

	// An object that specifies metadata for your organization's Config Custom Policy
	// rule. The metadata includes the runtime system in use, which accounts have debug
	// logging enabled, and other custom rule metadata, such as resource type, resource
	// ID of Amazon Web Services resource, and organization trigger types that initiate
	// Config to evaluate Amazon Web Services resources against a rule.
	OrganizationCustomPolicyRuleMetadata *OrganizationCustomPolicyRuleMetadataNoPolicy

	// An OrganizationCustomRuleMetadata object.
	OrganizationCustomRuleMetadata *OrganizationCustomRuleMetadata

	// An OrganizationManagedRuleMetadata object.
	OrganizationManagedRuleMetadata *OrganizationManagedRuleMetadata
	// contains filtered or unexported fields
}

An organization Config rule that has information about Config rules that Config creates in member accounts.

type OrganizationConfigRuleStatus

type OrganizationConfigRuleStatus struct {

	// The name that you assign to organization Config rule.
	//
	// This member is required.
	OrganizationConfigRuleName *string

	// Indicates deployment status of an organization Config rule. When management
	// account calls PutOrganizationConfigRule action for the first time, Config rule
	// status is created in all the member accounts. When management account calls
	// PutOrganizationConfigRule action for the second time, Config rule status is
	// updated in all the member accounts. Additionally, Config rule status is updated
	// when one or more member accounts join or leave an organization. Config rule
	// status is deleted when the management account deletes OrganizationConfigRule in
	// all the member accounts and disables service access for
	// config-multiaccountsetup.amazonaws.com . Config sets the state of the rule to:
	//   - CREATE_SUCCESSFUL when an organization Config rule has been successfully
	//   created in all the member accounts.
	//   - CREATE_IN_PROGRESS when an organization Config rule creation is in progress.
	//   - CREATE_FAILED when an organization Config rule creation failed in one or
	//   more member accounts within that organization.
	//   - DELETE_FAILED when an organization Config rule deletion failed in one or
	//   more member accounts within that organization.
	//   - DELETE_IN_PROGRESS when an organization Config rule deletion is in progress.
	//   - DELETE_SUCCESSFUL when an organization Config rule has been successfully
	//   deleted from all the member accounts.
	//   - UPDATE_SUCCESSFUL when an organization Config rule has been successfully
	//   updated in all the member accounts.
	//   - UPDATE_IN_PROGRESS when an organization Config rule update is in progress.
	//   - UPDATE_FAILED when an organization Config rule update failed in one or more
	//   member accounts within that organization.
	//
	// This member is required.
	OrganizationRuleStatus OrganizationRuleStatus

	// An error code that is returned when organization Config rule creation or
	// deletion has failed.
	ErrorCode *string

	// An error message indicating that organization Config rule creation or deletion
	// failed due to an error.
	ErrorMessage *string

	// The timestamp of the last update.
	LastUpdateTime *time.Time
	// contains filtered or unexported fields
}

Returns the status for an organization Config rule in an organization.

type OrganizationConfigRuleTriggerType

type OrganizationConfigRuleTriggerType string
const (
	OrganizationConfigRuleTriggerTypeConfigurationItemChangeNotification         OrganizationConfigRuleTriggerType = "ConfigurationItemChangeNotification"
	OrganizationConfigRuleTriggerTypeOversizedConfigurationItemChangeNotifcation OrganizationConfigRuleTriggerType = "OversizedConfigurationItemChangeNotification"
	OrganizationConfigRuleTriggerTypeScheduledNotification                       OrganizationConfigRuleTriggerType = "ScheduledNotification"
)

Enum values for OrganizationConfigRuleTriggerType

func (OrganizationConfigRuleTriggerType) Values added in v0.29.0

Values returns all known values for OrganizationConfigRuleTriggerType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OrganizationConfigRuleTriggerTypeNoSN added in v1.20.0

type OrganizationConfigRuleTriggerTypeNoSN string
const (
	OrganizationConfigRuleTriggerTypeNoSNConfigurationItemChangeNotification         OrganizationConfigRuleTriggerTypeNoSN = "ConfigurationItemChangeNotification"
	OrganizationConfigRuleTriggerTypeNoSNOversizedConfigurationItemChangeNotifcation OrganizationConfigRuleTriggerTypeNoSN = "OversizedConfigurationItemChangeNotification"
)

Enum values for OrganizationConfigRuleTriggerTypeNoSN

func (OrganizationConfigRuleTriggerTypeNoSN) Values added in v1.20.0

Values returns all known values for OrganizationConfigRuleTriggerTypeNoSN. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OrganizationConformancePack

type OrganizationConformancePack struct {

	// Last time when organization conformation pack was updated.
	//
	// This member is required.
	LastUpdateTime *time.Time

	// Amazon Resource Name (ARN) of organization conformance pack.
	//
	// This member is required.
	OrganizationConformancePackArn *string

	// The name you assign to an organization conformance pack.
	//
	// This member is required.
	OrganizationConformancePackName *string

	// A list of ConformancePackInputParameter objects.
	ConformancePackInputParameters []ConformancePackInputParameter

	// The name of the Amazon S3 bucket where Config stores conformance pack
	// templates. This field is optional.
	DeliveryS3Bucket *string

	// Any folder structure you want to add to an Amazon S3 bucket. This field is
	// optional.
	DeliveryS3KeyPrefix *string

	// A comma-separated list of accounts excluded from organization conformance pack.
	ExcludedAccounts []string
	// contains filtered or unexported fields
}

An organization conformance pack that has information about conformance packs that Config creates in member accounts.

type OrganizationConformancePackDetailedStatus

type OrganizationConformancePackDetailedStatus struct {

	// The 12-digit account ID of a member account.
	//
	// This member is required.
	AccountId *string

	// The name of conformance pack deployed in the member account.
	//
	// This member is required.
	ConformancePackName *string

	// Indicates deployment status for conformance pack in a member account. When
	// management account calls PutOrganizationConformancePack action for the first
	// time, conformance pack status is created in the member account. When management
	// account calls PutOrganizationConformancePack action for the second time,
	// conformance pack status is updated in the member account. Conformance pack
	// status is deleted when the management account deletes
	// OrganizationConformancePack and disables service access for
	// config-multiaccountsetup.amazonaws.com . Config sets the state of the
	// conformance pack to:
	//   - CREATE_SUCCESSFUL when conformance pack has been created in the member
	//   account.
	//   - CREATE_IN_PROGRESS when conformance pack is being created in the member
	//   account.
	//   - CREATE_FAILED when conformance pack creation has failed in the member
	//   account.
	//   - DELETE_FAILED when conformance pack deletion has failed in the member
	//   account.
	//   - DELETE_IN_PROGRESS when conformance pack is being deleted in the member
	//   account.
	//   - DELETE_SUCCESSFUL when conformance pack has been deleted in the member
	//   account.
	//   - UPDATE_SUCCESSFUL when conformance pack has been updated in the member
	//   account.
	//   - UPDATE_IN_PROGRESS when conformance pack is being updated in the member
	//   account.
	//   - UPDATE_FAILED when conformance pack deletion has failed in the member
	//   account.
	//
	// This member is required.
	Status OrganizationResourceDetailedStatus

	// An error code that is returned when conformance pack creation or deletion
	// failed in the member account.
	ErrorCode *string

	// An error message indicating that conformance pack account creation or deletion
	// has failed due to an error in the member account.
	ErrorMessage *string

	// The timestamp of the last status update.
	LastUpdateTime *time.Time
	// contains filtered or unexported fields
}

Organization conformance pack creation or deletion status in each member account. This includes the name of the conformance pack, the status, error code and error message when the conformance pack creation or deletion failed.

type OrganizationConformancePackStatus

type OrganizationConformancePackStatus struct {

	// The name that you assign to organization conformance pack.
	//
	// This member is required.
	OrganizationConformancePackName *string

	// Indicates deployment status of an organization conformance pack. When
	// management account calls PutOrganizationConformancePack for the first time,
	// conformance pack status is created in all the member accounts. When management
	// account calls PutOrganizationConformancePack for the second time, conformance
	// pack status is updated in all the member accounts. Additionally, conformance
	// pack status is updated when one or more member accounts join or leave an
	// organization. Conformance pack status is deleted when the management account
	// deletes OrganizationConformancePack in all the member accounts and disables
	// service access for config-multiaccountsetup.amazonaws.com . Config sets the
	// state of the conformance pack to:
	//   - CREATE_SUCCESSFUL when an organization conformance pack has been
	//   successfully created in all the member accounts.
	//   - CREATE_IN_PROGRESS when an organization conformance pack creation is in
	//   progress.
	//   - CREATE_FAILED when an organization conformance pack creation failed in one
	//   or more member accounts within that organization.
	//   - DELETE_FAILED when an organization conformance pack deletion failed in one
	//   or more member accounts within that organization.
	//   - DELETE_IN_PROGRESS when an organization conformance pack deletion is in
	//   progress.
	//   - DELETE_SUCCESSFUL when an organization conformance pack has been
	//   successfully deleted from all the member accounts.
	//   - UPDATE_SUCCESSFUL when an organization conformance pack has been
	//   successfully updated in all the member accounts.
	//   - UPDATE_IN_PROGRESS when an organization conformance pack update is in
	//   progress.
	//   - UPDATE_FAILED when an organization conformance pack update failed in one or
	//   more member accounts within that organization.
	//
	// This member is required.
	Status OrganizationResourceStatus

	// An error code that is returned when organization conformance pack creation or
	// deletion has failed in a member account.
	ErrorCode *string

	// An error message indicating that organization conformance pack creation or
	// deletion failed due to an error.
	ErrorMessage *string

	// The timestamp of the last update.
	LastUpdateTime *time.Time
	// contains filtered or unexported fields
}

Returns the status for an organization conformance pack in an organization.

type OrganizationConformancePackTemplateValidationException

type OrganizationConformancePackTemplateValidationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have specified a template that is not valid or supported.

func (*OrganizationConformancePackTemplateValidationException) Error

func (*OrganizationConformancePackTemplateValidationException) ErrorCode

func (*OrganizationConformancePackTemplateValidationException) ErrorFault

func (*OrganizationConformancePackTemplateValidationException) ErrorMessage

type OrganizationCustomPolicyRuleMetadata added in v1.20.0

type OrganizationCustomPolicyRuleMetadata struct {

	// The runtime system for your organization Config Custom Policy rules. Guard is a
	// policy-as-code language that allows you to write policies that are enforced by
	// Config Custom Policy rules. For more information about Guard, see the Guard
	// GitHub Repository (https://github.com/aws-cloudformation/cloudformation-guard) .
	//
	// This member is required.
	PolicyRuntime *string

	// The policy definition containing the logic for your organization Config Custom
	// Policy rule.
	//
	// This member is required.
	PolicyText *string

	// A list of accounts that you can enable debug logging for your organization
	// Config Custom Policy rule. List is null when debug logging is enabled for all
	// accounts.
	DebugLogDeliveryAccounts []string

	// The description that you provide for your organization Config Custom Policy
	// rule.
	Description *string

	// A string, in JSON format, that is passed to your organization Config Custom
	// Policy rule.
	InputParameters *string

	// The maximum frequency with which Config runs evaluations for a rule. Your
	// Config Custom Policy rule is triggered when Config delivers the configuration
	// snapshot. For more information, see ConfigSnapshotDeliveryProperties .
	MaximumExecutionFrequency MaximumExecutionFrequency

	// The type of notification that initiates Config to run an evaluation for a rule.
	// For Config Custom Policy rules, Config supports change-initiated notification
	// types:
	//   - ConfigurationItemChangeNotification - Initiates an evaluation when Config
	//   delivers a configuration item as a result of a resource change.
	//   - OversizedConfigurationItemChangeNotification - Initiates an evaluation when
	//   Config delivers an oversized configuration item. Config may generate this
	//   notification type when a resource changes and the notification exceeds the
	//   maximum size allowed by Amazon SNS.
	OrganizationConfigRuleTriggerTypes []OrganizationConfigRuleTriggerTypeNoSN

	// The ID of the Amazon Web Services resource that was evaluated.
	ResourceIdScope *string

	// The type of the Amazon Web Services resource that was evaluated.
	ResourceTypesScope []string

	// One part of a key-value pair that make up a tag. A key is a general label that
	// acts like a category for more specific tag values.
	TagKeyScope *string

	// The optional part of a key-value pair that make up a tag. A value acts as a
	// descriptor within a tag category (key).
	TagValueScope *string
	// contains filtered or unexported fields
}

An object that specifies metadata for your organization's Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.

type OrganizationCustomPolicyRuleMetadataNoPolicy added in v1.20.0

type OrganizationCustomPolicyRuleMetadataNoPolicy struct {

	// A list of accounts that you can enable debug logging for your organization
	// Config Custom Policy rule. List is null when debug logging is enabled for all
	// accounts.
	DebugLogDeliveryAccounts []string

	// The description that you provide for your organization Config Custom Policy
	// rule.
	Description *string

	// A string, in JSON format, that is passed to your organization Config Custom
	// Policy rule.
	InputParameters *string

	// The maximum frequency with which Config runs evaluations for a rule. Your
	// Config Custom Policy rule is triggered when Config delivers the configuration
	// snapshot. For more information, see ConfigSnapshotDeliveryProperties .
	MaximumExecutionFrequency MaximumExecutionFrequency

	// The type of notification that triggers Config to run an evaluation for a rule.
	// For Config Custom Policy rules, Config supports change triggered notification
	// types:
	//   - ConfigurationItemChangeNotification - Triggers an evaluation when Config
	//   delivers a configuration item as a result of a resource change.
	//   - OversizedConfigurationItemChangeNotification - Triggers an evaluation when
	//   Config delivers an oversized configuration item. Config may generate this
	//   notification type when a resource changes and the notification exceeds the
	//   maximum size allowed by Amazon SNS.
	OrganizationConfigRuleTriggerTypes []OrganizationConfigRuleTriggerTypeNoSN

	// The runtime system for your organization Config Custom Policy rules. Guard is a
	// policy-as-code language that allows you to write policies that are enforced by
	// Config Custom Policy rules. For more information about Guard, see the Guard
	// GitHub Repository (https://github.com/aws-cloudformation/cloudformation-guard) .
	PolicyRuntime *string

	// The ID of the Amazon Web Services resource that was evaluated.
	ResourceIdScope *string

	// The type of the Amazon Web Services resource that was evaluated.
	ResourceTypesScope []string

	// One part of a key-value pair that make up a tag. A key is a general label that
	// acts like a category for more specific tag values.
	TagKeyScope *string

	// The optional part of a key-value pair that make up a tag. A value acts as a
	// descriptor within a tag category (key).
	TagValueScope *string
	// contains filtered or unexported fields
}

metadata for your organization Config Custom Policy rule including the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that trigger Config to evaluate Amazon Web Services resources against a rule.

type OrganizationCustomRuleMetadata

type OrganizationCustomRuleMetadata struct {

	// The lambda function ARN.
	//
	// This member is required.
	LambdaFunctionArn *string

	// The type of notification that triggers Config to run an evaluation for a rule.
	// You can specify the following notification types:
	//   - ConfigurationItemChangeNotification - Triggers an evaluation when Config
	//   delivers a configuration item as a result of a resource change.
	//   - OversizedConfigurationItemChangeNotification - Triggers an evaluation when
	//   Config delivers an oversized configuration item. Config may generate this
	//   notification type when a resource changes and the notification exceeds the
	//   maximum size allowed by Amazon SNS.
	//   - ScheduledNotification - Triggers a periodic evaluation at the frequency
	//   specified for MaximumExecutionFrequency .
	//
	// This member is required.
	OrganizationConfigRuleTriggerTypes []OrganizationConfigRuleTriggerType

	// The description that you provide for your organization Config rule.
	Description *string

	// A string, in JSON format, that is passed to your organization Config rule
	// Lambda function.
	InputParameters *string

	// The maximum frequency with which Config runs evaluations for a rule. Your
	// custom rule is triggered when Config delivers the configuration snapshot. For
	// more information, see ConfigSnapshotDeliveryProperties . By default, rules with
	// a periodic trigger are evaluated every 24 hours. To change the frequency,
	// specify a valid value for the MaximumExecutionFrequency parameter.
	MaximumExecutionFrequency MaximumExecutionFrequency

	// The ID of the Amazon Web Services resource that was evaluated.
	ResourceIdScope *string

	// The type of the Amazon Web Services resource that was evaluated.
	ResourceTypesScope []string

	// One part of a key-value pair that make up a tag. A key is a general label that
	// acts like a category for more specific tag values.
	TagKeyScope *string

	// The optional part of a key-value pair that make up a tag. A value acts as a
	// descriptor within a tag category (key).
	TagValueScope *string
	// contains filtered or unexported fields
}

An object that specifies organization custom rule metadata such as resource type, resource ID of Amazon Web Services resource, Lambda function ARN, and organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.

type OrganizationManagedRuleMetadata

type OrganizationManagedRuleMetadata struct {

	// For organization config managed rules, a predefined identifier from a list. For
	// example, IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule,
	// see Using Config managed rules (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html)
	// .
	//
	// This member is required.
	RuleIdentifier *string

	// The description that you provide for your organization Config rule.
	Description *string

	// A string, in JSON format, that is passed to your organization Config rule
	// Lambda function.
	InputParameters *string

	// The maximum frequency with which Config runs evaluations for a rule. This is
	// for an Config managed rule that is triggered at a periodic frequency. By
	// default, rules with a periodic trigger are evaluated every 24 hours. To change
	// the frequency, specify a valid value for the MaximumExecutionFrequency
	// parameter.
	MaximumExecutionFrequency MaximumExecutionFrequency

	// The ID of the Amazon Web Services resource that was evaluated.
	ResourceIdScope *string

	// The type of the Amazon Web Services resource that was evaluated.
	ResourceTypesScope []string

	// One part of a key-value pair that make up a tag. A key is a general label that
	// acts like a category for more specific tag values.
	TagKeyScope *string

	// The optional part of a key-value pair that make up a tag. A value acts as a
	// descriptor within a tag category (key).
	TagValueScope *string
	// contains filtered or unexported fields
}

An object that specifies organization managed rule metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.

type OrganizationResourceDetailedStatus

type OrganizationResourceDetailedStatus string
const (
	OrganizationResourceDetailedStatusCreateSuccessful OrganizationResourceDetailedStatus = "CREATE_SUCCESSFUL"
	OrganizationResourceDetailedStatusCreateInProgress OrganizationResourceDetailedStatus = "CREATE_IN_PROGRESS"
	OrganizationResourceDetailedStatusCreateFailed     OrganizationResourceDetailedStatus = "CREATE_FAILED"
	OrganizationResourceDetailedStatusDeleteSuccessful OrganizationResourceDetailedStatus = "DELETE_SUCCESSFUL"
	OrganizationResourceDetailedStatusDeleteFailed     OrganizationResourceDetailedStatus = "DELETE_FAILED"
	OrganizationResourceDetailedStatusDeleteInProgress OrganizationResourceDetailedStatus = "DELETE_IN_PROGRESS"
	OrganizationResourceDetailedStatusUpdateSuccessful OrganizationResourceDetailedStatus = "UPDATE_SUCCESSFUL"
	OrganizationResourceDetailedStatusUpdateInProgress OrganizationResourceDetailedStatus = "UPDATE_IN_PROGRESS"
	OrganizationResourceDetailedStatusUpdateFailed     OrganizationResourceDetailedStatus = "UPDATE_FAILED"
)

Enum values for OrganizationResourceDetailedStatus

func (OrganizationResourceDetailedStatus) Values added in v0.29.0

Values returns all known values for OrganizationResourceDetailedStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OrganizationResourceDetailedStatusFilters

type OrganizationResourceDetailedStatusFilters struct {

	// The 12-digit account ID of the member account within an organization.
	AccountId *string

	// Indicates deployment status for conformance pack in a member account. When
	// management account calls PutOrganizationConformancePack action for the first
	// time, conformance pack status is created in the member account. When management
	// account calls PutOrganizationConformancePack action for the second time,
	// conformance pack status is updated in the member account. Conformance pack
	// status is deleted when the management account deletes
	// OrganizationConformancePack and disables service access for
	// config-multiaccountsetup.amazonaws.com . Config sets the state of the
	// conformance pack to:
	//   - CREATE_SUCCESSFUL when conformance pack has been created in the member
	//   account.
	//   - CREATE_IN_PROGRESS when conformance pack is being created in the member
	//   account.
	//   - CREATE_FAILED when conformance pack creation has failed in the member
	//   account.
	//   - DELETE_FAILED when conformance pack deletion has failed in the member
	//   account.
	//   - DELETE_IN_PROGRESS when conformance pack is being deleted in the member
	//   account.
	//   - DELETE_SUCCESSFUL when conformance pack has been deleted in the member
	//   account.
	//   - UPDATE_SUCCESSFUL when conformance pack has been updated in the member
	//   account.
	//   - UPDATE_IN_PROGRESS when conformance pack is being updated in the member
	//   account.
	//   - UPDATE_FAILED when conformance pack deletion has failed in the member
	//   account.
	Status OrganizationResourceDetailedStatus
	// contains filtered or unexported fields
}

Status filter object to filter results based on specific member account ID or status type for an organization conformance pack.

type OrganizationResourceStatus

type OrganizationResourceStatus string
const (
	OrganizationResourceStatusCreateSuccessful OrganizationResourceStatus = "CREATE_SUCCESSFUL"
	OrganizationResourceStatusCreateInProgress OrganizationResourceStatus = "CREATE_IN_PROGRESS"
	OrganizationResourceStatusCreateFailed     OrganizationResourceStatus = "CREATE_FAILED"
	OrganizationResourceStatusDeleteSuccessful OrganizationResourceStatus = "DELETE_SUCCESSFUL"
	OrganizationResourceStatusDeleteFailed     OrganizationResourceStatus = "DELETE_FAILED"
	OrganizationResourceStatusDeleteInProgress OrganizationResourceStatus = "DELETE_IN_PROGRESS"
	OrganizationResourceStatusUpdateSuccessful OrganizationResourceStatus = "UPDATE_SUCCESSFUL"
	OrganizationResourceStatusUpdateInProgress OrganizationResourceStatus = "UPDATE_IN_PROGRESS"
	OrganizationResourceStatusUpdateFailed     OrganizationResourceStatus = "UPDATE_FAILED"
)

Enum values for OrganizationResourceStatus

func (OrganizationResourceStatus) Values added in v0.29.0

Values returns all known values for OrganizationResourceStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OrganizationRuleStatus

type OrganizationRuleStatus string
const (
	OrganizationRuleStatusCreateSuccessful OrganizationRuleStatus = "CREATE_SUCCESSFUL"
	OrganizationRuleStatusCreateInProgress OrganizationRuleStatus = "CREATE_IN_PROGRESS"
	OrganizationRuleStatusCreateFailed     OrganizationRuleStatus = "CREATE_FAILED"
	OrganizationRuleStatusDeleteSuccessful OrganizationRuleStatus = "DELETE_SUCCESSFUL"
	OrganizationRuleStatusDeleteFailed     OrganizationRuleStatus = "DELETE_FAILED"
	OrganizationRuleStatusDeleteInProgress OrganizationRuleStatus = "DELETE_IN_PROGRESS"
	OrganizationRuleStatusUpdateSuccessful OrganizationRuleStatus = "UPDATE_SUCCESSFUL"
	OrganizationRuleStatusUpdateInProgress OrganizationRuleStatus = "UPDATE_IN_PROGRESS"
	OrganizationRuleStatusUpdateFailed     OrganizationRuleStatus = "UPDATE_FAILED"
)

Enum values for OrganizationRuleStatus

func (OrganizationRuleStatus) Values added in v0.29.0

Values returns all known values for OrganizationRuleStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type OversizedConfigurationItemException

type OversizedConfigurationItemException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The configuration item size is outside the allowable range.

func (*OversizedConfigurationItemException) Error

func (*OversizedConfigurationItemException) ErrorCode

func (*OversizedConfigurationItemException) ErrorFault

func (*OversizedConfigurationItemException) ErrorMessage

func (e *OversizedConfigurationItemException) ErrorMessage() string

type Owner

type Owner string
const (
	OwnerCustomLambda Owner = "CUSTOM_LAMBDA"
	OwnerAws          Owner = "AWS"
	OwnerCustomPolicy Owner = "CUSTOM_POLICY"
)

Enum values for Owner

func (Owner) Values added in v0.29.0

func (Owner) Values() []Owner

Values returns all known values for Owner. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type PendingAggregationRequest

type PendingAggregationRequest struct {

	// The 12-digit account ID of the account requesting to aggregate data.
	RequesterAccountId *string

	// The region requesting to aggregate data.
	RequesterAwsRegion *string
	// contains filtered or unexported fields
}

An object that represents the account ID and region of an aggregator account that is requesting authorization but is not yet authorized.

type QueryInfo

type QueryInfo struct {

	// Returns a FieldInfo object.
	SelectFields []FieldInfo
	// contains filtered or unexported fields
}

Details about the query.

type RecorderStatus

type RecorderStatus string
const (
	RecorderStatusPending RecorderStatus = "Pending"
	RecorderStatusSuccess RecorderStatus = "Success"
	RecorderStatusFailure RecorderStatus = "Failure"
)

Enum values for RecorderStatus

func (RecorderStatus) Values added in v0.29.0

func (RecorderStatus) Values() []RecorderStatus

Values returns all known values for RecorderStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type RecordingFrequency added in v1.42.0

type RecordingFrequency string
const (
	RecordingFrequencyContinuous RecordingFrequency = "CONTINUOUS"
	RecordingFrequencyDaily      RecordingFrequency = "DAILY"
)

Enum values for RecordingFrequency

func (RecordingFrequency) Values added in v1.42.0

Values returns all known values for RecordingFrequency. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type RecordingGroup

type RecordingGroup struct {

	// Specifies whether Config records configuration changes for all supported
	// resource types, excluding the global IAM resource types. If you set this field
	// to true , when Config adds support for a new resource type, Config starts
	// recording resources of that type automatically. If you set this field to true ,
	// you cannot enumerate specific resource types to record in the resourceTypes
	// field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	// , or to exclude in the resourceTypes field of ExclusionByResourceTypes (https://docs.aws.amazon.com/config/latest/APIReference/API_ExclusionByResourceTypes.html)
	// . Region availability Check Resource Coverage by Region Availability (https://docs.aws.amazon.com/config/latest/developerguide/what-is-resource-config-coverage.html)
	// to see if a resource type is supported in the Amazon Web Services Region where
	// you set up Config.
	AllSupported bool

	// An object that specifies how Config excludes resource types from being recorded
	// by the configuration recorder. Required fields 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 .
	ExclusionByResourceTypes *ExclusionByResourceTypes

	// This option is a bundle which only applies to the global IAM resource types:
	// IAM users, groups, roles, and customer managed policies. These global IAM
	// resource types can only be recorded by Config in Regions where Config was
	// available before February 2022. You cannot be record the global IAM resouce
	// types in Regions supported by 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)
	// Aurora global clusters are recorded in all enabled Regions The
	// AWS::RDS::GlobalCluster resource type will be recorded in all supported Config
	// Regions where the configuration recorder is enabled, even if
	// includeGlobalResourceTypes is set false . The includeGlobalResourceTypes option
	// is a bundle which only applies to IAM users, groups, roles, and customer managed
	// policies. If you do not want to record AWS::RDS::GlobalCluster in all enabled
	// Regions, use one of the following recording strategies:
	//   - Record all current and future resource types with exclusions (
	//   EXCLUSION_BY_RESOURCE_TYPES ), or
	//   - Record specific resource types ( INCLUSION_BY_RESOURCE_TYPES ).
	// For more information, see Selecting Which Resources are Recorded (https://docs.aws.amazon.com/config/latest/developerguide/select-resources.html#select-resources-all)
	// in the Config developer guide. includeGlobalResourceTypes and the exclusion
	// recording strategy The includeGlobalResourceTypes field has no impact on the
	// EXCLUSION_BY_RESOURCE_TYPES recording strategy. This means that the global IAM
	// resource types (IAM users, groups, roles, and customer managed policies) will
	// not be automatically added as exclusions for exclusionByResourceTypes when
	// includeGlobalResourceTypes is set to false . The includeGlobalResourceTypes
	// field should only be used to modify the AllSupported field, as the default for
	// the AllSupported field is to record configuration changes for all supported
	// resource types excluding the global IAM resource types. To include the global
	// IAM resource types when AllSupported is set to true , make sure to set
	// includeGlobalResourceTypes to true . To exclude the global IAM resource types
	// for the EXCLUSION_BY_RESOURCE_TYPES recording strategy, you need to manually
	// add them to the resourceTypes field of exclusionByResourceTypes . Required and
	// optional fields Before you set this field to true , set the allSupported field
	// of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	// to true . Optionally, you can set the useOnly field of RecordingStrategy (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingStrategy.html)
	// to ALL_SUPPORTED_RESOURCE_TYPES . Overriding fields If you set this field to
	// false but list global IAM resource types in the resourceTypes field of
	// RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	// , Config will still record configuration changes for those specified resource
	// types regardless of if you set the includeGlobalResourceTypes field to false.
	// If you do not want to record configuration changes to the global IAM resource
	// types (IAM users, groups, roles, and customer managed policies), make sure to
	// not list them in the resourceTypes field in addition to setting the
	// includeGlobalResourceTypes field to false.
	IncludeGlobalResourceTypes bool

	// An object that specifies the recording strategy for the configuration recorder.
	//   - If you set the useOnly field of RecordingStrategy (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingStrategy.html)
	//   to ALL_SUPPORTED_RESOURCE_TYPES , Config records configuration changes for all
	//   supported resource types, excluding the global IAM resource types. You also must
	//   set the allSupported field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	//   to true . When Config adds support for a new resource type, Config
	//   automatically starts recording resources of that type.
	//   - If you set the useOnly field of RecordingStrategy (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingStrategy.html)
	//   to INCLUSION_BY_RESOURCE_TYPES , Config records configuration changes for only
	//   the resource types you specify in the resourceTypes field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	//   .
	//   - If you set the useOnly field of RecordingStrategy (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingStrategy.html)
	//   to EXCLUSION_BY_RESOURCE_TYPES , Config records configuration changes for all
	//   supported resource types except the resource types that you specify to exclude
	//   from being recorded in the resourceTypes field of ExclusionByResourceTypes (https://docs.aws.amazon.com/config/latest/APIReference/API_ExclusionByResourceTypes.html)
	//   .
	// Required and optional fields The recordingStrategy field is optional when you
	// set the allSupported field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	// to true . The recordingStrategy field is optional when you list resource types
	// in the resourceTypes field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	// . The recordingStrategy field is required if you list resource types to exclude
	// from recording in the resourceTypes field of ExclusionByResourceTypes (https://docs.aws.amazon.com/config/latest/APIReference/API_ExclusionByResourceTypes.html)
	// . Overriding fields If you choose EXCLUSION_BY_RESOURCE_TYPES for the recording
	// strategy, the exclusionByResourceTypes field will override other properties in
	// the request. For example, even if you set includeGlobalResourceTypes to false,
	// global IAM resource types will still be automatically recorded in this option
	// unless those resource types are specifically listed as exclusions in the
	// resourceTypes field of exclusionByResourceTypes . Global resources types and the
	// resource exclusion recording strategy By default, if you choose the
	// EXCLUSION_BY_RESOURCE_TYPES recording strategy, when Config adds support for a
	// new resource type in the Region where you set up the configuration recorder,
	// including global resource types, Config starts recording resources of that type
	// automatically. Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
	// will be recorded automatically in all supported 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 Config was available before
	// February 2022. You cannot be record the global IAM resouce types in Regions
	// supported by 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)
	RecordingStrategy *RecordingStrategy

	// A comma-separated list that specifies which resource types Config records. For
	// a list of valid resourceTypes values, see the Resource Type Value column in
	// Supported Amazon Web Services resource Types (https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources)
	// in the Config developer guide. Required and optional fields Optionally, you can
	// set the useOnly field of RecordingStrategy (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingStrategy.html)
	// to INCLUSION_BY_RESOURCE_TYPES . To record all configuration changes, set the
	// allSupported field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	// to true , and either omit this field or don't specify any resource types in this
	// field. If you set the allSupported field to false and specify values for
	// resourceTypes , when Config adds support for a new type of resource, it will not
	// record resources of that type unless you manually add that type to your
	// recording group. Region availability Before specifying a resource type for
	// Config to track, check Resource Coverage by Region Availability (https://docs.aws.amazon.com/config/latest/developerguide/what-is-resource-config-coverage.html)
	// to see if the resource type is supported in the Amazon Web Services Region where
	// you set up Config. If a resource type is supported by Config in at least one
	// Region, you can enable the recording of that resource type in all Regions
	// supported by Config, even if the specified resource type is not supported in the
	// Amazon Web Services Region where you set up Config.
	ResourceTypes []ResourceType
	// contains filtered or unexported fields
}

Specifies which resource types Config records for configuration changes. By default, Config records configuration changes for all current and future supported resource types in the Amazon Web Services Region where you have enabled Config, excluding the global IAM resource types: IAM users, groups, roles, and customer managed policies. In the recording group, you specify whether you want to record all supported current and future supported resource types or to include or exclude specific resources types. For a list of supported resource types, see Supported Resource Types (https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources) in the Config developer guide. If you don't want Config to record all current and future supported resource types (excluding the global IAM resource types), use one of the following recording strategies:

  • Record all current and future resource types with exclusions ( EXCLUSION_BY_RESOURCE_TYPES ), or
  • Record specific resource types ( INCLUSION_BY_RESOURCE_TYPES ).

If you use the recording strategy to Record all current and future resource types ( ALL_SUPPORTED_RESOURCE_TYPES ), you can use the flag includeGlobalResourceTypes to include the global IAM resource types in your recording. Aurora global clusters are recorded in all enabled Regions The AWS::RDS::GlobalCluster resource type will be recorded in all supported Config Regions where the configuration recorder is enabled. If you do not want to record AWS::RDS::GlobalCluster in all enabled Regions, use the EXCLUSION_BY_RESOURCE_TYPES or INCLUSION_BY_RESOURCE_TYPES recording strategy.

type RecordingMode added in v1.42.0

type RecordingMode struct {

	// The default recording frequency that Config uses to record configuration
	// changes. Daily recording is not supported for the following resource types:
	//   - AWS::Config::ResourceCompliance
	//   - AWS::Config::ConformancePackCompliance
	//   - AWS::Config::ConfigurationRecorder
	// For the allSupported ( ALL_SUPPORTED_RESOURCE_TYPES ) recording strategy, these
	// resource types will be set to Continuous recording.
	//
	// This member is required.
	RecordingFrequency RecordingFrequency

	// An array of recordingModeOverride objects for you to specify your overrides for
	// the recording mode. The recordingModeOverride object in the
	// recordingModeOverrides array consists of three fields: a description , the new
	// recordingFrequency , and an array of resourceTypes to override.
	RecordingModeOverrides []RecordingModeOverride
	// contains filtered or unexported fields
}

Specifies the default recording frequency that Config uses to record configuration changes. Config supports Continuous recording and Daily recording.

  • Continuous recording allows you to record configuration changes continuously whenever a change occurs.
  • Daily recording allows you to receive a configuration item (CI) representing the most recent state of your resources over the last 24-hour period, only if it’s different from the previous CI recorded.

Firewall Manager depends on continuous recording to monitor your resources. If you are using Firewall Manager, it is recommended that you set the recording frequency to Continuous. You can also override the recording frequency for specific resource types.

type RecordingModeOverride added in v1.42.0

type RecordingModeOverride struct {

	// The recording frequency that will be applied to all the resource types
	// specified in the override.
	//   - Continuous recording allows you to record configuration changes
	//   continuously whenever a change occurs.
	//   - Daily recording allows you to receive a configuration item (CI)
	//   representing the most recent state of your resources over the last 24-hour
	//   period, only if it’s different from the previous CI recorded.
	// Firewall Manager depends on continuous recording to monitor your resources. If
	// you are using Firewall Manager, it is recommended that you set the recording
	// frequency to Continuous.
	//
	// This member is required.
	RecordingFrequency RecordingFrequency

	// A comma-separated list that specifies which resource types Config includes in
	// the override. Daily recording is not supported for the following resource types:
	//
	//   - AWS::Config::ResourceCompliance
	//   - AWS::Config::ConformancePackCompliance
	//   - AWS::Config::ConfigurationRecorder
	//
	// This member is required.
	ResourceTypes []ResourceType

	// A description that you provide for the override.
	Description *string
	// contains filtered or unexported fields
}

An object for you to specify your overrides for the recording mode.

type RecordingStrategy added in v1.33.0

type RecordingStrategy struct {

	// The recording strategy for the configuration recorder.
	//   - If you set this option to ALL_SUPPORTED_RESOURCE_TYPES , Config records
	//   configuration changes for all supported resource types, excluding the global IAM
	//   resource types. You also must set the allSupported field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	//   to true . When Config adds support for a new resource type, Config
	//   automatically starts recording resources of that type. For a list of supported
	//   resource types, see Supported Resource Types (https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources)
	//   in the Config developer guide.
	//   - If you set this option to INCLUSION_BY_RESOURCE_TYPES , Config records
	//   configuration changes for only the resource types that you specify in the
	//   resourceTypes field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	//   .
	//   - If you set this option to EXCLUSION_BY_RESOURCE_TYPES , Config records
	//   configuration changes for all supported resource types, except the resource
	//   types that you specify to exclude from being recorded in the resourceTypes
	//   field of ExclusionByResourceTypes (https://docs.aws.amazon.com/config/latest/APIReference/API_ExclusionByResourceTypes.html)
	//   .
	// Required and optional fields The recordingStrategy field is optional when you
	// set the allSupported field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	// to true . The recordingStrategy field is optional when you list resource types
	// in the resourceTypes field of RecordingGroup (https://docs.aws.amazon.com/config/latest/APIReference/API_RecordingGroup.html)
	// . The recordingStrategy field is required if you list resource types to exclude
	// from recording in the resourceTypes field of ExclusionByResourceTypes (https://docs.aws.amazon.com/config/latest/APIReference/API_ExclusionByResourceTypes.html)
	// . Overriding fields If you choose EXCLUSION_BY_RESOURCE_TYPES for the recording
	// strategy, the exclusionByResourceTypes field will override other properties in
	// the request. For example, even if you set includeGlobalResourceTypes to false,
	// global IAM resource types will still be automatically recorded in this option
	// unless those resource types are specifically listed as exclusions in the
	// resourceTypes field of exclusionByResourceTypes . Global resource types and the
	// exclusion recording strategy By default, if you choose the
	// EXCLUSION_BY_RESOURCE_TYPES recording strategy, when Config adds support for a
	// new resource type in the Region where you set up the configuration recorder,
	// including global resource types, Config starts recording resources of that type
	// automatically. Unless specifically listed as exclusions, AWS::RDS::GlobalCluster
	// will be recorded automatically in all supported 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 Config was available before
	// February 2022. You cannot be record the global IAM resouce types in Regions
	// supported by 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)
	UseOnly RecordingStrategyType
	// contains filtered or unexported fields
}

Specifies the recording strategy of the configuration recorder.

type RecordingStrategyType added in v1.33.0

type RecordingStrategyType string
const (
	RecordingStrategyTypeAllSupportedResourceTypes RecordingStrategyType = "ALL_SUPPORTED_RESOURCE_TYPES"
	RecordingStrategyTypeInclusionByResourceTypes  RecordingStrategyType = "INCLUSION_BY_RESOURCE_TYPES"
	RecordingStrategyTypeExclusionByResourceTypes  RecordingStrategyType = "EXCLUSION_BY_RESOURCE_TYPES"
)

Enum values for RecordingStrategyType

func (RecordingStrategyType) Values added in v1.33.0

Values returns all known values for RecordingStrategyType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Relationship

type Relationship struct {

	// The type of relationship with the related resource.
	RelationshipName *string

	// The ID of the related resource (for example, sg-xxxxxx ).
	ResourceId *string

	// The custom name of the related resource, if available.
	ResourceName *string

	// The resource type of the related resource.
	ResourceType ResourceType
	// contains filtered or unexported fields
}

The relationship of the related resource to the main resource.

type RemediationConfiguration

type RemediationConfiguration struct {

	// The name of the Config rule.
	//
	// This member is required.
	ConfigRuleName *string

	// Target ID is the name of the SSM document.
	//
	// This member is required.
	TargetId *string

	// The type of the target. Target executes remediation. For example, SSM document.
	//
	// This member is required.
	TargetType RemediationTargetType

	// Amazon Resource Name (ARN) of remediation configuration.
	Arn *string

	// The remediation is triggered automatically.
	Automatic bool

	// Name of the service that owns the service-linked rule, if applicable.
	CreatedByService *string

	// An ExecutionControls object.
	ExecutionControls *ExecutionControls

	// The maximum number of failed attempts for auto-remediation. If you do not
	// select a number, the default is 5. For example, if you specify
	// MaximumAutomaticAttempts as 5 with RetryAttemptSeconds as 50 seconds, Config
	// will put a RemediationException on your behalf for the failing resource after
	// the 5th failed attempt within 50 seconds.
	MaximumAutomaticAttempts *int32

	// An object of the RemediationParameterValue.
	Parameters map[string]RemediationParameterValue

	// The type of a resource.
	ResourceType *string

	// Time window to determine whether or not to add a remediation exception to
	// prevent infinite remediation attempts. If MaximumAutomaticAttempts remediation
	// attempts have been made under RetryAttemptSeconds , a remediation exception will
	// be added to the resource. If you do not select a number, the default is 60
	// seconds. For example, if you specify RetryAttemptSeconds as 50 seconds and
	// MaximumAutomaticAttempts as 5, Config will run auto-remediations 5 times within
	// 50 seconds before adding a remediation exception to the resource.
	RetryAttemptSeconds *int64

	// Version of the target. For example, version of the SSM document. If you make
	// backward incompatible changes to the SSM document, you must call
	// PutRemediationConfiguration API again to ensure the remediations can run.
	TargetVersion *string
	// contains filtered or unexported fields
}

An object that represents the details about the remediation configuration that includes the remediation action, parameters, and data to execute the action.

type RemediationException

type RemediationException struct {

	// The name of the Config rule.
	//
	// This member is required.
	ConfigRuleName *string

	// The ID of the resource (for example., sg-xxxxxx).
	//
	// This member is required.
	ResourceId *string

	// The type of a resource.
	//
	// This member is required.
	ResourceType *string

	// The time when the remediation exception will be deleted.
	ExpirationTime *time.Time

	// An explanation of an remediation exception.
	Message *string
	// contains filtered or unexported fields
}

An object that represents the details about the remediation exception. The details include the rule name, an explanation of an exception, the time when the exception will be deleted, the resource ID, and resource type.

type RemediationExceptionResourceKey

type RemediationExceptionResourceKey struct {

	// The ID of the resource (for example., sg-xxxxxx).
	ResourceId *string

	// The type of a resource.
	ResourceType *string
	// contains filtered or unexported fields
}

The details that identify a resource within Config, including the resource type and resource ID.

type RemediationExecutionState

type RemediationExecutionState string
const (
	RemediationExecutionStateQueued     RemediationExecutionState = "QUEUED"
	RemediationExecutionStateInProgress RemediationExecutionState = "IN_PROGRESS"
	RemediationExecutionStateSucceeded  RemediationExecutionState = "SUCCEEDED"
	RemediationExecutionStateFailed     RemediationExecutionState = "FAILED"
)

Enum values for RemediationExecutionState

func (RemediationExecutionState) Values added in v0.29.0

Values returns all known values for RemediationExecutionState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type RemediationExecutionStatus

type RemediationExecutionStatus struct {

	// Start time when the remediation was executed.
	InvocationTime *time.Time

	// The time when the remediation execution was last updated.
	LastUpdatedTime *time.Time

	// The details that identify a resource within Config, including the resource type
	// and resource ID.
	ResourceKey *ResourceKey

	// ENUM of the values.
	State RemediationExecutionState

	// Details of every step.
	StepDetails []RemediationExecutionStep
	// contains filtered or unexported fields
}

Provides details of the current status of the invoked remediation action for that resource.

type RemediationExecutionStep

type RemediationExecutionStep struct {

	// An error message if the step was interrupted during execution.
	ErrorMessage *string

	// The details of the step.
	Name *string

	// The time when the step started.
	StartTime *time.Time

	// The valid status of the step.
	State RemediationExecutionStepState

	// The time when the step stopped.
	StopTime *time.Time
	// contains filtered or unexported fields
}

Name of the step from the SSM document.

type RemediationExecutionStepState

type RemediationExecutionStepState string
const (
	RemediationExecutionStepStateSucceeded RemediationExecutionStepState = "SUCCEEDED"
	RemediationExecutionStepStatePending   RemediationExecutionStepState = "PENDING"
	RemediationExecutionStepStateFailed    RemediationExecutionStepState = "FAILED"
)

Enum values for RemediationExecutionStepState

func (RemediationExecutionStepState) Values added in v0.29.0

Values returns all known values for RemediationExecutionStepState. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type RemediationInProgressException

type RemediationInProgressException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Remediation action is in progress. You can either cancel execution in Amazon Web Services Systems Manager or wait and try again later.

func (*RemediationInProgressException) Error

func (*RemediationInProgressException) ErrorCode

func (e *RemediationInProgressException) ErrorCode() string

func (*RemediationInProgressException) ErrorFault

func (*RemediationInProgressException) ErrorMessage

func (e *RemediationInProgressException) ErrorMessage() string

type RemediationParameterValue

type RemediationParameterValue struct {

	// The value is dynamic and changes at run-time.
	ResourceValue *ResourceValue

	// The value is static and does not change at run-time.
	StaticValue *StaticValue
	// contains filtered or unexported fields
}

The value is either a dynamic (resource) value or a static value. You must select either a dynamic value or a static value.

type RemediationTargetType

type RemediationTargetType string
const (
	RemediationTargetTypeSsmDocument RemediationTargetType = "SSM_DOCUMENT"
)

Enum values for RemediationTargetType

func (RemediationTargetType) Values added in v0.29.0

Values returns all known values for RemediationTargetType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResourceConcurrentModificationException added in v1.2.0

type ResourceConcurrentModificationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

Two users are trying to modify the same query at the same time. Wait for a moment and try again.

func (*ResourceConcurrentModificationException) Error added in v1.2.0

func (*ResourceConcurrentModificationException) ErrorCode added in v1.2.0

func (*ResourceConcurrentModificationException) ErrorFault added in v1.2.0

func (*ResourceConcurrentModificationException) ErrorMessage added in v1.2.0

type ResourceConfigurationSchemaType added in v1.28.0

type ResourceConfigurationSchemaType string
const (
	ResourceConfigurationSchemaTypeCfnResourceSchema ResourceConfigurationSchemaType = "CFN_RESOURCE_SCHEMA"
)

Enum values for ResourceConfigurationSchemaType

func (ResourceConfigurationSchemaType) Values added in v1.28.0

Values returns all known values for ResourceConfigurationSchemaType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResourceCount

type ResourceCount struct {

	// The number of resources.
	Count int64

	// The resource type (for example, "AWS::EC2::Instance" ).
	ResourceType ResourceType
	// contains filtered or unexported fields
}

An object that contains the resource type and the number of resources.

type ResourceCountFilters

type ResourceCountFilters struct {

	// The 12-digit ID of the account.
	AccountId *string

	// The region where the account is located.
	Region *string

	// The type of the Amazon Web Services resource.
	ResourceType ResourceType
	// contains filtered or unexported fields
}

Filters the resource count based on account ID, region, and resource type.

type ResourceCountGroupKey

type ResourceCountGroupKey string
const (
	ResourceCountGroupKeyResourceType ResourceCountGroupKey = "RESOURCE_TYPE"
	ResourceCountGroupKeyAccountId    ResourceCountGroupKey = "ACCOUNT_ID"
	ResourceCountGroupKeyAwsRegion    ResourceCountGroupKey = "AWS_REGION"
)

Enum values for ResourceCountGroupKey

func (ResourceCountGroupKey) Values added in v0.29.0

Values returns all known values for ResourceCountGroupKey. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResourceDetails added in v1.28.0

type ResourceDetails struct {

	// The resource definition to be evaluated as per the resource configuration
	// schema type.
	//
	// This member is required.
	ResourceConfiguration *string

	// A unique resource ID for an evaluation.
	//
	// This member is required.
	ResourceId *string

	// The type of resource being evaluated.
	//
	// This member is required.
	ResourceType *string

	// The schema type of the resource configuration. You can find the Resource type
	// schema (https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html)
	// , or CFN_RESOURCE_SCHEMA , in "Amazon Web Services public extensions" within the
	// CloudFormation registry or with the following CLI commmand: aws cloudformation
	// describe-type --type-name "AWS::S3::Bucket" --type RESOURCE . For more
	// information, see Managing extensions through the CloudFormation registry (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/registry.html#registry-view)
	// and Amazon Web Services resource and property types reference (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html)
	// in the CloudFormation User Guide.
	ResourceConfigurationSchemaType ResourceConfigurationSchemaType
	// contains filtered or unexported fields
}

Returns information about the resource being evaluated.

type ResourceEvaluation added in v1.28.0

type ResourceEvaluation struct {

	// The mode of an evaluation. The valid values are Detective or Proactive.
	EvaluationMode EvaluationMode

	// The starting time of an execution.
	EvaluationStartTimestamp *time.Time

	// The ResourceEvaluationId of a evaluation.
	ResourceEvaluationId *string
	// contains filtered or unexported fields
}

Returns details of a resource evaluation.

type ResourceEvaluationFilters added in v1.28.0

type ResourceEvaluationFilters struct {

	// Filters evaluations for a given infrastructure deployment. For example: CFN
	// Stack.
	EvaluationContextIdentifier *string

	// Filters all resource evaluations results based on an evaluation mode. the valid
	// value for this API is Proactive .
	EvaluationMode EvaluationMode

	// Returns a TimeWindow object.
	TimeWindow *TimeWindow
	// contains filtered or unexported fields
}

Returns details of a resource evaluation based on the selected filter.

type ResourceEvaluationStatus added in v1.28.0

type ResourceEvaluationStatus string
const (
	ResourceEvaluationStatusInProgress ResourceEvaluationStatus = "IN_PROGRESS"
	ResourceEvaluationStatusFailed     ResourceEvaluationStatus = "FAILED"
	ResourceEvaluationStatusSucceeded  ResourceEvaluationStatus = "SUCCEEDED"
)

Enum values for ResourceEvaluationStatus

func (ResourceEvaluationStatus) Values added in v1.28.0

Values returns all known values for ResourceEvaluationStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResourceFilters

type ResourceFilters struct {

	// The 12-digit source account ID.
	AccountId *string

	// The source region.
	Region *string

	// The ID of the resource.
	ResourceId *string

	// The name of the resource.
	ResourceName *string
	// contains filtered or unexported fields
}

Filters the results by resource account ID, region, resource ID, and resource name.

type ResourceIdentifier

type ResourceIdentifier struct {

	// The time that the resource was deleted.
	ResourceDeletionTime *time.Time

	// The ID of the resource (for example, sg-xxxxxx ).
	ResourceId *string

	// The custom name of the resource (if available).
	ResourceName *string

	// The type of resource.
	ResourceType ResourceType
	// contains filtered or unexported fields
}

The details that identify a resource that is discovered by Config, including the resource type, ID, and (if available) the custom resource name.

type ResourceInUseException

type ResourceInUseException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You see this exception in the following cases:

  • For DeleteConfigRule, Config is deleting this rule. Try your request again later.
  • For DeleteConfigRule, the rule is deleting your evaluation results. Try your request again later.
  • For DeleteConfigRule, a remediation action is associated with the rule and Config cannot delete this rule. Delete the remediation action associated with the rule before deleting the rule and try your request again later.
  • For PutConfigOrganizationRule, organization Config rule deletion is in progress. Try your request again later.
  • For DeleteOrganizationConfigRule, organization Config rule creation is in progress. Try your request again later.
  • For PutConformancePack and PutOrganizationConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.
  • For DeleteConformancePack, a conformance pack creation, update, and deletion is in progress. Try your request again later.

func (*ResourceInUseException) Error

func (e *ResourceInUseException) Error() string

func (*ResourceInUseException) ErrorCode

func (e *ResourceInUseException) ErrorCode() string

func (*ResourceInUseException) ErrorFault

func (e *ResourceInUseException) ErrorFault() smithy.ErrorFault

func (*ResourceInUseException) ErrorMessage

func (e *ResourceInUseException) ErrorMessage() string

type ResourceKey

type ResourceKey struct {

	// The ID of the resource (for example., sg-xxxxxx).
	//
	// This member is required.
	ResourceId *string

	// The resource type.
	//
	// This member is required.
	ResourceType ResourceType
	// contains filtered or unexported fields
}

The details that identify a resource within Config, including the resource type and resource ID.

type ResourceNotDiscoveredException

type ResourceNotDiscoveredException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have specified a resource that is either unknown or has not been discovered.

func (*ResourceNotDiscoveredException) Error

func (*ResourceNotDiscoveredException) ErrorCode

func (e *ResourceNotDiscoveredException) ErrorCode() string

func (*ResourceNotDiscoveredException) ErrorFault

func (*ResourceNotDiscoveredException) ErrorMessage

func (e *ResourceNotDiscoveredException) ErrorMessage() string

type ResourceNotFoundException

type ResourceNotFoundException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have specified a resource that does not exist.

func (*ResourceNotFoundException) Error

func (e *ResourceNotFoundException) Error() string

func (*ResourceNotFoundException) ErrorCode

func (e *ResourceNotFoundException) ErrorCode() string

func (*ResourceNotFoundException) ErrorFault

func (*ResourceNotFoundException) ErrorMessage

func (e *ResourceNotFoundException) ErrorMessage() string

type ResourceType

type ResourceType string
const (
	ResourceTypeCustomerGateway                                      ResourceType = "AWS::EC2::CustomerGateway"
	ResourceTypeEip                                                  ResourceType = "AWS::EC2::EIP"
	ResourceTypeHost                                                 ResourceType = "AWS::EC2::Host"
	ResourceTypeInstance                                             ResourceType = "AWS::EC2::Instance"
	ResourceTypeInternetGateway                                      ResourceType = "AWS::EC2::InternetGateway"
	ResourceTypeNetworkAcl                                           ResourceType = "AWS::EC2::NetworkAcl"
	ResourceTypeNetworkInterface                                     ResourceType = "AWS::EC2::NetworkInterface"
	ResourceTypeRouteTable                                           ResourceType = "AWS::EC2::RouteTable"
	ResourceTypeSecurityGroup                                        ResourceType = "AWS::EC2::SecurityGroup"
	ResourceTypeSubnet                                               ResourceType = "AWS::EC2::Subnet"
	ResourceTypeTrail                                                ResourceType = "AWS::CloudTrail::Trail"
	ResourceTypeVolume                                               ResourceType = "AWS::EC2::Volume"
	ResourceTypeVpc                                                  ResourceType = "AWS::EC2::VPC"
	ResourceTypeVPNConnection                                        ResourceType = "AWS::EC2::VPNConnection"
	ResourceTypeVPNGateway                                           ResourceType = "AWS::EC2::VPNGateway"
	ResourceTypeRegisteredHAInstance                                 ResourceType = "AWS::EC2::RegisteredHAInstance"
	ResourceTypeNatGateway                                           ResourceType = "AWS::EC2::NatGateway"
	ResourceTypeEgressOnlyInternetGateway                            ResourceType = "AWS::EC2::EgressOnlyInternetGateway"
	ResourceTypeVPCEndpoint                                          ResourceType = "AWS::EC2::VPCEndpoint"
	ResourceTypeVPCEndpointService                                   ResourceType = "AWS::EC2::VPCEndpointService"
	ResourceTypeFlowLog                                              ResourceType = "AWS::EC2::FlowLog"
	ResourceTypeVPCPeeringConnection                                 ResourceType = "AWS::EC2::VPCPeeringConnection"
	ResourceTypeDomain                                               ResourceType = "AWS::Elasticsearch::Domain"
	ResourceTypeGroup                                                ResourceType = "AWS::IAM::Group"
	ResourceTypePolicy                                               ResourceType = "AWS::IAM::Policy"
	ResourceTypeRole                                                 ResourceType = "AWS::IAM::Role"
	ResourceTypeUser                                                 ResourceType = "AWS::IAM::User"
	ResourceTypeLoadBalancerV2                                       ResourceType = "AWS::ElasticLoadBalancingV2::LoadBalancer"
	ResourceTypeCertificate                                          ResourceType = "AWS::ACM::Certificate"
	ResourceTypeDBInstance                                           ResourceType = "AWS::RDS::DBInstance"
	ResourceTypeDBSubnetGroup                                        ResourceType = "AWS::RDS::DBSubnetGroup"
	ResourceTypeDBSecurityGroup                                      ResourceType = "AWS::RDS::DBSecurityGroup"
	ResourceTypeDBSnapshot                                           ResourceType = "AWS::RDS::DBSnapshot"
	ResourceTypeDBCluster                                            ResourceType = "AWS::RDS::DBCluster"
	ResourceTypeDBClusterSnapshot                                    ResourceType = "AWS::RDS::DBClusterSnapshot"
	ResourceTypeEventSubscription                                    ResourceType = "AWS::RDS::EventSubscription"
	ResourceTypeBucket                                               ResourceType = "AWS::S3::Bucket"
	ResourceTypeAccountPublicAccessBlock                             ResourceType = "AWS::S3::AccountPublicAccessBlock"
	ResourceTypeCluster                                              ResourceType = "AWS::Redshift::Cluster"
	ResourceTypeClusterSnapshot                                      ResourceType = "AWS::Redshift::ClusterSnapshot"
	ResourceTypeClusterParameterGroup                                ResourceType = "AWS::Redshift::ClusterParameterGroup"
	ResourceTypeClusterSecurityGroup                                 ResourceType = "AWS::Redshift::ClusterSecurityGroup"
	ResourceTypeClusterSubnetGroup                                   ResourceType = "AWS::Redshift::ClusterSubnetGroup"
	ResourceTypeRedshiftEventSubscription                            ResourceType = "AWS::Redshift::EventSubscription"
	ResourceTypeManagedInstanceInventory                             ResourceType = "AWS::SSM::ManagedInstanceInventory"
	ResourceTypeAlarm                                                ResourceType = "AWS::CloudWatch::Alarm"
	ResourceTypeStack                                                ResourceType = "AWS::CloudFormation::Stack"
	ResourceTypeLoadBalancer                                         ResourceType = "AWS::ElasticLoadBalancing::LoadBalancer"
	ResourceTypeAutoScalingGroup                                     ResourceType = "AWS::AutoScaling::AutoScalingGroup"
	ResourceTypeLaunchConfiguration                                  ResourceType = "AWS::AutoScaling::LaunchConfiguration"
	ResourceTypeScalingPolicy                                        ResourceType = "AWS::AutoScaling::ScalingPolicy"
	ResourceTypeScheduledAction                                      ResourceType = "AWS::AutoScaling::ScheduledAction"
	ResourceTypeTable                                                ResourceType = "AWS::DynamoDB::Table"
	ResourceTypeProject                                              ResourceType = "AWS::CodeBuild::Project"
	ResourceTypeRateBasedRule                                        ResourceType = "AWS::WAF::RateBasedRule"
	ResourceTypeRule                                                 ResourceType = "AWS::WAF::Rule"
	ResourceTypeRuleGroup                                            ResourceType = "AWS::WAF::RuleGroup"
	ResourceTypeWebACL                                               ResourceType = "AWS::WAF::WebACL"
	ResourceTypeRegionalRateBasedRule                                ResourceType = "AWS::WAFRegional::RateBasedRule"
	ResourceTypeRegionalRule                                         ResourceType = "AWS::WAFRegional::Rule"
	ResourceTypeRegionalRuleGroup                                    ResourceType = "AWS::WAFRegional::RuleGroup"
	ResourceTypeRegionalWebACL                                       ResourceType = "AWS::WAFRegional::WebACL"
	ResourceTypeDistribution                                         ResourceType = "AWS::CloudFront::Distribution"
	ResourceTypeStreamingDistribution                                ResourceType = "AWS::CloudFront::StreamingDistribution"
	ResourceTypeFunction                                             ResourceType = "AWS::Lambda::Function"
	ResourceTypeNetworkFirewallFirewall                              ResourceType = "AWS::NetworkFirewall::Firewall"
	ResourceTypeNetworkFirewallFirewallPolicy                        ResourceType = "AWS::NetworkFirewall::FirewallPolicy"
	ResourceTypeNetworkFirewallRuleGroup                             ResourceType = "AWS::NetworkFirewall::RuleGroup"
	ResourceTypeApplication                                          ResourceType = "AWS::ElasticBeanstalk::Application"
	ResourceTypeApplicationVersion                                   ResourceType = "AWS::ElasticBeanstalk::ApplicationVersion"
	ResourceTypeEnvironment                                          ResourceType = "AWS::ElasticBeanstalk::Environment"
	ResourceTypeWebACLV2                                             ResourceType = "AWS::WAFv2::WebACL"
	ResourceTypeRuleGroupV2                                          ResourceType = "AWS::WAFv2::RuleGroup"
	ResourceTypeIPSetV2                                              ResourceType = "AWS::WAFv2::IPSet"
	ResourceTypeRegexPatternSetV2                                    ResourceType = "AWS::WAFv2::RegexPatternSet"
	ResourceTypeManagedRuleSetV2                                     ResourceType = "AWS::WAFv2::ManagedRuleSet"
	ResourceTypeEncryptionConfig                                     ResourceType = "AWS::XRay::EncryptionConfig"
	ResourceTypeAssociationCompliance                                ResourceType = "AWS::SSM::AssociationCompliance"
	ResourceTypePatchCompliance                                      ResourceType = "AWS::SSM::PatchCompliance"
	ResourceTypeProtection                                           ResourceType = "AWS::Shield::Protection"
	ResourceTypeRegionalProtection                                   ResourceType = "AWS::ShieldRegional::Protection"
	ResourceTypeConformancePackCompliance                            ResourceType = "AWS::Config::ConformancePackCompliance"
	ResourceTypeResourceCompliance                                   ResourceType = "AWS::Config::ResourceCompliance"
	ResourceTypeStage                                                ResourceType = "AWS::ApiGateway::Stage"
	ResourceTypeRestApi                                              ResourceType = "AWS::ApiGateway::RestApi"
	ResourceTypeStageV2                                              ResourceType = "AWS::ApiGatewayV2::Stage"
	ResourceTypeApi                                                  ResourceType = "AWS::ApiGatewayV2::Api"
	ResourceTypePipeline                                             ResourceType = "AWS::CodePipeline::Pipeline"
	ResourceTypeCloudFormationProvisionedProduct                     ResourceType = "AWS::ServiceCatalog::CloudFormationProvisionedProduct"
	ResourceTypeCloudFormationProduct                                ResourceType = "AWS::ServiceCatalog::CloudFormationProduct"
	ResourceTypePortfolio                                            ResourceType = "AWS::ServiceCatalog::Portfolio"
	ResourceTypeQueue                                                ResourceType = "AWS::SQS::Queue"
	ResourceTypeKey                                                  ResourceType = "AWS::KMS::Key"
	ResourceTypeQLDBLedger                                           ResourceType = "AWS::QLDB::Ledger"
	ResourceTypeSecret                                               ResourceType = "AWS::SecretsManager::Secret"
	ResourceTypeTopic                                                ResourceType = "AWS::SNS::Topic"
	ResourceTypeFileData                                             ResourceType = "AWS::SSM::FileData"
	ResourceTypeBackupPlan                                           ResourceType = "AWS::Backup::BackupPlan"
	ResourceTypeBackupSelection                                      ResourceType = "AWS::Backup::BackupSelection"
	ResourceTypeBackupVault                                          ResourceType = "AWS::Backup::BackupVault"
	ResourceTypeBackupRecoveryPoint                                  ResourceType = "AWS::Backup::RecoveryPoint"
	ResourceTypeECRRepository                                        ResourceType = "AWS::ECR::Repository"
	ResourceTypeECSCluster                                           ResourceType = "AWS::ECS::Cluster"
	ResourceTypeECSService                                           ResourceType = "AWS::ECS::Service"
	ResourceTypeECSTaskDefinition                                    ResourceType = "AWS::ECS::TaskDefinition"
	ResourceTypeEFSAccessPoint                                       ResourceType = "AWS::EFS::AccessPoint"
	ResourceTypeEFSFileSystem                                        ResourceType = "AWS::EFS::FileSystem"
	ResourceTypeEKSCluster                                           ResourceType = "AWS::EKS::Cluster"
	ResourceTypeOpenSearchDomain                                     ResourceType = "AWS::OpenSearch::Domain"
	ResourceTypeTransitGateway                                       ResourceType = "AWS::EC2::TransitGateway"
	ResourceTypeKinesisStream                                        ResourceType = "AWS::Kinesis::Stream"
	ResourceTypeKinesisStreamConsumer                                ResourceType = "AWS::Kinesis::StreamConsumer"
	ResourceTypeCodeDeployApplication                                ResourceType = "AWS::CodeDeploy::Application"
	ResourceTypeCodeDeployDeploymentConfig                           ResourceType = "AWS::CodeDeploy::DeploymentConfig"
	ResourceTypeCodeDeployDeploymentGroup                            ResourceType = "AWS::CodeDeploy::DeploymentGroup"
	ResourceTypeLaunchTemplate                                       ResourceType = "AWS::EC2::LaunchTemplate"
	ResourceTypeECRPublicRepository                                  ResourceType = "AWS::ECR::PublicRepository"
	ResourceTypeGuardDutyDetector                                    ResourceType = "AWS::GuardDuty::Detector"
	ResourceTypeEMRSecurityConfiguration                             ResourceType = "AWS::EMR::SecurityConfiguration"
	ResourceTypeSageMakerCodeRepository                              ResourceType = "AWS::SageMaker::CodeRepository"
	ResourceTypeRoute53ResolverResolverEndpoint                      ResourceType = "AWS::Route53Resolver::ResolverEndpoint"
	ResourceTypeRoute53ResolverResolverRule                          ResourceType = "AWS::Route53Resolver::ResolverRule"
	ResourceTypeRoute53ResolverResolverRuleAssociation               ResourceType = "AWS::Route53Resolver::ResolverRuleAssociation"
	ResourceTypeDMSReplicationSubnetGroup                            ResourceType = "AWS::DMS::ReplicationSubnetGroup"
	ResourceTypeDMSEventSubscription                                 ResourceType = "AWS::DMS::EventSubscription"
	ResourceTypeMSKCluster                                           ResourceType = "AWS::MSK::Cluster"
	ResourceTypeStepFunctionsActivity                                ResourceType = "AWS::StepFunctions::Activity"
	ResourceTypeWorkSpacesWorkspace                                  ResourceType = "AWS::WorkSpaces::Workspace"
	ResourceTypeWorkSpacesConnectionAlias                            ResourceType = "AWS::WorkSpaces::ConnectionAlias"
	ResourceTypeSageMakerModel                                       ResourceType = "AWS::SageMaker::Model"
	ResourceTypeListenerV2                                           ResourceType = "AWS::ElasticLoadBalancingV2::Listener"
	ResourceTypeStepFunctionsStateMachine                            ResourceType = "AWS::StepFunctions::StateMachine"
	ResourceTypeBatchJobQueue                                        ResourceType = "AWS::Batch::JobQueue"
	ResourceTypeBatchComputeEnvironment                              ResourceType = "AWS::Batch::ComputeEnvironment"
	ResourceTypeAccessAnalyzerAnalyzer                               ResourceType = "AWS::AccessAnalyzer::Analyzer"
	ResourceTypeAthenaWorkGroup                                      ResourceType = "AWS::Athena::WorkGroup"
	ResourceTypeAthenaDataCatalog                                    ResourceType = "AWS::Athena::DataCatalog"
	ResourceTypeDetectiveGraph                                       ResourceType = "AWS::Detective::Graph"
	ResourceTypeGlobalAcceleratorAccelerator                         ResourceType = "AWS::GlobalAccelerator::Accelerator"
	ResourceTypeGlobalAcceleratorEndpointGroup                       ResourceType = "AWS::GlobalAccelerator::EndpointGroup"
	ResourceTypeGlobalAcceleratorListener                            ResourceType = "AWS::GlobalAccelerator::Listener"
	ResourceTypeTransitGatewayAttachment                             ResourceType = "AWS::EC2::TransitGatewayAttachment"
	ResourceTypeTransitGatewayRouteTable                             ResourceType = "AWS::EC2::TransitGatewayRouteTable"
	ResourceTypeDMSCertificate                                       ResourceType = "AWS::DMS::Certificate"
	ResourceTypeAppConfigApplication                                 ResourceType = "AWS::AppConfig::Application"
	ResourceTypeAppSyncGraphQLApi                                    ResourceType = "AWS::AppSync::GraphQLApi"
	ResourceTypeDataSyncLocationSMB                                  ResourceType = "AWS::DataSync::LocationSMB"
	ResourceTypeDataSyncLocationFSxLustre                            ResourceType = "AWS::DataSync::LocationFSxLustre"
	ResourceTypeDataSyncLocationS3                                   ResourceType = "AWS::DataSync::LocationS3"
	ResourceTypeDataSyncLocationEFS                                  ResourceType = "AWS::DataSync::LocationEFS"
	ResourceTypeDataSyncTask                                         ResourceType = "AWS::DataSync::Task"
	ResourceTypeDataSyncLocationNFS                                  ResourceType = "AWS::DataSync::LocationNFS"
	ResourceTypeNetworkInsightsAccessScopeAnalysis                   ResourceType = "AWS::EC2::NetworkInsightsAccessScopeAnalysis"
	ResourceTypeEKSFargateProfile                                    ResourceType = "AWS::EKS::FargateProfile"
	ResourceTypeGlueJob                                              ResourceType = "AWS::Glue::Job"
	ResourceTypeGuardDutyThreatIntelSet                              ResourceType = "AWS::GuardDuty::ThreatIntelSet"
	ResourceTypeGuardDutyIPSet                                       ResourceType = "AWS::GuardDuty::IPSet"
	ResourceTypeSageMakerWorkteam                                    ResourceType = "AWS::SageMaker::Workteam"
	ResourceTypeSageMakerNotebookInstanceLifecycleConfig             ResourceType = "AWS::SageMaker::NotebookInstanceLifecycleConfig"
	ResourceTypeServiceDiscoveryService                              ResourceType = "AWS::ServiceDiscovery::Service"
	ResourceTypeServiceDiscoveryPublicDnsNamespace                   ResourceType = "AWS::ServiceDiscovery::PublicDnsNamespace"
	ResourceTypeSESContactList                                       ResourceType = "AWS::SES::ContactList"
	ResourceTypeSESConfigurationSet                                  ResourceType = "AWS::SES::ConfigurationSet"
	ResourceTypeRoute53HostedZone                                    ResourceType = "AWS::Route53::HostedZone"
	ResourceTypeIoTEventsInput                                       ResourceType = "AWS::IoTEvents::Input"
	ResourceTypeIoTEventsDetectorModel                               ResourceType = "AWS::IoTEvents::DetectorModel"
	ResourceTypeIoTEventsAlarmModel                                  ResourceType = "AWS::IoTEvents::AlarmModel"
	ResourceTypeServiceDiscoveryHttpNamespace                        ResourceType = "AWS::ServiceDiscovery::HttpNamespace"
	ResourceTypeEventsEventBus                                       ResourceType = "AWS::Events::EventBus"
	ResourceTypeImageBuilderContainerRecipe                          ResourceType = "AWS::ImageBuilder::ContainerRecipe"
	ResourceTypeImageBuilderDistributionConfiguration                ResourceType = "AWS::ImageBuilder::DistributionConfiguration"
	ResourceTypeImageBuilderInfrastructureConfiguration              ResourceType = "AWS::ImageBuilder::InfrastructureConfiguration"
	ResourceTypeDataSyncLocationObjectStorage                        ResourceType = "AWS::DataSync::LocationObjectStorage"
	ResourceTypeDataSyncLocationHDFS                                 ResourceType = "AWS::DataSync::LocationHDFS"
	ResourceTypeGlueClassifier                                       ResourceType = "AWS::Glue::Classifier"
	ResourceTypeRoute53RecoveryReadinessCell                         ResourceType = "AWS::Route53RecoveryReadiness::Cell"
	ResourceTypeRoute53RecoveryReadinessReadinessCheck               ResourceType = "AWS::Route53RecoveryReadiness::ReadinessCheck"
	ResourceTypeECRRegistryPolicy                                    ResourceType = "AWS::ECR::RegistryPolicy"
	ResourceTypeBackupReportPlan                                     ResourceType = "AWS::Backup::ReportPlan"
	ResourceTypeLightsailCertificate                                 ResourceType = "AWS::Lightsail::Certificate"
	ResourceTypeRUMAppMonitor                                        ResourceType = "AWS::RUM::AppMonitor"
	ResourceTypeEventsEndpoint                                       ResourceType = "AWS::Events::Endpoint"
	ResourceTypeSESReceiptRuleSet                                    ResourceType = "AWS::SES::ReceiptRuleSet"
	ResourceTypeEventsArchive                                        ResourceType = "AWS::Events::Archive"
	ResourceTypeEventsApiDestination                                 ResourceType = "AWS::Events::ApiDestination"
	ResourceTypeLightsailDisk                                        ResourceType = "AWS::Lightsail::Disk"
	ResourceTypeFISExperimentTemplate                                ResourceType = "AWS::FIS::ExperimentTemplate"
	ResourceTypeDataSyncLocationFSxWindows                           ResourceType = "AWS::DataSync::LocationFSxWindows"
	ResourceTypeSESReceiptFilter                                     ResourceType = "AWS::SES::ReceiptFilter"
	ResourceTypeGuardDutyFilter                                      ResourceType = "AWS::GuardDuty::Filter"
	ResourceTypeSESTemplate                                          ResourceType = "AWS::SES::Template"
	ResourceTypeAmazonMQBroker                                       ResourceType = "AWS::AmazonMQ::Broker"
	ResourceTypeAppConfigEnvironment                                 ResourceType = "AWS::AppConfig::Environment"
	ResourceTypeAppConfigConfigurationProfile                        ResourceType = "AWS::AppConfig::ConfigurationProfile"
	ResourceTypeCloud9EnvironmentEC2                                 ResourceType = "AWS::Cloud9::EnvironmentEC2"
	ResourceTypeEventSchemasRegistry                                 ResourceType = "AWS::EventSchemas::Registry"
	ResourceTypeEventSchemasRegistryPolicy                           ResourceType = "AWS::EventSchemas::RegistryPolicy"
	ResourceTypeEventSchemasDiscoverer                               ResourceType = "AWS::EventSchemas::Discoverer"
	ResourceTypeFraudDetectorLabel                                   ResourceType = "AWS::FraudDetector::Label"
	ResourceTypeFraudDetectorEntityType                              ResourceType = "AWS::FraudDetector::EntityType"
	ResourceTypeFraudDetectorVariable                                ResourceType = "AWS::FraudDetector::Variable"
	ResourceTypeFraudDetectorOutcome                                 ResourceType = "AWS::FraudDetector::Outcome"
	ResourceTypeIoTAuthorizer                                        ResourceType = "AWS::IoT::Authorizer"
	ResourceTypeIoTSecurityProfile                                   ResourceType = "AWS::IoT::SecurityProfile"
	ResourceTypeIoTRoleAlias                                         ResourceType = "AWS::IoT::RoleAlias"
	ResourceTypeIoTDimension                                         ResourceType = "AWS::IoT::Dimension"
	ResourceTypeIoTAnalyticsDatastore                                ResourceType = "AWS::IoTAnalytics::Datastore"
	ResourceTypeLightsailBucket                                      ResourceType = "AWS::Lightsail::Bucket"
	ResourceTypeLightsailStaticIp                                    ResourceType = "AWS::Lightsail::StaticIp"
	ResourceTypeMediaPackagePackagingGroup                           ResourceType = "AWS::MediaPackage::PackagingGroup"
	ResourceTypeRoute53RecoveryReadinessRecoveryGroup                ResourceType = "AWS::Route53RecoveryReadiness::RecoveryGroup"
	ResourceTypeResilienceHubResiliencyPolicy                        ResourceType = "AWS::ResilienceHub::ResiliencyPolicy"
	ResourceTypeTransferWorkflow                                     ResourceType = "AWS::Transfer::Workflow"
	ResourceTypeEKSIdentityProviderConfig                            ResourceType = "AWS::EKS::IdentityProviderConfig"
	ResourceTypeEKSAddon                                             ResourceType = "AWS::EKS::Addon"
	ResourceTypeGlueMLTransform                                      ResourceType = "AWS::Glue::MLTransform"
	ResourceTypeIoTPolicy                                            ResourceType = "AWS::IoT::Policy"
	ResourceTypeIoTMitigationAction                                  ResourceType = "AWS::IoT::MitigationAction"
	ResourceTypeIoTTwinMakerWorkspace                                ResourceType = "AWS::IoTTwinMaker::Workspace"
	ResourceTypeIoTTwinMakerEntity                                   ResourceType = "AWS::IoTTwinMaker::Entity"
	ResourceTypeIoTAnalyticsDataset                                  ResourceType = "AWS::IoTAnalytics::Dataset"
	ResourceTypeIoTAnalyticsPipeline                                 ResourceType = "AWS::IoTAnalytics::Pipeline"
	ResourceTypeIoTAnalyticsChannel                                  ResourceType = "AWS::IoTAnalytics::Channel"
	ResourceTypeIoTSiteWiseDashboard                                 ResourceType = "AWS::IoTSiteWise::Dashboard"
	ResourceTypeIoTSiteWiseProject                                   ResourceType = "AWS::IoTSiteWise::Project"
	ResourceTypeIoTSiteWisePortal                                    ResourceType = "AWS::IoTSiteWise::Portal"
	ResourceTypeIoTSiteWiseAssetModel                                ResourceType = "AWS::IoTSiteWise::AssetModel"
	ResourceTypeIVSChannel                                           ResourceType = "AWS::IVS::Channel"
	ResourceTypeIVSRecordingConfiguration                            ResourceType = "AWS::IVS::RecordingConfiguration"
	ResourceTypeIVSPlaybackKeyPair                                   ResourceType = "AWS::IVS::PlaybackKeyPair"
	ResourceTypeKinesisAnalyticsV2Application                        ResourceType = "AWS::KinesisAnalyticsV2::Application"
	ResourceTypeRDSGlobalCluster                                     ResourceType = "AWS::RDS::GlobalCluster"
	ResourceTypeS3MultiRegionAccessPoint                             ResourceType = "AWS::S3::MultiRegionAccessPoint"
	ResourceTypeDeviceFarmTestGridProject                            ResourceType = "AWS::DeviceFarm::TestGridProject"
	ResourceTypeBudgetsBudgetsAction                                 ResourceType = "AWS::Budgets::BudgetsAction"
	ResourceTypeLexBot                                               ResourceType = "AWS::Lex::Bot"
	ResourceTypeCodeGuruReviewerRepositoryAssociation                ResourceType = "AWS::CodeGuruReviewer::RepositoryAssociation"
	ResourceTypeIoTCustomMetric                                      ResourceType = "AWS::IoT::CustomMetric"
	ResourceTypeRoute53ResolverFirewallDomainList                    ResourceType = "AWS::Route53Resolver::FirewallDomainList"
	ResourceTypeRoboMakerRobotApplicationVersion                     ResourceType = "AWS::RoboMaker::RobotApplicationVersion"
	ResourceTypeEC2TrafficMirrorSession                              ResourceType = "AWS::EC2::TrafficMirrorSession"
	ResourceTypeIoTSiteWiseGateway                                   ResourceType = "AWS::IoTSiteWise::Gateway"
	ResourceTypeLexBotAlias                                          ResourceType = "AWS::Lex::BotAlias"
	ResourceTypeLookoutMetricsAlert                                  ResourceType = "AWS::LookoutMetrics::Alert"
	ResourceTypeIoTAccountAuditConfiguration                         ResourceType = "AWS::IoT::AccountAuditConfiguration"
	ResourceTypeEC2TrafficMirrorTarget                               ResourceType = "AWS::EC2::TrafficMirrorTarget"
	ResourceTypeS3StorageLens                                        ResourceType = "AWS::S3::StorageLens"
	ResourceTypeIoTScheduledAudit                                    ResourceType = "AWS::IoT::ScheduledAudit"
	ResourceTypeEventsConnection                                     ResourceType = "AWS::Events::Connection"
	ResourceTypeEventSchemasSchema                                   ResourceType = "AWS::EventSchemas::Schema"
	ResourceTypeMediaPackagePackagingConfiguration                   ResourceType = "AWS::MediaPackage::PackagingConfiguration"
	ResourceTypeKinesisVideoSignalingChannel                         ResourceType = "AWS::KinesisVideo::SignalingChannel"
	ResourceTypeAppStreamDirectoryConfig                             ResourceType = "AWS::AppStream::DirectoryConfig"
	ResourceTypeLookoutVisionProject                                 ResourceType = "AWS::LookoutVision::Project"
	ResourceTypeRoute53RecoveryControlCluster                        ResourceType = "AWS::Route53RecoveryControl::Cluster"
	ResourceTypeRoute53RecoveryControlSafetyRule                     ResourceType = "AWS::Route53RecoveryControl::SafetyRule"
	ResourceTypeRoute53RecoveryControlControlPanel                   ResourceType = "AWS::Route53RecoveryControl::ControlPanel"
	ResourceTypeRoute53RecoveryControlRoutingControl                 ResourceType = "AWS::Route53RecoveryControl::RoutingControl"
	ResourceTypeRoute53RecoveryReadinessResourceSet                  ResourceType = "AWS::Route53RecoveryReadiness::ResourceSet"
	ResourceTypeRoboMakerSimulationApplication                       ResourceType = "AWS::RoboMaker::SimulationApplication"
	ResourceTypeRoboMakerRobotApplication                            ResourceType = "AWS::RoboMaker::RobotApplication"
	ResourceTypeHealthLakeFHIRDatastore                              ResourceType = "AWS::HealthLake::FHIRDatastore"
	ResourceTypePinpointSegment                                      ResourceType = "AWS::Pinpoint::Segment"
	ResourceTypePinpointApplicationSettings                          ResourceType = "AWS::Pinpoint::ApplicationSettings"
	ResourceTypeEventsRule                                           ResourceType = "AWS::Events::Rule"
	ResourceTypeEC2DHCPOptions                                       ResourceType = "AWS::EC2::DHCPOptions"
	ResourceTypeEC2NetworkInsightsPath                               ResourceType = "AWS::EC2::NetworkInsightsPath"
	ResourceTypeEC2TrafficMirrorFilter                               ResourceType = "AWS::EC2::TrafficMirrorFilter"
	ResourceTypeEc2ipam                                              ResourceType = "AWS::EC2::IPAM"
	ResourceTypeIoTTwinMakerScene                                    ResourceType = "AWS::IoTTwinMaker::Scene"
	ResourceTypeNetworkManagerTransitGatewayRegistration             ResourceType = "AWS::NetworkManager::TransitGatewayRegistration"
	ResourceTypeCustomerProfilesDomain                               ResourceType = "AWS::CustomerProfiles::Domain"
	ResourceTypeAutoScalingWarmPool                                  ResourceType = "AWS::AutoScaling::WarmPool"
	ResourceTypeConnectPhoneNumber                                   ResourceType = "AWS::Connect::PhoneNumber"
	ResourceTypeAppConfigDeploymentStrategy                          ResourceType = "AWS::AppConfig::DeploymentStrategy"
	ResourceTypeAppFlowFlow                                          ResourceType = "AWS::AppFlow::Flow"
	ResourceTypeAuditManagerAssessment                               ResourceType = "AWS::AuditManager::Assessment"
	ResourceTypeCloudWatchMetricStream                               ResourceType = "AWS::CloudWatch::MetricStream"
	ResourceTypeDeviceFarmInstanceProfile                            ResourceType = "AWS::DeviceFarm::InstanceProfile"
	ResourceTypeDeviceFarmProject                                    ResourceType = "AWS::DeviceFarm::Project"
	ResourceTypeEC2EC2Fleet                                          ResourceType = "AWS::EC2::EC2Fleet"
	ResourceTypeEC2SubnetRouteTableAssociation                       ResourceType = "AWS::EC2::SubnetRouteTableAssociation"
	ResourceTypeECRPullThroughCacheRule                              ResourceType = "AWS::ECR::PullThroughCacheRule"
	ResourceTypeGroundStationConfig                                  ResourceType = "AWS::GroundStation::Config"
	ResourceTypeImageBuilderImagePipeline                            ResourceType = "AWS::ImageBuilder::ImagePipeline"
	ResourceTypeIoTFleetMetric                                       ResourceType = "AWS::IoT::FleetMetric"
	ResourceTypeIoTWirelessServiceProfile                            ResourceType = "AWS::IoTWireless::ServiceProfile"
	ResourceTypeNetworkManagerDevice                                 ResourceType = "AWS::NetworkManager::Device"
	ResourceTypeNetworkManagerGlobalNetwork                          ResourceType = "AWS::NetworkManager::GlobalNetwork"
	ResourceTypeNetworkManagerLink                                   ResourceType = "AWS::NetworkManager::Link"
	ResourceTypeNetworkManagerSite                                   ResourceType = "AWS::NetworkManager::Site"
	ResourceTypePanoramaPackage                                      ResourceType = "AWS::Panorama::Package"
	ResourceTypePinpointApp                                          ResourceType = "AWS::Pinpoint::App"
	ResourceTypeRedshiftScheduledAction                              ResourceType = "AWS::Redshift::ScheduledAction"
	ResourceTypeRoute53ResolverFirewallRuleGroupAssociation          ResourceType = "AWS::Route53Resolver::FirewallRuleGroupAssociation"
	ResourceTypeSageMakerAppImageConfig                              ResourceType = "AWS::SageMaker::AppImageConfig"
	ResourceTypeSageMakerImage                                       ResourceType = "AWS::SageMaker::Image"
	ResourceTypeECSTaskSet                                           ResourceType = "AWS::ECS::TaskSet"
	ResourceTypeCassandraKeyspace                                    ResourceType = "AWS::Cassandra::Keyspace"
	ResourceTypeSignerSigningProfile                                 ResourceType = "AWS::Signer::SigningProfile"
	ResourceTypeAmplifyApp                                           ResourceType = "AWS::Amplify::App"
	ResourceTypeAppMeshVirtualNode                                   ResourceType = "AWS::AppMesh::VirtualNode"
	ResourceTypeAppMeshVirtualService                                ResourceType = "AWS::AppMesh::VirtualService"
	ResourceTypeAppRunnerVpcConnector                                ResourceType = "AWS::AppRunner::VpcConnector"
	ResourceTypeAppStreamApplication                                 ResourceType = "AWS::AppStream::Application"
	ResourceTypeCodeArtifactRepository                               ResourceType = "AWS::CodeArtifact::Repository"
	ResourceTypeEC2PrefixList                                        ResourceType = "AWS::EC2::PrefixList"
	ResourceTypeEC2SpotFleet                                         ResourceType = "AWS::EC2::SpotFleet"
	ResourceTypeEvidentlyProject                                     ResourceType = "AWS::Evidently::Project"
	ResourceTypeForecastDataset                                      ResourceType = "AWS::Forecast::Dataset"
	ResourceTypeIAMSAMLProvider                                      ResourceType = "AWS::IAM::SAMLProvider"
	ResourceTypeIAMServerCertificate                                 ResourceType = "AWS::IAM::ServerCertificate"
	ResourceTypePinpointCampaign                                     ResourceType = "AWS::Pinpoint::Campaign"
	ResourceTypePinpointInAppTemplate                                ResourceType = "AWS::Pinpoint::InAppTemplate"
	ResourceTypeSageMakerDomain                                      ResourceType = "AWS::SageMaker::Domain"
	ResourceTypeTransferAgreement                                    ResourceType = "AWS::Transfer::Agreement"
	ResourceTypeTransferConnector                                    ResourceType = "AWS::Transfer::Connector"
	ResourceTypeKinesisFirehoseDeliveryStream                        ResourceType = "AWS::KinesisFirehose::DeliveryStream"
	ResourceTypeAmplifyBranch                                        ResourceType = "AWS::Amplify::Branch"
	ResourceTypeAppIntegrationsEventIntegration                      ResourceType = "AWS::AppIntegrations::EventIntegration"
	ResourceTypeAppMeshRoute                                         ResourceType = "AWS::AppMesh::Route"
	ResourceTypeAthenaPreparedStatement                              ResourceType = "AWS::Athena::PreparedStatement"
	ResourceTypeEC2IPAMScope                                         ResourceType = "AWS::EC2::IPAMScope"
	ResourceTypeEvidentlyLaunch                                      ResourceType = "AWS::Evidently::Launch"
	ResourceTypeForecastDatasetGroup                                 ResourceType = "AWS::Forecast::DatasetGroup"
	ResourceTypeGreengrassV2ComponentVersion                         ResourceType = "AWS::GreengrassV2::ComponentVersion"
	ResourceTypeGroundStationMissionProfile                          ResourceType = "AWS::GroundStation::MissionProfile"
	ResourceTypeMediaConnectFlowEntitlement                          ResourceType = "AWS::MediaConnect::FlowEntitlement"
	ResourceTypeMediaConnectFlowVpcInterface                         ResourceType = "AWS::MediaConnect::FlowVpcInterface"
	ResourceTypeMediaTailorPlaybackConfiguration                     ResourceType = "AWS::MediaTailor::PlaybackConfiguration"
	ResourceTypeMSKConfiguration                                     ResourceType = "AWS::MSK::Configuration"
	ResourceTypePersonalizeDataset                                   ResourceType = "AWS::Personalize::Dataset"
	ResourceTypePersonalizeSchema                                    ResourceType = "AWS::Personalize::Schema"
	ResourceTypePersonalizeSolution                                  ResourceType = "AWS::Personalize::Solution"
	ResourceTypePinpointEmailTemplate                                ResourceType = "AWS::Pinpoint::EmailTemplate"
	ResourceTypePinpointEventStream                                  ResourceType = "AWS::Pinpoint::EventStream"
	ResourceTypeResilienceHubApp                                     ResourceType = "AWS::ResilienceHub::App"
	ResourceTypeACMPCACertificateAuthority                           ResourceType = "AWS::ACMPCA::CertificateAuthority"
	ResourceTypeAppConfigHostedConfigurationVersion                  ResourceType = "AWS::AppConfig::HostedConfigurationVersion"
	ResourceTypeAppMeshVirtualGateway                                ResourceType = "AWS::AppMesh::VirtualGateway"
	ResourceTypeAppMeshVirtualRouter                                 ResourceType = "AWS::AppMesh::VirtualRouter"
	ResourceTypeAppRunnerService                                     ResourceType = "AWS::AppRunner::Service"
	ResourceTypeCustomerProfilesObjectType                           ResourceType = "AWS::CustomerProfiles::ObjectType"
	ResourceTypeDMSEndpoint                                          ResourceType = "AWS::DMS::Endpoint"
	ResourceTypeEC2CapacityReservation                               ResourceType = "AWS::EC2::CapacityReservation"
	ResourceTypeEC2ClientVpnEndpoint                                 ResourceType = "AWS::EC2::ClientVpnEndpoint"
	ResourceTypeKendraIndex                                          ResourceType = "AWS::Kendra::Index"
	ResourceTypeKinesisVideoStream                                   ResourceType = "AWS::KinesisVideo::Stream"
	ResourceTypeLogsDestination                                      ResourceType = "AWS::Logs::Destination"
	ResourceTypePinpointEmailChannel                                 ResourceType = "AWS::Pinpoint::EmailChannel"
	ResourceTypeS3AccessPoint                                        ResourceType = "AWS::S3::AccessPoint"
	ResourceTypeNetworkManagerCustomerGatewayAssociation             ResourceType = "AWS::NetworkManager::CustomerGatewayAssociation"
	ResourceTypeNetworkManagerLinkAssociation                        ResourceType = "AWS::NetworkManager::LinkAssociation"
	ResourceTypeIoTWirelessMulticastGroup                            ResourceType = "AWS::IoTWireless::MulticastGroup"
	ResourceTypePersonalizeDatasetGroup                              ResourceType = "AWS::Personalize::DatasetGroup"
	ResourceTypeIoTTwinMakerComponentType                            ResourceType = "AWS::IoTTwinMaker::ComponentType"
	ResourceTypeCodeBuildReportGroup                                 ResourceType = "AWS::CodeBuild::ReportGroup"
	ResourceTypeSageMakerFeatureGroup                                ResourceType = "AWS::SageMaker::FeatureGroup"
	ResourceTypeMSKBatchScramSecret                                  ResourceType = "AWS::MSK::BatchScramSecret"
	ResourceTypeAppStreamStack                                       ResourceType = "AWS::AppStream::Stack"
	ResourceTypeIoTJobTemplate                                       ResourceType = "AWS::IoT::JobTemplate"
	ResourceTypeIoTWirelessFuotaTask                                 ResourceType = "AWS::IoTWireless::FuotaTask"
	ResourceTypeIoTProvisioningTemplate                              ResourceType = "AWS::IoT::ProvisioningTemplate"
	ResourceTypeInspectorV2Filter                                    ResourceType = "AWS::InspectorV2::Filter"
	ResourceTypeRoute53ResolverResolverQueryLoggingConfigAssociation ResourceType = "AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation"
	ResourceTypeServiceDiscoveryInstance                             ResourceType = "AWS::ServiceDiscovery::Instance"
	ResourceTypeTransferCertificate                                  ResourceType = "AWS::Transfer::Certificate"
	ResourceTypeMediaConnectFlowSource                               ResourceType = "AWS::MediaConnect::FlowSource"
	ResourceTypeAPSRuleGroupsNamespace                               ResourceType = "AWS::APS::RuleGroupsNamespace"
	ResourceTypeCodeGuruProfilerProfilingGroup                       ResourceType = "AWS::CodeGuruProfiler::ProfilingGroup"
	ResourceTypeRoute53ResolverResolverQueryLoggingConfig            ResourceType = "AWS::Route53Resolver::ResolverQueryLoggingConfig"
	ResourceTypeBatchSchedulingPolicy                                ResourceType = "AWS::Batch::SchedulingPolicy"
	ResourceTypeACMPCACertificateAuthorityActivation                 ResourceType = "AWS::ACMPCA::CertificateAuthorityActivation"
	ResourceTypeAppMeshGatewayRoute                                  ResourceType = "AWS::AppMesh::GatewayRoute"
	ResourceTypeAppMeshMesh                                          ResourceType = "AWS::AppMesh::Mesh"
	ResourceTypeConnectInstance                                      ResourceType = "AWS::Connect::Instance"
	ResourceTypeConnectQuickConnect                                  ResourceType = "AWS::Connect::QuickConnect"
	ResourceTypeEC2CarrierGateway                                    ResourceType = "AWS::EC2::CarrierGateway"
	ResourceTypeEC2IPAMPool                                          ResourceType = "AWS::EC2::IPAMPool"
	ResourceTypeEC2TransitGatewayConnect                             ResourceType = "AWS::EC2::TransitGatewayConnect"
	ResourceTypeEC2TransitGatewayMulticastDomain                     ResourceType = "AWS::EC2::TransitGatewayMulticastDomain"
	ResourceTypeECSCapacityProvider                                  ResourceType = "AWS::ECS::CapacityProvider"
	ResourceTypeIAMInstanceProfile                                   ResourceType = "AWS::IAM::InstanceProfile"
	ResourceTypeIoTCACertificate                                     ResourceType = "AWS::IoT::CACertificate"
	ResourceTypeIoTTwinMakerSyncJob                                  ResourceType = "AWS::IoTTwinMaker::SyncJob"
	ResourceTypeKafkaConnectConnector                                ResourceType = "AWS::KafkaConnect::Connector"
	ResourceTypeLambdaCodeSigningConfig                              ResourceType = "AWS::Lambda::CodeSigningConfig"
	ResourceTypeNetworkManagerConnectPeer                            ResourceType = "AWS::NetworkManager::ConnectPeer"
	ResourceTypeResourceExplorer2Index                               ResourceType = "AWS::ResourceExplorer2::Index"
	ResourceTypeAppStreamFleet                                       ResourceType = "AWS::AppStream::Fleet"
	ResourceTypeCognitoUserPool                                      ResourceType = "AWS::Cognito::UserPool"
	ResourceTypeCognitoUserPoolClient                                ResourceType = "AWS::Cognito::UserPoolClient"
	ResourceTypeCognitoUserPoolGroup                                 ResourceType = "AWS::Cognito::UserPoolGroup"
	ResourceTypeEC2NetworkInsightsAccessScope                        ResourceType = "AWS::EC2::NetworkInsightsAccessScope"
	ResourceTypeEC2NetworkInsightsAnalysis                           ResourceType = "AWS::EC2::NetworkInsightsAnalysis"
	ResourceTypeGrafanaWorkspace                                     ResourceType = "AWS::Grafana::Workspace"
	ResourceTypeGroundStationDataflowEndpointGroup                   ResourceType = "AWS::GroundStation::DataflowEndpointGroup"
	ResourceTypeImageBuilderImageRecipe                              ResourceType = "AWS::ImageBuilder::ImageRecipe"
	ResourceTypeKMSAlias                                             ResourceType = "AWS::KMS::Alias"
	ResourceTypeM2Environment                                        ResourceType = "AWS::M2::Environment"
	ResourceTypeQuickSightDataSource                                 ResourceType = "AWS::QuickSight::DataSource"
	ResourceTypeQuickSightTemplate                                   ResourceType = "AWS::QuickSight::Template"
	ResourceTypeQuickSightTheme                                      ResourceType = "AWS::QuickSight::Theme"
	ResourceTypeRDSOptionGroup                                       ResourceType = "AWS::RDS::OptionGroup"
	ResourceTypeRedshiftEndpointAccess                               ResourceType = "AWS::Redshift::EndpointAccess"
	ResourceTypeRoute53ResolverFirewallRuleGroup                     ResourceType = "AWS::Route53Resolver::FirewallRuleGroup"
	ResourceTypeSSMDocument                                          ResourceType = "AWS::SSM::Document"
)

Enum values for ResourceType

func (ResourceType) Values added in v0.29.0

func (ResourceType) Values() []ResourceType

Values returns all known values for ResourceType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ResourceValue

type ResourceValue struct {

	// The value is a resource ID.
	//
	// This member is required.
	Value ResourceValueType
	// contains filtered or unexported fields
}

The dynamic value of the resource.

type ResourceValueType

type ResourceValueType string
const (
	ResourceValueTypeResourceId ResourceValueType = "RESOURCE_ID"
)

Enum values for ResourceValueType

func (ResourceValueType) Values added in v0.29.0

Values returns all known values for ResourceValueType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type RetentionConfiguration

type RetentionConfiguration struct {

	// The name of the retention configuration object.
	//
	// This member is required.
	Name *string

	// Number of days Config stores your historical information. Currently, only
	// applicable to the configuration item history.
	//
	// This member is required.
	RetentionPeriodInDays *int32
	// contains filtered or unexported fields
}

An object with the name of the retention configuration and the retention period in days. The object stores the configuration for data retention in Config.

type Scope

type Scope struct {

	// The ID of the only Amazon Web Services resource that you want to trigger an
	// evaluation for the rule. If you specify a resource ID, you must specify one
	// resource type for ComplianceResourceTypes .
	ComplianceResourceId *string

	// The resource types of only those Amazon Web Services resources that you want to
	// trigger an evaluation for the rule. You can only specify one type if you also
	// specify a resource ID for ComplianceResourceId .
	ComplianceResourceTypes []string

	// The tag key that is applied to only those Amazon Web Services resources that
	// you want to trigger an evaluation for the rule.
	TagKey *string

	// The tag value applied to only those Amazon Web Services resources that you want
	// to trigger an evaluation for the rule. If you specify a value for TagValue , you
	// must also specify a value for TagKey .
	TagValue *string
	// contains filtered or unexported fields
}

Defines which resources trigger an evaluation for an Config rule. The scope can include one or more resource types, a combination of a tag key and value, or a combination of one resource type and one resource ID. Specify a scope to constrain which resources trigger an evaluation for a rule. Otherwise, evaluations for the rule are triggered when any resource in your recording group changes in configuration.

type SortBy added in v1.23.0

type SortBy string
const (
	SortByScore SortBy = "SCORE"
)

Enum values for SortBy

func (SortBy) Values added in v1.23.0

func (SortBy) Values() []SortBy

Values returns all known values for SortBy. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type SortOrder added in v1.23.0

type SortOrder string
const (
	SortOrderAscending  SortOrder = "ASCENDING"
	SortOrderDescending SortOrder = "DESCENDING"
)

Enum values for SortOrder

func (SortOrder) Values added in v1.23.0

func (SortOrder) Values() []SortOrder

Values returns all known values for SortOrder. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type Source

type Source struct {

	// Indicates whether Amazon Web Services or the customer owns and manages the
	// Config rule. Config Managed Rules are predefined rules owned by Amazon Web
	// Services. For more information, see Config Managed Rules (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html)
	// in the Config developer guide. Config Custom Rules are rules that you can
	// develop either with Guard ( CUSTOM_POLICY ) or Lambda ( CUSTOM_LAMBDA ). For
	// more information, see Config Custom Rules  (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_develop-rules.html)
	// in the Config developer guide.
	//
	// This member is required.
	Owner Owner

	// Provides the runtime system, policy definition, and whether debug logging is
	// enabled. Required when owner is set to CUSTOM_POLICY .
	CustomPolicyDetails *CustomPolicyDetails

	// Provides the source and the message types that cause Config to evaluate your
	// Amazon Web Services resources against a rule. It also provides the frequency
	// with which you want Config to run evaluations for the rule if the trigger type
	// is periodic. If the owner is set to CUSTOM_POLICY , the only acceptable values
	// for the Config rule trigger message type are ConfigurationItemChangeNotification
	// and OversizedConfigurationItemChangeNotification .
	SourceDetails []SourceDetail

	// For Config Managed rules, a predefined identifier from a list. For example,
	// IAM_PASSWORD_POLICY is a managed rule. To reference a managed rule, see List of
	// Config Managed Rules (https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html)
	// . For Config Custom Lambda rules, the identifier is the Amazon Resource Name
	// (ARN) of the rule's Lambda function, such as
	// arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name . For Config
	// Custom Policy rules, this field will be ignored.
	SourceIdentifier *string
	// contains filtered or unexported fields
}

Provides the CustomPolicyDetails, the rule owner ( Amazon Web Services for managed rules, CUSTOM_POLICY for Custom Policy rules, and CUSTOM_LAMBDA for Custom Lambda rules), the rule identifier, and the events that cause the evaluation of your Amazon Web Services resources.

type SourceDetail

type SourceDetail struct {

	// The source of the event, such as an Amazon Web Services service, that triggers
	// Config to evaluate your Amazon Web Services resources.
	EventSource EventSource

	// The frequency at which you want Config to run evaluations for a custom rule
	// with a periodic trigger. If you specify a value for MaximumExecutionFrequency ,
	// then MessageType must use the ScheduledNotification value. By default, rules
	// with a periodic trigger are evaluated every 24 hours. To change the frequency,
	// specify a valid value for the MaximumExecutionFrequency parameter. Based on the
	// valid value you choose, Config runs evaluations once for each valid value. For
	// example, if you choose Three_Hours , Config runs evaluations once every three
	// hours. In this case, Three_Hours is the frequency of this rule.
	MaximumExecutionFrequency MaximumExecutionFrequency

	// The type of notification that triggers Config to run an evaluation for a rule.
	// You can specify the following notification types:
	//   - ConfigurationItemChangeNotification - Triggers an evaluation when Config
	//   delivers a configuration item as a result of a resource change.
	//   - OversizedConfigurationItemChangeNotification - Triggers an evaluation when
	//   Config delivers an oversized configuration item. Config may generate this
	//   notification type when a resource changes and the notification exceeds the
	//   maximum size allowed by Amazon SNS.
	//   - ScheduledNotification - Triggers a periodic evaluation at the frequency
	//   specified for MaximumExecutionFrequency .
	//   - ConfigurationSnapshotDeliveryCompleted - Triggers a periodic evaluation when
	//   Config delivers a configuration snapshot.
	// If you want your custom rule to be triggered by configuration changes, specify
	// two SourceDetail objects, one for ConfigurationItemChangeNotification and one
	// for OversizedConfigurationItemChangeNotification .
	MessageType MessageType
	// contains filtered or unexported fields
}

Provides the source and the message types that trigger Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic. You can specify the parameter values for SourceDetail only for custom rules.

type SsmControls

type SsmControls struct {

	// The maximum percentage of remediation actions allowed to run in parallel on the
	// non-compliant resources for that specific rule. You can specify a percentage,
	// such as 10%. The default value is 10.
	ConcurrentExecutionRatePercentage *int32

	// The percentage of errors that are allowed before SSM stops running automations
	// on non-compliant resources for that specific rule. You can specify a percentage
	// of errors, for example 10%. If you do not specifiy a percentage, the default is
	// 50%. For example, if you set the ErrorPercentage to 40% for 10 non-compliant
	// resources, then SSM stops running the automations when the fifth error is
	// received.
	ErrorPercentage *int32
	// contains filtered or unexported fields
}

Amazon Web Services Systems Manager (SSM) specific remediation controls.

type StaticValue

type StaticValue struct {

	// A list of values. For example, the ARN of the assumed role.
	//
	// This member is required.
	Values []string
	// contains filtered or unexported fields
}

The static value of the resource.

type StatusDetailFilters

type StatusDetailFilters struct {

	// The 12-digit account ID of the member account within an organization.
	AccountId *string

	// Indicates deployment status for Config rule in the member account. When
	// management account calls PutOrganizationConfigRule action for the first time,
	// Config rule status is created in the member account. When management account
	// calls PutOrganizationConfigRule action for the second time, Config rule status
	// is updated in the member account. Config rule status is deleted when the
	// management account deletes OrganizationConfigRule and disables service access
	// for config-multiaccountsetup.amazonaws.com . Config sets the state of the rule
	// to:
	//   - CREATE_SUCCESSFUL when Config rule has been created in the member account.
	//   - CREATE_IN_PROGRESS when Config rule is being created in the member account.
	//   - CREATE_FAILED when Config rule creation has failed in the member account.
	//   - DELETE_FAILED when Config rule deletion has failed in the member account.
	//   - DELETE_IN_PROGRESS when Config rule is being deleted in the member account.
	//   - DELETE_SUCCESSFUL when Config rule has been deleted in the member account.
	//   - UPDATE_SUCCESSFUL when Config rule has been updated in the member account.
	//   - UPDATE_IN_PROGRESS when Config rule is being updated in the member account.
	//   - UPDATE_FAILED when Config rule deletion has failed in the member account.
	MemberAccountRuleStatus MemberAccountRuleStatus
	// contains filtered or unexported fields
}

Status filter object to filter results based on specific member account ID or status type for an organization Config rule.

type StoredQuery added in v1.2.0

type StoredQuery struct {

	// The name of the query.
	//
	// This member is required.
	QueryName *string

	// A unique description for the query.
	Description *string

	// The expression of the query. For example, SELECT resourceId, resourceType,
	// supplementaryConfiguration.BucketVersioningConfiguration.status WHERE
	// resourceType = 'AWS::S3::Bucket' AND
	// supplementaryConfiguration.BucketVersioningConfiguration.status = 'Off'.
	Expression *string

	// Amazon Resource Name (ARN) of the query. For example,
	// arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
	QueryArn *string

	// The ID of the query.
	QueryId *string
	// contains filtered or unexported fields
}

Provides the details of a stored query.

type StoredQueryMetadata added in v1.2.0

type StoredQueryMetadata struct {

	// Amazon Resource Name (ARN) of the query. For example,
	// arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
	//
	// This member is required.
	QueryArn *string

	// The ID of the query.
	//
	// This member is required.
	QueryId *string

	// The name of the query.
	//
	// This member is required.
	QueryName *string

	// A unique description for the query.
	Description *string
	// contains filtered or unexported fields
}

Returns details of a specific query.

type Tag

type Tag struct {

	// One part of a key-value pair that make up a tag. A key is a general label that
	// acts like a category for more specific tag values.
	Key *string

	// The optional part of a key-value pair that make up a tag. A value acts as a
	// descriptor within a tag category (key).
	Value *string
	// contains filtered or unexported fields
}

The tags for the resource. The metadata that you apply to a resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.

type TemplateSSMDocumentDetails added in v1.25.0

type TemplateSSMDocumentDetails struct {

	// The name or Amazon Resource Name (ARN) of the SSM document to use to create a
	// conformance pack. If you use the document name, Config checks only your account
	// and Amazon Web Services Region for the SSM document.
	//
	// This member is required.
	DocumentName *string

	// The version of the SSM document to use to create a conformance pack. By
	// default, Config uses the latest version. This field is optional.
	DocumentVersion *string
	// contains filtered or unexported fields
}

This API allows you to create a conformance pack template with an Amazon Web Services Systems Manager document (SSM document). To deploy a conformance pack using an SSM document, first create an SSM document with conformance pack content, and then provide the DocumentName in the PutConformancePack API (https://docs.aws.amazon.com/config/latest/APIReference/API_PutConformancePack.html) . You can also provide the DocumentVersion . The TemplateSSMDocumentDetails object contains the name of the SSM document and the version of the SSM document.

type TimeWindow added in v1.28.0

type TimeWindow struct {

	// The end time of an execution. The end time must be after the start date.
	EndTime *time.Time

	// The start time of an execution.
	StartTime *time.Time
	// contains filtered or unexported fields
}

Filters evaluation results based on start and end times.

type TooManyTagsException

type TooManyTagsException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

You have reached the limit of the number of tags you can use. For more information, see Service Limits (https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the Config Developer Guide.

func (*TooManyTagsException) Error

func (e *TooManyTagsException) Error() string

func (*TooManyTagsException) ErrorCode

func (e *TooManyTagsException) ErrorCode() string

func (*TooManyTagsException) ErrorFault

func (e *TooManyTagsException) ErrorFault() smithy.ErrorFault

func (*TooManyTagsException) ErrorMessage

func (e *TooManyTagsException) ErrorMessage() string

type ValidationException

type ValidationException struct {
	Message *string

	ErrorCodeOverride *string
	// contains filtered or unexported fields
}

The requested action is not valid. For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries. For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL