Documentation ¶
Index ¶
- type AccountAggregationSource
- type AggregateComplianceByConfigRule
- type AggregateComplianceByConformancePack
- type AggregateComplianceCount
- type AggregateConformancePackCompliance
- type AggregateConformancePackComplianceCount
- type AggregateConformancePackComplianceFilters
- type AggregateConformancePackComplianceSummary
- type AggregateConformancePackComplianceSummaryFilters
- type AggregateConformancePackComplianceSummaryGroupKey
- type AggregateEvaluationResult
- type AggregateResourceIdentifier
- type AggregatedSourceStatus
- type AggregatedSourceStatusType
- type AggregatedSourceType
- type AggregationAuthorization
- type BaseConfigurationItem
- type ChronologicalOrder
- type Compliance
- type ComplianceByConfigRule
- type ComplianceByResource
- type ComplianceContributorCount
- type ComplianceSummary
- type ComplianceSummaryByResourceType
- type ComplianceType
- type ConfigExportDeliveryInfo
- type ConfigRule
- type ConfigRuleComplianceFilters
- type ConfigRuleComplianceSummaryFilters
- type ConfigRuleComplianceSummaryGroupKey
- type ConfigRuleEvaluationStatus
- type ConfigRuleState
- type ConfigSnapshotDeliveryProperties
- type ConfigStreamDeliveryInfo
- type ConfigurationAggregator
- type ConfigurationItem
- type ConfigurationItemStatus
- type ConfigurationRecorder
- type ConfigurationRecorderStatus
- type ConformancePackComplianceFilters
- type ConformancePackComplianceSummary
- type ConformancePackComplianceType
- type ConformancePackDetail
- type ConformancePackEvaluationFilters
- type ConformancePackEvaluationResult
- type ConformancePackInputParameter
- type ConformancePackRuleCompliance
- type ConformancePackState
- type ConformancePackStatusDetail
- type ConformancePackTemplateValidationException
- type DeliveryChannel
- type DeliveryChannelStatus
- type DeliveryStatus
- type Evaluation
- type EvaluationResult
- type EvaluationResultIdentifier
- type EvaluationResultQualifier
- type EventSource
- type ExecutionControls
- type ExternalEvaluation
- type FailedDeleteRemediationExceptionsBatch
- type FailedRemediationBatch
- type FailedRemediationExceptionBatch
- type FieldInfo
- type GroupedResourceCount
- type InsufficientDeliveryPolicyException
- type InsufficientPermissionsException
- type InvalidConfigurationRecorderNameException
- type InvalidDeliveryChannelNameException
- type InvalidExpressionException
- type InvalidLimitException
- type InvalidNextTokenException
- type InvalidParameterValueException
- type InvalidRecordingGroupException
- type InvalidResultTokenException
- type InvalidRoleException
- type InvalidS3KeyPrefixException
- type InvalidS3KmsKeyArnException
- type InvalidSNSTopicARNException
- type InvalidTimeRangeException
- type LastDeliveryChannelDeleteFailedException
- type LimitExceededException
- type MaxActiveResourcesExceededException
- type MaxNumberOfConfigRulesExceededException
- type MaxNumberOfConfigurationRecordersExceededException
- func (e *MaxNumberOfConfigurationRecordersExceededException) Error() string
- func (e *MaxNumberOfConfigurationRecordersExceededException) ErrorCode() string
- func (e *MaxNumberOfConfigurationRecordersExceededException) ErrorFault() smithy.ErrorFault
- func (e *MaxNumberOfConfigurationRecordersExceededException) ErrorMessage() string
- type MaxNumberOfConformancePacksExceededException
- func (e *MaxNumberOfConformancePacksExceededException) Error() string
- func (e *MaxNumberOfConformancePacksExceededException) ErrorCode() string
- func (e *MaxNumberOfConformancePacksExceededException) ErrorFault() smithy.ErrorFault
- func (e *MaxNumberOfConformancePacksExceededException) ErrorMessage() string
- type MaxNumberOfDeliveryChannelsExceededException
- func (e *MaxNumberOfDeliveryChannelsExceededException) Error() string
- func (e *MaxNumberOfDeliveryChannelsExceededException) ErrorCode() string
- func (e *MaxNumberOfDeliveryChannelsExceededException) ErrorFault() smithy.ErrorFault
- func (e *MaxNumberOfDeliveryChannelsExceededException) ErrorMessage() string
- type MaxNumberOfOrganizationConfigRulesExceededException
- func (e *MaxNumberOfOrganizationConfigRulesExceededException) Error() string
- func (e *MaxNumberOfOrganizationConfigRulesExceededException) ErrorCode() string
- func (e *MaxNumberOfOrganizationConfigRulesExceededException) ErrorFault() smithy.ErrorFault
- func (e *MaxNumberOfOrganizationConfigRulesExceededException) ErrorMessage() string
- type MaxNumberOfOrganizationConformancePacksExceededException
- func (e *MaxNumberOfOrganizationConformancePacksExceededException) Error() string
- func (e *MaxNumberOfOrganizationConformancePacksExceededException) ErrorCode() string
- func (e *MaxNumberOfOrganizationConformancePacksExceededException) ErrorFault() smithy.ErrorFault
- func (e *MaxNumberOfOrganizationConformancePacksExceededException) ErrorMessage() string
- type MaxNumberOfRetentionConfigurationsExceededException
- func (e *MaxNumberOfRetentionConfigurationsExceededException) Error() string
- func (e *MaxNumberOfRetentionConfigurationsExceededException) ErrorCode() string
- func (e *MaxNumberOfRetentionConfigurationsExceededException) ErrorFault() smithy.ErrorFault
- func (e *MaxNumberOfRetentionConfigurationsExceededException) ErrorMessage() string
- type MaximumExecutionFrequency
- type MemberAccountRuleStatus
- type MemberAccountStatus
- type MessageType
- type NoAvailableConfigurationRecorderException
- type NoAvailableDeliveryChannelException
- type NoAvailableOrganizationException
- type NoRunningConfigurationRecorderException
- type NoSuchBucketException
- type NoSuchConfigRuleException
- type NoSuchConfigRuleInConformancePackException
- type NoSuchConfigurationAggregatorException
- type NoSuchConfigurationRecorderException
- type NoSuchConformancePackException
- type NoSuchDeliveryChannelException
- type NoSuchOrganizationConfigRuleException
- type NoSuchOrganizationConformancePackException
- type NoSuchRemediationConfigurationException
- type NoSuchRemediationExceptionException
- type NoSuchRetentionConfigurationException
- type OrganizationAccessDeniedException
- type OrganizationAggregationSource
- type OrganizationAllFeaturesNotEnabledException
- type OrganizationConfigRule
- type OrganizationConfigRuleStatus
- type OrganizationConfigRuleTriggerType
- type OrganizationConformancePack
- type OrganizationConformancePackDetailedStatus
- type OrganizationConformancePackStatus
- type OrganizationConformancePackTemplateValidationException
- func (e *OrganizationConformancePackTemplateValidationException) Error() string
- func (e *OrganizationConformancePackTemplateValidationException) ErrorCode() string
- func (e *OrganizationConformancePackTemplateValidationException) ErrorFault() smithy.ErrorFault
- func (e *OrganizationConformancePackTemplateValidationException) ErrorMessage() string
- type OrganizationCustomRuleMetadata
- type OrganizationManagedRuleMetadata
- type OrganizationResourceDetailedStatus
- type OrganizationResourceDetailedStatusFilters
- type OrganizationResourceStatus
- type OrganizationRuleStatus
- type OversizedConfigurationItemException
- type Owner
- type PendingAggregationRequest
- type QueryInfo
- type RecorderStatus
- type RecordingGroup
- type Relationship
- type RemediationConfiguration
- type RemediationException
- type RemediationExceptionResourceKey
- type RemediationExecutionState
- type RemediationExecutionStatus
- type RemediationExecutionStep
- type RemediationExecutionStepState
- type RemediationInProgressException
- type RemediationParameterValue
- type RemediationTargetType
- type ResourceConcurrentModificationException
- type ResourceCount
- type ResourceCountFilters
- type ResourceCountGroupKey
- type ResourceFilters
- type ResourceIdentifier
- type ResourceInUseException
- type ResourceKey
- type ResourceNotDiscoveredException
- type ResourceNotFoundException
- type ResourceType
- type ResourceValue
- type ResourceValueType
- type RetentionConfiguration
- type Scope
- type Source
- type SourceDetail
- type SsmControls
- type StaticValue
- type StatusDetailFilters
- type StoredQuery
- type StoredQueryMetadata
- type Tag
- type TooManyTagsException
- type ValidationException
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 AWS Config regions and future regions. AllAwsRegions bool // The source regions being aggregated. AwsRegions []string }
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 AWS resource or AWS Config rule is compliant and provides // the number of contributors that affect the compliance. Compliance *Compliance // The name of the AWS Config rule. ConfigRuleName *string }
Indicates whether an AWS 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 AWS account ID of the source account. AccountId *string // The source AWS 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 }
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 AWS Config rules. ComplianceSummary *ComplianceSummary // The 12-digit account ID or region based on the GroupByKey value. GroupName *string }
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 AWS Config Rules. CompliantRuleCount int32 // The number of noncompliant AWS 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 }
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 }
The number of conformance packs that are compliant and noncompliant.
type AggregateConformancePackComplianceFilters ¶ added in v1.3.0
type AggregateConformancePackComplianceFilters struct { // The 12-digit AWS account ID of the source account. AccountId *string // The source AWS 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 }
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 AWS Account ID or AWS Region. GroupName *string }
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 AWS account ID of the source account. AccountId *string // The source AWS Region from where the data is aggregated. AwsRegion *string }
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
func (AggregateConformancePackComplianceSummaryGroupKey) Values() []AggregateConformancePackComplianceSummaryGroupKey
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, // AWS Config supports only the COMPLIANT and NON_COMPLIANT. AWS Config does not // support the NOT_APPLICABLE and INSUFFICIENT_DATA value. ComplianceType ComplianceType // The time when the AWS Config rule evaluated the AWS resource. ConfigRuleInvokedTime *time.Time // Uniquely identifies the evaluation result. EvaluationResultIdentifier *EvaluationResultIdentifier // The time when AWS Config recorded the aggregate evaluation result. ResultRecordedTime *time.Time }
The details of an AWS Config evaluation for an account ID and region in an aggregator. Provides the AWS resource that was evaluated, the compliance of the resource, related time stamps, and supplementary information.
type AggregateResourceIdentifier ¶
type AggregateResourceIdentifier struct { // The ID of the AWS resource. // // This member is required. ResourceId *string // The type of the AWS 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 AWS resource. ResourceName *string }
The details that identify a resource that is collected by AWS 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 AWS 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 }
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
func (AggregatedSourceStatusType) Values() []AggregatedSourceStatusType
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
func (AggregatedSourceType) Values() []AggregatedSourceType
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 }
An object that represents the authorizations granted to aggregator accounts and regions.
type BaseConfigurationItem ¶
type BaseConfigurationItem struct { // The 12-digit AWS 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 configuration recording was initiated. ConfigurationItemCaptureTime *time.Time // The configuration item status. The valid values are: // // * 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 excludes the recording of // resources of this type // // * ResourceDeleted – The resource was deleted // // * // ResourceDeletedNotRecorded – The resource was deleted but its configuration was // not recorded since the recorder excludes the recording of resources of this // type // // The CIs do not incur any cost. ConfigurationItemStatus ConfigurationItemStatus // An identifier that indicates the ordering of the configuration items of a // resource. ConfigurationStateId *string // 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 AWS resource. ResourceType ResourceType // Configuration attributes that AWS 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 }
The detailed configuration 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
func (ChronologicalOrder) Values() []ChronologicalOrder
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 AWS resources or AWS Config rules that cause a result of // NON_COMPLIANT, up to a maximum number. ComplianceContributorCount *ComplianceContributorCount // Indicates whether an AWS resource or AWS Config rule is compliant. A resource is // compliant if it complies with all of the AWS 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. AWS Config // returns the INSUFFICIENT_DATA value when no evaluation results are available for // the AWS resource or AWS Config rule. For the Compliance data type, AWS Config // supports only COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA values. AWS Config // does not support the NOT_APPLICABLE value for the Compliance data type. ComplianceType ComplianceType }
Indicates whether an AWS resource or AWS Config rule is compliant and provides the number of contributors that affect the compliance.
type ComplianceByConfigRule ¶
type ComplianceByConfigRule struct { // Indicates whether the AWS Config rule is compliant. Compliance *Compliance // The name of the AWS Config rule. ConfigRuleName *string }
Indicates whether an AWS 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 AWS resource complies with all of the AWS Config rules // that evaluated it. Compliance *Compliance // The ID of the AWS resource that was evaluated. ResourceId *string // The type of the AWS resource that was evaluated. ResourceType *string }
Indicates whether an AWS resource that is evaluated according to one or more AWS 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 AWS resources or AWS Config rules responsible for the current // compliance of the item. CappedCount int32 }
The number of AWS resources or AWS Config rules responsible for the current compliance of the item, up to a maximum number.
type ComplianceSummary ¶
type ComplianceSummary struct { // The time that AWS Config created the compliance summary. ComplianceSummaryTimestamp *time.Time // The number of AWS Config rules or AWS resources that are compliant, up to a // maximum of 25 for rules and 100 for resources. CompliantResourceCount *ComplianceContributorCount // The number of AWS Config rules or AWS resources that are noncompliant, up to a // maximum of 25 for rules and 100 for resources. NonCompliantResourceCount *ComplianceContributorCount }
The number of AWS Config rules or AWS resources that are compliant and noncompliant.
type ComplianceSummaryByResourceType ¶
type ComplianceSummaryByResourceType struct { // The number of AWS resources that are compliant or noncompliant, up to a maximum // of 100 for each. ComplianceSummary *ComplianceSummary // The type of AWS resource. ResourceType *string }
The number of AWS 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 }
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 (AWS or customer), the rule identifier, and the // notifications that cause the function to evaluate your AWS resources. // // This member is required. Source *Source // The Amazon Resource Name (ARN) of the AWS Config rule. ConfigRuleArn *string // The ID of the AWS Config rule. ConfigRuleId *string // The name that you assign to the AWS Config rule. The name is required if you are // adding a new rule. ConfigRuleName *string // Indicates whether the AWS Config rule is active or is currently being deleted by // AWS Config. It can also indicate the evaluation status for the AWS Config rule. // AWS Config sets the state of the rule to EVALUATING temporarily after you use // the StartConfigRulesEvaluation request to evaluate your resources against the // AWS Config rule. AWS 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 AWS Config rule. AWS Config temporarily sets // the state of a rule to DELETING after you use the DeleteConfigRule request to // delete the rule. After AWS 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 AWS Config rule. Description *string // A string, in JSON format, that is passed to the AWS Config rule Lambda function. InputParameters *string // The maximum frequency with which AWS Config runs evaluations for a rule. You can // specify a value for MaximumExecutionFrequency when: // // * You are using an AWS // managed rule that is triggered at a periodic frequency. // // * Your custom rule is // triggered when AWS 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 }
An AWS Config rule represents an AWS Lambda function that you create for a custom rule or a predefined function for an AWS managed rule. The function evaluates configuration items to assess whether your AWS resources comply with your desired configurations. This function can run when AWS Config detects a configuration change to an AWS resource and at a periodic frequency that you choose (for example, every 24 hours). You can use the AWS CLI and AWS SDKs if you want to create a rule that triggers evaluations for your resources when AWS Config delivers the configuration snapshot. For more information, see ConfigSnapshotDeliveryProperties. For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the AWS Config Developer Guide.
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, AWS // Config supports only COMPLIANT and NON_COMPLIANT. AWS Config does not support // the NOT_APPLICABLE and the INSUFFICIENT_DATA values. ComplianceType ComplianceType // The name of the AWS Config rule. ConfigRuleName *string }
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 }
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
func (ConfigRuleComplianceSummaryGroupKey) Values() []ConfigRuleComplianceSummaryGroupKey
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 AWS Config rule. ConfigRuleArn *string // The ID of the AWS Config rule. ConfigRuleId *string // The name of the AWS Config rule. ConfigRuleName *string // The time that you first activated the AWS Config rule. FirstActivatedTime *time.Time // Indicates whether AWS Config has evaluated your resources against the rule at // least once. // // * true - AWS Config has evaluated your AWS resources against the // rule at least once. // // * false - AWS Config has not once finished evaluating your // AWS resources against the rule. FirstEvaluationStarted bool // The time that you last turned off the AWS Config rule. LastDeactivatedTime *time.Time // The error code that AWS Config returned when the rule last failed. LastErrorCode *string // The error message that AWS Config returned when the rule last failed. LastErrorMessage *string // The time that AWS Config last failed to evaluate your AWS resources against the // rule. LastFailedEvaluationTime *time.Time // The time that AWS Config last failed to invoke the AWS Config rule to evaluate // your AWS resources. LastFailedInvocationTime *time.Time // The time that AWS Config last successfully evaluated your AWS resources against // the rule. LastSuccessfulEvaluationTime *time.Time // The time that AWS Config last successfully invoked the AWS Config rule to // evaluate your AWS resources. LastSuccessfulInvocationTime *time.Time }
Status information for your AWS managed Config 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 custom AWS Config 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 AWS Config delivers configuration snapshots. DeliveryFrequency MaximumExecutionFrequency }
Provides options for how often AWS 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 AWS 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 AWS Config delivers configuration snapshots. This value also sets how often AWS Config invokes evaluations for AWS Config rules.
* The value for the MaximumExecutionFrequency parameter, which sets the maximum frequency with which AWS 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, AWS Config invokes the rule only as often as the deliveryFrequency value.
* For example, you want your rule to run evaluations when AWS 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, AWS 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 AWS 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 AWS 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 }
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 // AWS 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 }
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 AWS 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 configuration recording was initiated. ConfigurationItemCaptureTime *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. The valid values are: // // * 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 excludes the recording of // resources of this type // // * ResourceDeleted – The resource was deleted // // * // ResourceDeletedNotRecorded – The resource was deleted but its configuration was // not recorded since the recorder excludes the recording of resources of this // type // // The CIs do not incur any cost. ConfigurationItemStatus ConfigurationItemStatus // An identifier that indicates the ordering of the configuration items of a // resource. ConfigurationStateId *string // 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 AWS 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 AWS CloudTrail API Reference to retrieve the events for the resource. RelatedEvents []string // A list of related AWS 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 AWS resource. ResourceType ResourceType // Configuration attributes that AWS 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 }
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
func (ConfigurationItemStatus) Values() []ConfigurationItemStatus
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 recorder. By default, AWS Config automatically assigns the name // "default" when creating the configuration recorder. You cannot change the // assigned name. Name *string // Specifies the types of AWS resources for which AWS Config records configuration // changes. RecordingGroup *RecordingGroup // Amazon Resource Name (ARN) of the IAM role used to describe the AWS resources // associated with the account. RoleARN *string }
An object that represents the recording of configuration changes of an AWS resource.
type ConfigurationRecorderStatus ¶
type ConfigurationRecorderStatus struct { // The error code indicating that the recording failed. LastErrorCode *string // The message indicating that the recording failed due to an error. LastErrorMessage *string // The time the recorder was last started. LastStartTime *time.Time // The last (previous) status of the recorder. LastStatus RecorderStatus // The time when the status was last changed. 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 }
The current status of the configuration recorder.
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 AWS Config rule names. ConfigRuleNames []string }
Filters the conformance pack by compliance types and AWS Config rule names.
type ConformancePackComplianceSummary ¶
type ConformancePackComplianceSummary struct { // The status of the conformance pack. The allowed values are COMPLIANT, // NON_COMPLIANT and INSUFFICIENT_DATA. // // This member is required. ConformancePackComplianceStatus ConformancePackComplianceType // The name of the conformance pack name. // // This member is required. ConformancePackName *string }
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
func (ConformancePackComplianceType) Values() []ConformancePackComplianceType
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 // AWS service that created the conformance pack. CreatedBy *string // Amazon S3 bucket where AWS Config stores conformance pack templates. This field // is optional. DeliveryS3Bucket *string // The prefix for the Amazon S3 bucket. This field is optional. DeliveryS3KeyPrefix *string // Last time when conformation pack update was requested. LastUpdateRequestedTime *time.Time }
Returns details of a conformance pack. A conformance pack is a collection of AWS 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 AWS 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 }
Filters a conformance pack by AWS Config rule names, compliance types, AWS 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 AWS Config rule evaluated AWS resource. // // This member is required. ConfigRuleInvokedTime *time.Time // Uniquely identifies an evaluation result. // // This member is required. EvaluationResultIdentifier *EvaluationResultIdentifier // The time when AWS Config recorded the evaluation result. // // This member is required. ResultRecordedTime *time.Time // Supplementary information about how the evaluation determined the compliance. Annotation *string }
The details of a conformance pack evaluation. Provides AWS Config rule and AWS 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 }
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 AWS Config rule. The allowed values are COMPLIANT, // NON_COMPLIANT, and INSUFFICIENT_DATA. 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 }
Compliance information of one or more AWS Config rules within a conformance pack. You can filter using AWS 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
func (ConformancePackState) Values() []ConformancePackState
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. AWS 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 AWS 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 }
Status details of a conformance pack.
type ConformancePackTemplateValidationException ¶
type ConformancePackTemplateValidationException struct {
Message *string
}
You have specified a template that is not valid or supported.
func (*ConformancePackTemplateValidationException) Error ¶
func (e *ConformancePackTemplateValidationException) Error() string
func (*ConformancePackTemplateValidationException) ErrorCode ¶
func (e *ConformancePackTemplateValidationException) ErrorCode() string
func (*ConformancePackTemplateValidationException) ErrorFault ¶
func (e *ConformancePackTemplateValidationException) ErrorFault() smithy.ErrorFault
func (*ConformancePackTemplateValidationException) ErrorMessage ¶
func (e *ConformancePackTemplateValidationException) ErrorMessage() string
type DeliveryChannel ¶
type DeliveryChannel struct { // The options for how often AWS Config delivers configuration snapshots to the // Amazon S3 bucket. ConfigSnapshotDeliveryProperties *ConfigSnapshotDeliveryProperties // The name of the delivery channel. By default, AWS 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 AWS Config delivers configuration // snapshots and configuration history files. If you specify a bucket that belongs // to another AWS account, that bucket must have policies that grant access // permissions to AWS 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 AWS Config Developer Guide. S3BucketName *string // The prefix for the specified Amazon S3 bucket. S3KeyPrefix *string // The Amazon Resource Name (ARN) of the AWS Key Management Service (KMS) customer // managed key (CMK) used to encrypt objects delivered by AWS 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 AWS Config sends // notifications about configuration changes. If you choose a topic from another // account, the topic must have policies that grant access permissions to AWS // 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 AWS Config Developer Guide. SnsTopicARN *string }
The channel through which AWS 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 }
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 Evaluation ¶
type Evaluation struct { // The ID of the AWS resource that was evaluated. // // This member is required. ComplianceResourceId *string // The type of AWS resource that was evaluated. // // This member is required. ComplianceResourceType *string // Indicates whether the AWS resource complies with the AWS Config rule that it was // evaluated against. For the Evaluation data type, AWS Config supports only the // COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support // the INSUFFICIENT_DATA value for this data type. Similarly, AWS Config does not // accept INSUFFICIENT_DATA as the value for ComplianceType from a PutEvaluations // request. For example, an AWS Lambda function for a custom AWS Config rule cannot // pass an INSUFFICIENT_DATA value to AWS Config. // // This member is required. ComplianceType ComplianceType // The time of the event in AWS Config that triggered the evaluation. For // event-based evaluations, the time indicates when AWS Config created the // configuration item that triggered the evaluation. For periodic evaluations, the // time indicates when AWS 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 }
Identifies an AWS resource and indicates whether it complies with the AWS Config rule that it was evaluated against.
type EvaluationResult ¶
type EvaluationResult struct { // Supplementary information about how the evaluation determined the compliance. Annotation *string // Indicates whether the AWS resource complies with the AWS Config rule that // evaluated it. For the EvaluationResult data type, AWS Config supports only the // COMPLIANT, NON_COMPLIANT, and NOT_APPLICABLE values. AWS Config does not support // the INSUFFICIENT_DATA value for the EvaluationResult data type. ComplianceType ComplianceType // The time when the AWS Config rule evaluated the AWS resource. ConfigRuleInvokedTime *time.Time // Uniquely identifies the evaluation result. EvaluationResultIdentifier *EvaluationResultIdentifier // The time when AWS Config recorded the evaluation result. ResultRecordedTime *time.Time // An encrypted token that associates an evaluation with an AWS Config rule. The // token identifies the rule, the AWS resource being evaluated, and the event that // triggered the evaluation. ResultToken *string }
The details of an AWS Config evaluation. Provides the AWS resource that was evaluated, the compliance of the resource, related time stamps, and supplementary information.
type EvaluationResultIdentifier ¶
type EvaluationResultIdentifier struct { // Identifies an AWS Config rule used to evaluate an AWS resource, and provides the // type and ID of the evaluated resource. EvaluationResultQualifier *EvaluationResultQualifier // The time of the event that triggered the evaluation of your AWS resources. The // time can indicate when AWS Config delivered a configuration item change // notification, or it can indicate when AWS Config delivered the configuration // snapshot, depending on which event triggered the evaluation. OrderingTimestamp *time.Time }
Uniquely identifies an evaluation result.
type EvaluationResultQualifier ¶
type EvaluationResultQualifier struct { // The name of the AWS Config rule that was used in the evaluation. ConfigRuleName *string // The ID of the evaluated AWS resource. ResourceId *string // The type of AWS resource that was evaluated. ResourceType *string }
Identifies an AWS Config rule that evaluated an AWS resource, and provides the type and ID of the resource that the rule evaluated.
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 ExecutionControls ¶
type ExecutionControls struct { // A SsmControls object. SsmControls *SsmControls }
The controls that AWS Config uses for executing remediations.
type ExternalEvaluation ¶ added in v1.2.0
type ExternalEvaluation struct { // The evaluated compliance resource ID. AWS Config accepts only AWS account ID. // // This member is required. ComplianceResourceId *string // The evaluated compliance resource type. AWS Config accepts AWS::::Account // resource type. // // This member is required. ComplianceResourceType *string // The compliance of the AWS 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 }
Identifies an AWS resource and indicates whether it complies with the AWS 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, AWS // Config creates an exception due to an internal error. FailureMessage *string }
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 }
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 }
List of each of the failed remediation exceptions with specific reasons.
type FieldInfo ¶
type FieldInfo struct { // Name of the field. Name *string }
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 }
The count of resources that are grouped by the group name.
type InsufficientDeliveryPolicyException ¶
type InsufficientDeliveryPolicyException struct {
Message *string
}
Your Amazon S3 bucket policy does not permit AWS Config to write to it.
func (*InsufficientDeliveryPolicyException) Error ¶
func (e *InsufficientDeliveryPolicyException) Error() string
func (*InsufficientDeliveryPolicyException) ErrorCode ¶
func (e *InsufficientDeliveryPolicyException) ErrorCode() string
func (*InsufficientDeliveryPolicyException) ErrorFault ¶
func (e *InsufficientDeliveryPolicyException) ErrorFault() smithy.ErrorFault
func (*InsufficientDeliveryPolicyException) ErrorMessage ¶
func (e *InsufficientDeliveryPolicyException) ErrorMessage() string
type InsufficientPermissionsException ¶
type InsufficientPermissionsException struct {
Message *string
}
Indicates one of the following errors:
* For PutConfigRule, the rule cannot be created because the IAM role assigned to AWS Config lacks permissions to perform the config:Put* action.
* For PutConfigRule, the AWS 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 permissions:
* To call IAM GetRole action or create a service linked role.
* To read Amazon S3 bucket.
func (*InsufficientPermissionsException) Error ¶
func (e *InsufficientPermissionsException) Error() string
func (*InsufficientPermissionsException) ErrorCode ¶
func (e *InsufficientPermissionsException) ErrorCode() string
func (*InsufficientPermissionsException) ErrorFault ¶
func (e *InsufficientPermissionsException) ErrorFault() smithy.ErrorFault
func (*InsufficientPermissionsException) ErrorMessage ¶
func (e *InsufficientPermissionsException) ErrorMessage() string
type InvalidConfigurationRecorderNameException ¶
type InvalidConfigurationRecorderNameException struct {
Message *string
}
You have provided a configuration recorder name that is not valid.
func (*InvalidConfigurationRecorderNameException) Error ¶
func (e *InvalidConfigurationRecorderNameException) Error() string
func (*InvalidConfigurationRecorderNameException) ErrorCode ¶
func (e *InvalidConfigurationRecorderNameException) ErrorCode() string
func (*InvalidConfigurationRecorderNameException) ErrorFault ¶
func (e *InvalidConfigurationRecorderNameException) ErrorFault() smithy.ErrorFault
func (*InvalidConfigurationRecorderNameException) ErrorMessage ¶
func (e *InvalidConfigurationRecorderNameException) ErrorMessage() string
type InvalidDeliveryChannelNameException ¶
type InvalidDeliveryChannelNameException struct {
Message *string
}
The specified delivery channel name is not valid.
func (*InvalidDeliveryChannelNameException) Error ¶
func (e *InvalidDeliveryChannelNameException) Error() string
func (*InvalidDeliveryChannelNameException) ErrorCode ¶
func (e *InvalidDeliveryChannelNameException) ErrorCode() string
func (*InvalidDeliveryChannelNameException) ErrorFault ¶
func (e *InvalidDeliveryChannelNameException) ErrorFault() smithy.ErrorFault
func (*InvalidDeliveryChannelNameException) ErrorMessage ¶
func (e *InvalidDeliveryChannelNameException) ErrorMessage() string
type InvalidExpressionException ¶
type InvalidExpressionException struct {
Message *string
}
The syntax of the query is incorrect.
func (*InvalidExpressionException) Error ¶
func (e *InvalidExpressionException) Error() string
func (*InvalidExpressionException) ErrorCode ¶
func (e *InvalidExpressionException) ErrorCode() string
func (*InvalidExpressionException) ErrorFault ¶
func (e *InvalidExpressionException) ErrorFault() smithy.ErrorFault
func (*InvalidExpressionException) ErrorMessage ¶
func (e *InvalidExpressionException) ErrorMessage() string
type InvalidLimitException ¶
type InvalidLimitException struct {
Message *string
}
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
}
The specified next token is invalid. 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 (e *InvalidNextTokenException) ErrorFault() smithy.ErrorFault
func (*InvalidNextTokenException) ErrorMessage ¶
func (e *InvalidNextTokenException) ErrorMessage() string
type InvalidParameterValueException ¶
type InvalidParameterValueException struct {
Message *string
}
One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.
func (*InvalidParameterValueException) Error ¶
func (e *InvalidParameterValueException) Error() string
func (*InvalidParameterValueException) ErrorCode ¶
func (e *InvalidParameterValueException) ErrorCode() string
func (*InvalidParameterValueException) ErrorFault ¶
func (e *InvalidParameterValueException) ErrorFault() smithy.ErrorFault
func (*InvalidParameterValueException) ErrorMessage ¶
func (e *InvalidParameterValueException) ErrorMessage() string
type InvalidRecordingGroupException ¶
type InvalidRecordingGroupException struct {
Message *string
}
AWS Config throws an exception if the recording group does not contain a valid list of resource types. Invalid values might also be incorrectly formatted.
func (*InvalidRecordingGroupException) Error ¶
func (e *InvalidRecordingGroupException) Error() string
func (*InvalidRecordingGroupException) ErrorCode ¶
func (e *InvalidRecordingGroupException) ErrorCode() string
func (*InvalidRecordingGroupException) ErrorFault ¶
func (e *InvalidRecordingGroupException) ErrorFault() smithy.ErrorFault
func (*InvalidRecordingGroupException) ErrorMessage ¶
func (e *InvalidRecordingGroupException) ErrorMessage() string
type InvalidResultTokenException ¶
type InvalidResultTokenException struct {
Message *string
}
The specified ResultToken is invalid.
func (*InvalidResultTokenException) Error ¶
func (e *InvalidResultTokenException) Error() string
func (*InvalidResultTokenException) ErrorCode ¶
func (e *InvalidResultTokenException) ErrorCode() string
func (*InvalidResultTokenException) ErrorFault ¶
func (e *InvalidResultTokenException) ErrorFault() smithy.ErrorFault
func (*InvalidResultTokenException) ErrorMessage ¶
func (e *InvalidResultTokenException) ErrorMessage() string
type InvalidRoleException ¶
type InvalidRoleException struct {
Message *string
}
You have provided a null or empty role ARN.
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
}
The specified Amazon S3 key prefix is not valid.
func (*InvalidS3KeyPrefixException) Error ¶
func (e *InvalidS3KeyPrefixException) Error() string
func (*InvalidS3KeyPrefixException) ErrorCode ¶
func (e *InvalidS3KeyPrefixException) ErrorCode() string
func (*InvalidS3KeyPrefixException) ErrorFault ¶
func (e *InvalidS3KeyPrefixException) ErrorFault() smithy.ErrorFault
func (*InvalidS3KeyPrefixException) ErrorMessage ¶
func (e *InvalidS3KeyPrefixException) ErrorMessage() string
type InvalidS3KmsKeyArnException ¶ added in v1.2.0
type InvalidS3KmsKeyArnException struct {
Message *string
}
The specified Amazon KMS Key ARN is not valid.
func (*InvalidS3KmsKeyArnException) Error ¶ added in v1.2.0
func (e *InvalidS3KmsKeyArnException) Error() string
func (*InvalidS3KmsKeyArnException) ErrorCode ¶ added in v1.2.0
func (e *InvalidS3KmsKeyArnException) ErrorCode() string
func (*InvalidS3KmsKeyArnException) ErrorFault ¶ added in v1.2.0
func (e *InvalidS3KmsKeyArnException) ErrorFault() smithy.ErrorFault
func (*InvalidS3KmsKeyArnException) ErrorMessage ¶ added in v1.2.0
func (e *InvalidS3KmsKeyArnException) ErrorMessage() string
type InvalidSNSTopicARNException ¶
type InvalidSNSTopicARNException struct {
Message *string
}
The specified Amazon SNS topic does not exist.
func (*InvalidSNSTopicARNException) Error ¶
func (e *InvalidSNSTopicARNException) Error() string
func (*InvalidSNSTopicARNException) ErrorCode ¶
func (e *InvalidSNSTopicARNException) ErrorCode() string
func (*InvalidSNSTopicARNException) ErrorFault ¶
func (e *InvalidSNSTopicARNException) ErrorFault() smithy.ErrorFault
func (*InvalidSNSTopicARNException) ErrorMessage ¶
func (e *InvalidSNSTopicARNException) ErrorMessage() string
type InvalidTimeRangeException ¶
type InvalidTimeRangeException struct {
Message *string
}
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 (e *InvalidTimeRangeException) ErrorFault() smithy.ErrorFault
func (*InvalidTimeRangeException) ErrorMessage ¶
func (e *InvalidTimeRangeException) ErrorMessage() string
type LastDeliveryChannelDeleteFailedException ¶
type LastDeliveryChannelDeleteFailedException struct {
Message *string
}
You cannot delete the delivery channel you specified because the configuration recorder is running.
func (*LastDeliveryChannelDeleteFailedException) Error ¶
func (e *LastDeliveryChannelDeleteFailedException) Error() string
func (*LastDeliveryChannelDeleteFailedException) ErrorCode ¶
func (e *LastDeliveryChannelDeleteFailedException) ErrorCode() string
func (*LastDeliveryChannelDeleteFailedException) ErrorFault ¶
func (e *LastDeliveryChannelDeleteFailedException) ErrorFault() smithy.ErrorFault
func (*LastDeliveryChannelDeleteFailedException) ErrorMessage ¶
func (e *LastDeliveryChannelDeleteFailedException) ErrorMessage() string
type LimitExceededException ¶
type LimitExceededException struct {
Message *string
}
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
}
You have reached the limit (100,000) of active custom resource types in your account. Delete unused resources using DeleteResourceConfig.
func (*MaxActiveResourcesExceededException) Error ¶
func (e *MaxActiveResourcesExceededException) Error() string
func (*MaxActiveResourcesExceededException) ErrorCode ¶
func (e *MaxActiveResourcesExceededException) ErrorCode() string
func (*MaxActiveResourcesExceededException) ErrorFault ¶
func (e *MaxActiveResourcesExceededException) ErrorFault() smithy.ErrorFault
func (*MaxActiveResourcesExceededException) ErrorMessage ¶
func (e *MaxActiveResourcesExceededException) ErrorMessage() string
type MaxNumberOfConfigRulesExceededException ¶
type MaxNumberOfConfigRulesExceededException struct {
Message *string
}
Failed to add the AWS 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 (e *MaxNumberOfConfigRulesExceededException) Error() string
func (*MaxNumberOfConfigRulesExceededException) ErrorCode ¶
func (e *MaxNumberOfConfigRulesExceededException) ErrorCode() string
func (*MaxNumberOfConfigRulesExceededException) ErrorFault ¶
func (e *MaxNumberOfConfigRulesExceededException) ErrorFault() smithy.ErrorFault
func (*MaxNumberOfConfigRulesExceededException) ErrorMessage ¶
func (e *MaxNumberOfConfigRulesExceededException) ErrorMessage() string
type MaxNumberOfConfigurationRecordersExceededException ¶
type MaxNumberOfConfigurationRecordersExceededException struct {
Message *string
}
You have reached the limit of the number of recorders you can create.
func (*MaxNumberOfConfigurationRecordersExceededException) Error ¶
func (e *MaxNumberOfConfigurationRecordersExceededException) Error() string
func (*MaxNumberOfConfigurationRecordersExceededException) ErrorCode ¶
func (e *MaxNumberOfConfigurationRecordersExceededException) ErrorCode() string
func (*MaxNumberOfConfigurationRecordersExceededException) ErrorFault ¶
func (e *MaxNumberOfConfigurationRecordersExceededException) ErrorFault() smithy.ErrorFault
func (*MaxNumberOfConfigurationRecordersExceededException) ErrorMessage ¶
func (e *MaxNumberOfConfigurationRecordersExceededException) ErrorMessage() string
type MaxNumberOfConformancePacksExceededException ¶
type MaxNumberOfConformancePacksExceededException struct {
Message *string
}
You have reached the limit (6) of the number of conformance packs in an account (6 conformance pack with 25 AWS Config rules per pack).
func (*MaxNumberOfConformancePacksExceededException) Error ¶
func (e *MaxNumberOfConformancePacksExceededException) Error() string
func (*MaxNumberOfConformancePacksExceededException) ErrorCode ¶
func (e *MaxNumberOfConformancePacksExceededException) ErrorCode() string
func (*MaxNumberOfConformancePacksExceededException) ErrorFault ¶
func (e *MaxNumberOfConformancePacksExceededException) ErrorFault() smithy.ErrorFault
func (*MaxNumberOfConformancePacksExceededException) ErrorMessage ¶
func (e *MaxNumberOfConformancePacksExceededException) ErrorMessage() string
type MaxNumberOfDeliveryChannelsExceededException ¶
type MaxNumberOfDeliveryChannelsExceededException struct {
Message *string
}
You have reached the limit of the number of delivery channels you can create.
func (*MaxNumberOfDeliveryChannelsExceededException) Error ¶
func (e *MaxNumberOfDeliveryChannelsExceededException) Error() string
func (*MaxNumberOfDeliveryChannelsExceededException) ErrorCode ¶
func (e *MaxNumberOfDeliveryChannelsExceededException) ErrorCode() string
func (*MaxNumberOfDeliveryChannelsExceededException) ErrorFault ¶
func (e *MaxNumberOfDeliveryChannelsExceededException) ErrorFault() smithy.ErrorFault
func (*MaxNumberOfDeliveryChannelsExceededException) ErrorMessage ¶
func (e *MaxNumberOfDeliveryChannelsExceededException) ErrorMessage() string
type MaxNumberOfOrganizationConfigRulesExceededException ¶
type MaxNumberOfOrganizationConfigRulesExceededException struct {
Message *string
}
You have reached the limit of the number of organization config rules you can create.
func (*MaxNumberOfOrganizationConfigRulesExceededException) Error ¶
func (e *MaxNumberOfOrganizationConfigRulesExceededException) Error() string
func (*MaxNumberOfOrganizationConfigRulesExceededException) ErrorCode ¶
func (e *MaxNumberOfOrganizationConfigRulesExceededException) ErrorCode() string
func (*MaxNumberOfOrganizationConfigRulesExceededException) ErrorFault ¶
func (e *MaxNumberOfOrganizationConfigRulesExceededException) ErrorFault() smithy.ErrorFault
func (*MaxNumberOfOrganizationConfigRulesExceededException) ErrorMessage ¶
func (e *MaxNumberOfOrganizationConfigRulesExceededException) ErrorMessage() string
type MaxNumberOfOrganizationConformancePacksExceededException ¶
type MaxNumberOfOrganizationConformancePacksExceededException struct {
Message *string
}
You have reached the limit (6) of the number of organization conformance packs in an account (6 conformance pack with 25 AWS Config rules per pack per account).
func (*MaxNumberOfOrganizationConformancePacksExceededException) Error ¶
func (e *MaxNumberOfOrganizationConformancePacksExceededException) Error() string
func (*MaxNumberOfOrganizationConformancePacksExceededException) ErrorCode ¶
func (e *MaxNumberOfOrganizationConformancePacksExceededException) ErrorCode() string
func (*MaxNumberOfOrganizationConformancePacksExceededException) ErrorFault ¶
func (e *MaxNumberOfOrganizationConformancePacksExceededException) ErrorFault() smithy.ErrorFault
func (*MaxNumberOfOrganizationConformancePacksExceededException) ErrorMessage ¶
func (e *MaxNumberOfOrganizationConformancePacksExceededException) ErrorMessage() string
type MaxNumberOfRetentionConfigurationsExceededException ¶
type MaxNumberOfRetentionConfigurationsExceededException struct {
Message *string
}
Failed to add the retention configuration because a retention configuration with that name already exists.
func (*MaxNumberOfRetentionConfigurationsExceededException) Error ¶
func (e *MaxNumberOfRetentionConfigurationsExceededException) Error() string
func (*MaxNumberOfRetentionConfigurationsExceededException) ErrorCode ¶
func (e *MaxNumberOfRetentionConfigurationsExceededException) ErrorCode() string
func (*MaxNumberOfRetentionConfigurationsExceededException) ErrorFault ¶
func (e *MaxNumberOfRetentionConfigurationsExceededException) ErrorFault() smithy.ErrorFault
func (*MaxNumberOfRetentionConfigurationsExceededException) ErrorMessage ¶
func (e *MaxNumberOfRetentionConfigurationsExceededException) ErrorMessage() string
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
func (MaximumExecutionFrequency) Values() []MaximumExecutionFrequency
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
func (MemberAccountRuleStatus) Values() []MemberAccountRuleStatus
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 master // account calls PutOrganizationConfigRule action for the first time, config rule // status is created in the member account. When master account calls // PutOrganizationConfigRule action for the second time, config rule status is // updated in the member account. Config rule status is deleted when the master // account deletes OrganizationConfigRule and disables service access for // config-multiaccountsetup.amazonaws.com. AWS 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 }
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
}
There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.
func (*NoAvailableConfigurationRecorderException) Error ¶
func (e *NoAvailableConfigurationRecorderException) Error() string
func (*NoAvailableConfigurationRecorderException) ErrorCode ¶
func (e *NoAvailableConfigurationRecorderException) ErrorCode() string
func (*NoAvailableConfigurationRecorderException) ErrorFault ¶
func (e *NoAvailableConfigurationRecorderException) ErrorFault() smithy.ErrorFault
func (*NoAvailableConfigurationRecorderException) ErrorMessage ¶
func (e *NoAvailableConfigurationRecorderException) ErrorMessage() string
type NoAvailableDeliveryChannelException ¶
type NoAvailableDeliveryChannelException struct {
Message *string
}
There is no delivery channel available to record configurations.
func (*NoAvailableDeliveryChannelException) Error ¶
func (e *NoAvailableDeliveryChannelException) Error() string
func (*NoAvailableDeliveryChannelException) ErrorCode ¶
func (e *NoAvailableDeliveryChannelException) ErrorCode() string
func (*NoAvailableDeliveryChannelException) ErrorFault ¶
func (e *NoAvailableDeliveryChannelException) ErrorFault() smithy.ErrorFault
func (*NoAvailableDeliveryChannelException) ErrorMessage ¶
func (e *NoAvailableDeliveryChannelException) ErrorMessage() string
type NoAvailableOrganizationException ¶
type NoAvailableOrganizationException struct {
Message *string
}
Organization is no longer available.
func (*NoAvailableOrganizationException) Error ¶
func (e *NoAvailableOrganizationException) Error() string
func (*NoAvailableOrganizationException) ErrorCode ¶
func (e *NoAvailableOrganizationException) ErrorCode() string
func (*NoAvailableOrganizationException) ErrorFault ¶
func (e *NoAvailableOrganizationException) ErrorFault() smithy.ErrorFault
func (*NoAvailableOrganizationException) ErrorMessage ¶
func (e *NoAvailableOrganizationException) ErrorMessage() string
type NoRunningConfigurationRecorderException ¶
type NoRunningConfigurationRecorderException struct {
Message *string
}
There is no configuration recorder running.
func (*NoRunningConfigurationRecorderException) Error ¶
func (e *NoRunningConfigurationRecorderException) Error() string
func (*NoRunningConfigurationRecorderException) ErrorCode ¶
func (e *NoRunningConfigurationRecorderException) ErrorCode() string
func (*NoRunningConfigurationRecorderException) ErrorFault ¶
func (e *NoRunningConfigurationRecorderException) ErrorFault() smithy.ErrorFault
func (*NoRunningConfigurationRecorderException) ErrorMessage ¶
func (e *NoRunningConfigurationRecorderException) ErrorMessage() string
type NoSuchBucketException ¶
type NoSuchBucketException struct {
Message *string
}
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
}
One or more AWS Config rules in the request are invalid. Verify that the rule names are correct and try again.
func (*NoSuchConfigRuleException) Error ¶
func (e *NoSuchConfigRuleException) Error() string
func (*NoSuchConfigRuleException) ErrorCode ¶
func (e *NoSuchConfigRuleException) ErrorCode() string
func (*NoSuchConfigRuleException) ErrorFault ¶
func (e *NoSuchConfigRuleException) ErrorFault() smithy.ErrorFault
func (*NoSuchConfigRuleException) ErrorMessage ¶
func (e *NoSuchConfigRuleException) ErrorMessage() string
type NoSuchConfigRuleInConformancePackException ¶
type NoSuchConfigRuleInConformancePackException struct {
Message *string
}
AWS Config rule that you passed in the filter does not exist.
func (*NoSuchConfigRuleInConformancePackException) Error ¶
func (e *NoSuchConfigRuleInConformancePackException) Error() string
func (*NoSuchConfigRuleInConformancePackException) ErrorCode ¶
func (e *NoSuchConfigRuleInConformancePackException) ErrorCode() string
func (*NoSuchConfigRuleInConformancePackException) ErrorFault ¶
func (e *NoSuchConfigRuleInConformancePackException) ErrorFault() smithy.ErrorFault
func (*NoSuchConfigRuleInConformancePackException) ErrorMessage ¶
func (e *NoSuchConfigRuleInConformancePackException) ErrorMessage() string
type NoSuchConfigurationAggregatorException ¶
type NoSuchConfigurationAggregatorException struct {
Message *string
}
You have specified a configuration aggregator that does not exist.
func (*NoSuchConfigurationAggregatorException) Error ¶
func (e *NoSuchConfigurationAggregatorException) Error() string
func (*NoSuchConfigurationAggregatorException) ErrorCode ¶
func (e *NoSuchConfigurationAggregatorException) ErrorCode() string
func (*NoSuchConfigurationAggregatorException) ErrorFault ¶
func (e *NoSuchConfigurationAggregatorException) ErrorFault() smithy.ErrorFault
func (*NoSuchConfigurationAggregatorException) ErrorMessage ¶
func (e *NoSuchConfigurationAggregatorException) ErrorMessage() string
type NoSuchConfigurationRecorderException ¶
type NoSuchConfigurationRecorderException struct {
Message *string
}
You have specified a configuration recorder that does not exist.
func (*NoSuchConfigurationRecorderException) Error ¶
func (e *NoSuchConfigurationRecorderException) Error() string
func (*NoSuchConfigurationRecorderException) ErrorCode ¶
func (e *NoSuchConfigurationRecorderException) ErrorCode() string
func (*NoSuchConfigurationRecorderException) ErrorFault ¶
func (e *NoSuchConfigurationRecorderException) ErrorFault() smithy.ErrorFault
func (*NoSuchConfigurationRecorderException) ErrorMessage ¶
func (e *NoSuchConfigurationRecorderException) ErrorMessage() string
type NoSuchConformancePackException ¶
type NoSuchConformancePackException struct {
Message *string
}
You specified one or more conformance packs that do not exist.
func (*NoSuchConformancePackException) Error ¶
func (e *NoSuchConformancePackException) Error() string
func (*NoSuchConformancePackException) ErrorCode ¶
func (e *NoSuchConformancePackException) ErrorCode() string
func (*NoSuchConformancePackException) ErrorFault ¶
func (e *NoSuchConformancePackException) ErrorFault() smithy.ErrorFault
func (*NoSuchConformancePackException) ErrorMessage ¶
func (e *NoSuchConformancePackException) ErrorMessage() string
type NoSuchDeliveryChannelException ¶
type NoSuchDeliveryChannelException struct {
Message *string
}
You have specified a delivery channel that does not exist.
func (*NoSuchDeliveryChannelException) Error ¶
func (e *NoSuchDeliveryChannelException) Error() string
func (*NoSuchDeliveryChannelException) ErrorCode ¶
func (e *NoSuchDeliveryChannelException) ErrorCode() string
func (*NoSuchDeliveryChannelException) ErrorFault ¶
func (e *NoSuchDeliveryChannelException) ErrorFault() smithy.ErrorFault
func (*NoSuchDeliveryChannelException) ErrorMessage ¶
func (e *NoSuchDeliveryChannelException) ErrorMessage() string
type NoSuchOrganizationConfigRuleException ¶
type NoSuchOrganizationConfigRuleException struct {
Message *string
}
You specified one or more organization config rules that do not exist.
func (*NoSuchOrganizationConfigRuleException) Error ¶
func (e *NoSuchOrganizationConfigRuleException) Error() string
func (*NoSuchOrganizationConfigRuleException) ErrorCode ¶
func (e *NoSuchOrganizationConfigRuleException) ErrorCode() string
func (*NoSuchOrganizationConfigRuleException) ErrorFault ¶
func (e *NoSuchOrganizationConfigRuleException) ErrorFault() smithy.ErrorFault
func (*NoSuchOrganizationConfigRuleException) ErrorMessage ¶
func (e *NoSuchOrganizationConfigRuleException) ErrorMessage() string
type NoSuchOrganizationConformancePackException ¶
type NoSuchOrganizationConformancePackException struct {
Message *string
}
AWS 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 (e *NoSuchOrganizationConformancePackException) Error() string
func (*NoSuchOrganizationConformancePackException) ErrorCode ¶
func (e *NoSuchOrganizationConformancePackException) ErrorCode() string
func (*NoSuchOrganizationConformancePackException) ErrorFault ¶
func (e *NoSuchOrganizationConformancePackException) ErrorFault() smithy.ErrorFault
func (*NoSuchOrganizationConformancePackException) ErrorMessage ¶
func (e *NoSuchOrganizationConformancePackException) ErrorMessage() string
type NoSuchRemediationConfigurationException ¶
type NoSuchRemediationConfigurationException struct {
Message *string
}
You specified an AWS Config rule without a remediation configuration.
func (*NoSuchRemediationConfigurationException) Error ¶
func (e *NoSuchRemediationConfigurationException) Error() string
func (*NoSuchRemediationConfigurationException) ErrorCode ¶
func (e *NoSuchRemediationConfigurationException) ErrorCode() string
func (*NoSuchRemediationConfigurationException) ErrorFault ¶
func (e *NoSuchRemediationConfigurationException) ErrorFault() smithy.ErrorFault
func (*NoSuchRemediationConfigurationException) ErrorMessage ¶
func (e *NoSuchRemediationConfigurationException) ErrorMessage() string
type NoSuchRemediationExceptionException ¶
type NoSuchRemediationExceptionException struct {
Message *string
}
You tried to delete a remediation exception that does not exist.
func (*NoSuchRemediationExceptionException) Error ¶
func (e *NoSuchRemediationExceptionException) Error() string
func (*NoSuchRemediationExceptionException) ErrorCode ¶
func (e *NoSuchRemediationExceptionException) ErrorCode() string
func (*NoSuchRemediationExceptionException) ErrorFault ¶
func (e *NoSuchRemediationExceptionException) ErrorFault() smithy.ErrorFault
func (*NoSuchRemediationExceptionException) ErrorMessage ¶
func (e *NoSuchRemediationExceptionException) ErrorMessage() string
type NoSuchRetentionConfigurationException ¶
type NoSuchRetentionConfigurationException struct {
Message *string
}
You have specified a retention configuration that does not exist.
func (*NoSuchRetentionConfigurationException) Error ¶
func (e *NoSuchRetentionConfigurationException) Error() string
func (*NoSuchRetentionConfigurationException) ErrorCode ¶
func (e *NoSuchRetentionConfigurationException) ErrorCode() string
func (*NoSuchRetentionConfigurationException) ErrorFault ¶
func (e *NoSuchRetentionConfigurationException) ErrorFault() smithy.ErrorFault
func (*NoSuchRetentionConfigurationException) ErrorMessage ¶
func (e *NoSuchRetentionConfigurationException) ErrorMessage() string
type OrganizationAccessDeniedException ¶
type OrganizationAccessDeniedException struct {
Message *string
}
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 AWS Organization management account or the delegated administrator role changed. Delete this aggregator and create a new one with the current AWS Organization.
* The configuration aggregator is associated with a previous AWS Organization and AWS Config cannot aggregate data with current AWS Organization. Delete this aggregator and create a new one with the current AWS Organization.
* You are not a registered delegated administrator for AWS Config with permissions to call ListDelegatedAdministrators API. Ensure that the management account registers delagated administrator for AWS Config service principle name before the delegated administrator creates an aggregator.
For all OrganizationConfigRule and OrganizationConformancePack APIs, AWS Config throws an exception if APIs are called from member accounts. All APIs must be called from organization master account.
func (*OrganizationAccessDeniedException) Error ¶
func (e *OrganizationAccessDeniedException) Error() string
func (*OrganizationAccessDeniedException) ErrorCode ¶
func (e *OrganizationAccessDeniedException) ErrorCode() string
func (*OrganizationAccessDeniedException) ErrorFault ¶
func (e *OrganizationAccessDeniedException) ErrorFault() smithy.ErrorFault
func (*OrganizationAccessDeniedException) ErrorMessage ¶
func (e *OrganizationAccessDeniedException) ErrorMessage() string
type OrganizationAggregationSource ¶
type OrganizationAggregationSource struct { // ARN of the IAM role used to retrieve AWS Organization details associated with // the aggregator account. // // This member is required. RoleArn *string // If true, aggregate existing AWS Config regions and future regions. AllAwsRegions bool // The source regions being aggregated. AwsRegions []string }
This object contains regions to set up the aggregator and an IAM role to retrieve organization details.
type OrganizationAllFeaturesNotEnabledException ¶
type OrganizationAllFeaturesNotEnabledException struct {
Message *string
}
AWS Config resource cannot be created because your organization does not have all features enabled.
func (*OrganizationAllFeaturesNotEnabledException) Error ¶
func (e *OrganizationAllFeaturesNotEnabledException) Error() string
func (*OrganizationAllFeaturesNotEnabledException) ErrorCode ¶
func (e *OrganizationAllFeaturesNotEnabledException) ErrorCode() string
func (*OrganizationAllFeaturesNotEnabledException) ErrorFault ¶
func (e *OrganizationAllFeaturesNotEnabledException) ErrorFault() smithy.ErrorFault
func (*OrganizationAllFeaturesNotEnabledException) ErrorMessage ¶
func (e *OrganizationAllFeaturesNotEnabledException) ErrorMessage() string
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 OrganizationCustomRuleMetadata object. OrganizationCustomRuleMetadata *OrganizationCustomRuleMetadata // An OrganizationManagedRuleMetadata object. OrganizationManagedRuleMetadata *OrganizationManagedRuleMetadata }
An organization config rule that has information about config rules that AWS 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 master account // calls PutOrganizationConfigRule action for the first time, config rule status is // created in all the member accounts. When master 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 master account deletes OrganizationConfigRule in all // the member accounts and disables service access for // config-multiaccountsetup.amazonaws.com. AWS 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 }
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
func (OrganizationConfigRuleTriggerType) Values() []OrganizationConfigRuleTriggerType
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 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 // Amazon S3 bucket where AWS 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 }
An organization conformance pack that has information about conformance packs that AWS 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 // master account calls PutOrganizationConformancePack action for the first time, // conformance pack status is created in the member account. When master account // calls PutOrganizationConformancePack action for the second time, conformance // pack status is updated in the member account. Conformance pack status is deleted // when the master account deletes OrganizationConformancePack and disables service // access for config-multiaccountsetup.amazonaws.com. AWS 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 }
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 master // account calls PutOrganizationConformancePack for the first time, conformance // pack status is created in all the member accounts. When master 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 master account deletes // OrganizationConformancePack in all the member accounts and disables service // access for config-multiaccountsetup.amazonaws.com. AWS 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 }
Returns the status for an organization conformance pack in an organization.
type OrganizationConformancePackTemplateValidationException ¶
type OrganizationConformancePackTemplateValidationException struct {
Message *string
}
You have specified a template that is not valid or supported.
func (*OrganizationConformancePackTemplateValidationException) Error ¶
func (e *OrganizationConformancePackTemplateValidationException) Error() string
func (*OrganizationConformancePackTemplateValidationException) ErrorCode ¶
func (e *OrganizationConformancePackTemplateValidationException) ErrorCode() string
func (*OrganizationConformancePackTemplateValidationException) ErrorFault ¶
func (e *OrganizationConformancePackTemplateValidationException) ErrorFault() smithy.ErrorFault
func (*OrganizationConformancePackTemplateValidationException) ErrorMessage ¶
func (e *OrganizationConformancePackTemplateValidationException) ErrorMessage() string
type OrganizationCustomRuleMetadata ¶
type OrganizationCustomRuleMetadata struct { // The lambda function ARN. // // This member is required. LambdaFunctionArn *string // The type of notification that triggers AWS Config to run an evaluation for a // rule. You can specify the following notification types: // // * // ConfigurationItemChangeNotification - Triggers an evaluation when AWS Config // delivers a configuration item as a result of a resource change. // // * // OversizedConfigurationItemChangeNotification - Triggers an evaluation when AWS // Config delivers an oversized configuration item. AWS 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 organization config rule. Description *string // A string, in JSON format, that is passed to organization config rule Lambda // function. InputParameters *string // The maximum frequency with which AWS Config runs evaluations for a rule. Your // custom rule is triggered when AWS 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 AWS resource that was evaluated. ResourceIdScope *string // The type of the AWS 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 }
An object that specifies organization custom rule metadata such as resource type, resource ID of AWS resource, Lamdba function ARN, and organization trigger types that trigger AWS Config to evaluate your AWS resources against a rule. It also provides the frequency with which you want AWS 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 AWS Managed Config 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 organization config rule. Description *string // A string, in JSON format, that is passed to organization config rule Lambda // function. InputParameters *string // The maximum frequency with which AWS Config runs evaluations for a rule. You are // using an AWS 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 AWS resource that was evaluated. ResourceIdScope *string // The type of the AWS 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 }
An object that specifies organization managed rule metadata such as resource type and ID of AWS resource along with the rule identifier. It also provides the frequency with which you want AWS 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
func (OrganizationResourceDetailedStatus) Values() []OrganizationResourceDetailedStatus
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 // master account calls PutOrganizationConformancePack action for the first time, // conformance pack status is created in the member account. When master account // calls PutOrganizationConformancePack action for the second time, conformance // pack status is updated in the member account. Conformance pack status is deleted // when the master account deletes OrganizationConformancePack and disables service // access for config-multiaccountsetup.amazonaws.com. AWS 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 }
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
func (OrganizationResourceStatus) Values() []OrganizationResourceStatus
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
func (OrganizationRuleStatus) Values() []OrganizationRuleStatus
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
}
The configuration item size is outside the allowable range.
func (*OversizedConfigurationItemException) Error ¶
func (e *OversizedConfigurationItemException) Error() string
func (*OversizedConfigurationItemException) ErrorCode ¶
func (e *OversizedConfigurationItemException) ErrorCode() string
func (*OversizedConfigurationItemException) ErrorFault ¶
func (e *OversizedConfigurationItemException) ErrorFault() smithy.ErrorFault
func (*OversizedConfigurationItemException) ErrorMessage ¶
func (e *OversizedConfigurationItemException) ErrorMessage() string
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 }
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 }
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 RecordingGroup ¶
type RecordingGroup struct { // Specifies whether AWS Config records configuration changes for every supported // type of regional resource. If you set this option to true, when AWS Config adds // support for a new type of regional resource, it starts recording resources of // that type automatically. If you set this option to true, you cannot enumerate a // list of resourceTypes. AllSupported bool // Specifies whether AWS Config includes all supported types of global resources // (for example, IAM resources) with the resources that it records. Before you can // set this option to true, you must set the allSupported option to true. If you // set this option to true, when AWS Config adds support for a new type of global // resource, it starts recording resources of that type automatically. The // configuration details for any global resource are the same in all regions. To // prevent duplicate configuration items, you should consider customizing AWS // Config in only one region to record global resources. IncludeGlobalResourceTypes bool // A comma-separated list that specifies the types of AWS resources for which AWS // Config records configuration changes (for example, AWS::EC2::Instance or // AWS::CloudTrail::Trail). To record all configuration changes, you must set the // allSupported option to true. If you set this option to false, when AWS 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. For a list of // valid resourceTypes values, see the resourceType Value column in Supported AWS // Resource Types // (https://docs.aws.amazon.com/config/latest/developerguide/resource-config-reference.html#supported-resources). ResourceTypes []ResourceType }
Specifies the types of AWS resource for which AWS Config records configuration changes. In the recording group, you specify whether all supported types or specific types of resources are recorded. By default, AWS Config records configuration changes for all supported types of regional resources that AWS Config discovers in the region in which it is running. Regional resources are tied to a region and can be used only in that region. Examples of regional resources are EC2 instances and EBS volumes. You can also have AWS Config record configuration changes for supported types of global resources (for example, IAM resources). Global resources are not tied to an individual region and can be used in all regions. The configuration details for any global resource are the same in all regions. If you customize AWS Config in multiple regions to record global resources, it will create multiple configuration items each time a global resource changes: one configuration item for each region. These configuration items will contain identical data. To prevent duplicate configuration items, you should consider customizing AWS Config in only one region to record global resources, unless you want the configuration items to be available in multiple regions. If you don't want AWS Config to record all resources, you can specify which types of resources it will record with the resourceTypes parameter. 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). For more information, see Selecting Which Resources AWS Config Records (https://docs.aws.amazon.com/config/latest/developerguide/select-resources.html).
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 }
The relationship of the related resource to the main resource.
type RemediationConfiguration ¶
type RemediationConfiguration struct { // The name of the AWS Config rule. // // This member is required. ConfigRuleName *string // Target ID is the name of the public 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, AWS 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 // Maximum time in seconds that AWS Config runs auto-remediation. 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, AWS Config // will run auto-remediations 5 times within 50 seconds before throwing an // exception. 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 }
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 AWS 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 }
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 }
The details that identify a resource within AWS 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
func (RemediationExecutionState) Values() []RemediationExecutionState
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 AWS Config, including the resource // type and resource ID. ResourceKey *ResourceKey // ENUM of the values. State RemediationExecutionState // Details of every step. StepDetails []RemediationExecutionStep }
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 }
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
func (RemediationExecutionStepState) Values() []RemediationExecutionStepState
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
}
Remediation action is in progress. You can either cancel execution in AWS Systems Manager or wait and try again later.
func (*RemediationInProgressException) Error ¶
func (e *RemediationInProgressException) Error() string
func (*RemediationInProgressException) ErrorCode ¶
func (e *RemediationInProgressException) ErrorCode() string
func (*RemediationInProgressException) ErrorFault ¶
func (e *RemediationInProgressException) ErrorFault() smithy.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 }
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
func (RemediationTargetType) Values() []RemediationTargetType
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
}
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 (e *ResourceConcurrentModificationException) Error() string
func (*ResourceConcurrentModificationException) ErrorCode ¶ added in v1.2.0
func (e *ResourceConcurrentModificationException) ErrorCode() string
func (*ResourceConcurrentModificationException) ErrorFault ¶ added in v1.2.0
func (e *ResourceConcurrentModificationException) ErrorFault() smithy.ErrorFault
func (*ResourceConcurrentModificationException) ErrorMessage ¶ added in v1.2.0
func (e *ResourceConcurrentModificationException) ErrorMessage() string
type ResourceCount ¶
type ResourceCount struct { // The number of resources. Count int64 // The resource type (for example, "AWS::EC2::Instance"). ResourceType ResourceType }
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 AWS resource. ResourceType ResourceType }
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
func (ResourceCountGroupKey) Values() []ResourceCountGroupKey
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 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 }
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 }
The details that identify a resource that is discovered by AWS Config, including the resource type, ID, and (if available) the custom resource name.
type ResourceInUseException ¶
type ResourceInUseException struct {
Message *string
}
You see this exception in the following cases:
* For DeleteConfigRule, AWS 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 AWS 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 }
The details that identify a resource within AWS Config, including the resource type and resource ID.
type ResourceNotDiscoveredException ¶
type ResourceNotDiscoveredException struct {
Message *string
}
You have specified a resource that is either unknown or has not been discovered.
func (*ResourceNotDiscoveredException) Error ¶
func (e *ResourceNotDiscoveredException) Error() string
func (*ResourceNotDiscoveredException) ErrorCode ¶
func (e *ResourceNotDiscoveredException) ErrorCode() string
func (*ResourceNotDiscoveredException) ErrorFault ¶
func (e *ResourceNotDiscoveredException) ErrorFault() smithy.ErrorFault
func (*ResourceNotDiscoveredException) ErrorMessage ¶
func (e *ResourceNotDiscoveredException) ErrorMessage() string
type ResourceNotFoundException ¶
type ResourceNotFoundException struct {
Message *string
}
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 (e *ResourceNotFoundException) ErrorFault() smithy.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" )
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 }
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
func (ResourceValueType) Values() []ResourceValueType
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 AWS Config stores your historical information. Currently, only // applicable to the configuration item history. // // This member is required. RetentionPeriodInDays int32 }
An object with the name of the retention configuration and the retention period in days. The object stores the configuration for data retention in AWS Config.
type Scope ¶
type Scope struct { // The ID of the only AWS 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 AWS 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 AWS resources that you want to trigger // an evaluation for the rule. TagKey *string // The tag value applied to only those AWS 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 }
Defines which resources trigger an evaluation for an AWS 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 Source ¶
type Source struct { // Indicates whether AWS or the customer owns and manages the AWS Config rule. // // This member is required. Owner Owner // For AWS 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 // AWS Managed Config Rules // (https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html). // For custom rules, the identifier is the Amazon Resource Name (ARN) of the rule's // AWS Lambda function, such as // arn:aws:lambda:us-east-2:123456789012:function:custom_rule_name. // // This member is required. SourceIdentifier *string // Provides the source and type of the event that causes AWS Config to evaluate // your AWS resources. SourceDetails []SourceDetail }
Provides the AWS Config rule owner (AWS or customer), the rule identifier, and the events that trigger the evaluation of your AWS resources.
type SourceDetail ¶
type SourceDetail struct { // The source of the event, such as an AWS service, that triggers AWS Config to // evaluate your AWS resources. EventSource EventSource // The frequency at which you want AWS 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, AWS Config runs evaluations once for each valid value. // For example, if you choose Three_Hours, AWS 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 AWS Config to run an evaluation for a // rule. You can specify the following notification types: // // * // ConfigurationItemChangeNotification - Triggers an evaluation when AWS Config // delivers a configuration item as a result of a resource change. // // * // OversizedConfigurationItemChangeNotification - Triggers an evaluation when AWS // Config delivers an oversized configuration item. AWS 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 AWS // 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 }
Provides the source and the message types that trigger AWS Config to evaluate your AWS resources against a rule. It also provides the frequency with which you want AWS 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 }
AWS 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 }
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 master // account calls PutOrganizationConfigRule action for the first time, config rule // status is created in the member account. When master account calls // PutOrganizationConfigRule action for the second time, config rule status is // updated in the member account. Config rule status is deleted when the master // account deletes OrganizationConfigRule and disables service access for // config-multiaccountsetup.amazonaws.com. AWS 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 }
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 }
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 }
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 }
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 TooManyTagsException ¶
type TooManyTagsException struct {
Message *string
}
You have reached the limit of the number of tags you can use. You have more than 50 tags.
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
}
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