Interface OrganizationCustomPolicyRuleMetadataNoPolicy.Builder

    • Method Detail

      • description

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder description​(String description)

        The description that you provide for your organization Config Custom Policy rule.

        Parameters:
        description - The description that you provide for your organization Config Custom Policy rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • organizationConfigRuleTriggerTypesWithStrings

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder organizationConfigRuleTriggerTypesWithStrings​(Collection<String> organizationConfigRuleTriggerTypes)

        The type of notification that triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types:

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

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

        Parameters:
        organizationConfigRuleTriggerTypes - The type of notification that triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types:

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

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • organizationConfigRuleTriggerTypesWithStrings

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder organizationConfigRuleTriggerTypesWithStrings​(String... organizationConfigRuleTriggerTypes)

        The type of notification that triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types:

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

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

        Parameters:
        organizationConfigRuleTriggerTypes - The type of notification that triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types:

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

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • organizationConfigRuleTriggerTypes

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder organizationConfigRuleTriggerTypes​(Collection<OrganizationConfigRuleTriggerTypeNoSN> organizationConfigRuleTriggerTypes)

        The type of notification that triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types:

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

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

        Parameters:
        organizationConfigRuleTriggerTypes - The type of notification that triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types:

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

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • organizationConfigRuleTriggerTypes

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder organizationConfigRuleTriggerTypes​(OrganizationConfigRuleTriggerTypeNoSN... organizationConfigRuleTriggerTypes)

        The type of notification that triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types:

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

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

        Parameters:
        organizationConfigRuleTriggerTypes - The type of notification that triggers Config to run an evaluation for a rule. For Config Custom Policy rules, Config supports change triggered notification types:

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

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputParameters

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder inputParameters​(String inputParameters)

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

        Parameters:
        inputParameters - A string, in JSON format, that is passed to your organization Config Custom Policy rule.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypesScope

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder resourceTypesScope​(Collection<String> resourceTypesScope)

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

        Parameters:
        resourceTypesScope - The type of the Amazon Web Services resource that was evaluated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTypesScope

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder resourceTypesScope​(String... resourceTypesScope)

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

        Parameters:
        resourceTypesScope - The type of the Amazon Web Services resource that was evaluated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceIdScope

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder resourceIdScope​(String resourceIdScope)

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

        Parameters:
        resourceIdScope - The ID of the Amazon Web Services resource that was evaluated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagKeyScope

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder tagKeyScope​(String tagKeyScope)

        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.

        Parameters:
        tagKeyScope - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tagValueScope

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder tagValueScope​(String tagValueScope)

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

        Parameters:
        tagValueScope - The optional part of a key-value pair that make up a tag. A value acts as a descriptor within a tag category (key).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • policyRuntime

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder policyRuntime​(String policyRuntime)

        The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.

        Parameters:
        policyRuntime - The runtime system for your organization Config Custom Policy rules. Guard is a policy-as-code language that allows you to write policies that are enforced by Config Custom Policy rules. For more information about Guard, see the Guard GitHub Repository.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • debugLogDeliveryAccounts

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder debugLogDeliveryAccounts​(Collection<String> debugLogDeliveryAccounts)

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

        Parameters:
        debugLogDeliveryAccounts - A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • debugLogDeliveryAccounts

        OrganizationCustomPolicyRuleMetadataNoPolicy.Builder debugLogDeliveryAccounts​(String... debugLogDeliveryAccounts)

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

        Parameters:
        debugLogDeliveryAccounts - A list of accounts that you can enable debug logging for your organization Config Custom Policy rule. List is null when debug logging is enabled for all accounts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.