organization_admin_account#
State module for enabling organization admin account for Guardduty.
- async idem_aws.states.aws.guardduty.organization_admin_account.present(hub, ctx, name: str, resource_id: str) Dict[str, Any] [source]#
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
- Parameters:
- Request Syntax:
- Returns:
Dict[str, Any]
Examples
resource_is_present: aws.guardduty.organization_admin_account.present: - name: value - resource_id: value
- async idem_aws.states.aws.guardduty.organization_admin_account.absent(hub, ctx, name: str, resource_id: str = None) Dict[str, Any] [source]#
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
- Parameters:
- Returns:
Dict[str, Any]
Examples
resource_is_absent: aws.guardduty.organization_admin_account.absent: - name: value - resource_id: value
- async idem_aws.states.aws.guardduty.organization_admin_account.describe(hub, ctx) Dict[str, Dict[str, Any]] [source]#
Describe the resource in a way that can be recreated/managed with the corresponding “present” function.
Lists the accounts configured as GuardDuty delegated administrators.
- Returns:
Dict[str, Dict[str, Any]]
Examples
$ idem describe aws.guardduty.organization_admin_account