Skip to content

OrganizationCustomRuleMetadata

Source code in docs_src/capo_config_service/types/organization_custom_rule_metadata.py
class OrganizationCustomRuleMetadata(TypedDict, closed=True):
    description: NotRequired[
        "capo_config_service.types.string_with_char_limit256_min0.StringWithCharLimit256Min0"
    ]
    """<p>The description that you provide for your organization Config rule.</p>"""
    lambda_function_arn: (
        "capo_config_service.types.string_with_char_limit256.StringWithCharLimit256"
    )
    """<p>The lambda function ARN.</p>"""
    organization_config_rule_trigger_types: "capo_config_service.types.organization_config_rule_trigger_types.OrganizationConfigRuleTriggerTypes"
    """<p>The type of notification that triggers Config to run an evaluation for a rule. You can specify the following notification types:</p> <ul> <li> <p> <code>ConfigurationItemChangeNotification</code> - Triggers an evaluation when Config delivers a configuration item as a result of a resource change.</p> </li> <li> <p> <code>OversizedConfigurationItemChangeNotification</code> - Triggers an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS.</p> </li> <li> <p> <code>ScheduledNotification</code> - Triggers a periodic evaluation at the frequency specified for <code>MaximumExecutionFrequency</code>.</p> </li> </ul>"""
    input_parameters: NotRequired[
        "capo_config_service.types.string_with_char_limit1024.StringWithCharLimit1024"
    ]
    """<p>A string, in JSON format, that is passed to your organization Config rule Lambda function.</p>"""
    maximum_execution_frequency: NotRequired[
        "capo_config_service.types.maximum_execution_frequency.MaximumExecutionFrequency"
    ]
    """<p>The maximum frequency with which Config runs evaluations for a rule. Your custom rule is triggered when Config delivers the configuration snapshot. For more information, see <a>ConfigSnapshotDeliveryProperties</a>.</p> <note> <p>By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the <code>MaximumExecutionFrequency</code> parameter.</p> </note>"""
    resource_types_scope: NotRequired[
        "capo_config_service.types.resource_types_scope.ResourceTypesScope"
    ]
    """<p>The type of the Amazon Web Services resource that was evaluated.</p>"""
    resource_id_scope: NotRequired[
        "capo_config_service.types.string_with_char_limit768.StringWithCharLimit768"
    ]
    """<p>The ID of the Amazon Web Services resource that was evaluated.</p>"""
    tag_key_scope: NotRequired[
        "capo_config_service.types.string_with_char_limit128.StringWithCharLimit128"
    ]
    """<p>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. </p>"""
    tag_value_scope: NotRequired[
        "capo_config_service.types.string_with_char_limit256.StringWithCharLimit256"
    ]
    """<p>The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key). </p>"""

description instance-attribute

description: NotRequired[StringWithCharLimit256Min0]

The description that you provide for your organization Config rule.

input_parameters instance-attribute

input_parameters: NotRequired[StringWithCharLimit1024]

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

lambda_function_arn instance-attribute

lambda_function_arn: StringWithCharLimit256

The lambda function ARN.

maximum_execution_frequency instance-attribute

maximum_execution_frequency: NotRequired[MaximumExecutionFrequency]

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

By default, rules with a periodic trigger are evaluated every 24 hours. To change the frequency, specify a valid value for the MaximumExecutionFrequency parameter.

organization_config_rule_trigger_types instance-attribute

organization_config_rule_trigger_types: OrganizationConfigRuleTriggerTypes

The type of notification that triggers Config to run an evaluation for a rule. You can specify the following notification types:

  • ConfigurationItemChangeNotification - Triggers an evaluation when Config delivers a configuration item as a result of a resource change.

  • OversizedConfigurationItemChangeNotification - Triggers an evaluation when Config delivers an oversized configuration item. Config may generate this notification type when a resource changes and the notification exceeds the maximum size allowed by Amazon SNS.

  • ScheduledNotification - Triggers a periodic evaluation at the frequency specified for MaximumExecutionFrequency.

resource_id_scope instance-attribute

resource_id_scope: NotRequired[StringWithCharLimit768]

The ID of the Amazon Web Services resource that was evaluated.

resource_types_scope instance-attribute

resource_types_scope: NotRequired[ResourceTypesScope]

The type of the Amazon Web Services resource that was evaluated.

tag_key_scope instance-attribute

tag_key_scope: NotRequired[StringWithCharLimit128]

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.

tag_value_scope instance-attribute

tag_value_scope: NotRequired[StringWithCharLimit256]

The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).