1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. governance
  6. getPolicyBundles
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
thoth logo
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security

    Using getPolicyBundles

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPolicyBundles(args: GetPolicyBundlesArgs, opts?: InvokeOptions): Promise<GetPolicyBundlesResult>
    function getPolicyBundlesOutput(args: GetPolicyBundlesOutputArgs, opts?: InvokeOptions): Output<GetPolicyBundlesResult>
    def get_policy_bundles(assignment: Optional[str] = None,
                           enforcement_mode: Optional[str] = None,
                           framework: Optional[str] = None,
                           status: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetPolicyBundlesResult
    def get_policy_bundles_output(assignment: pulumi.Input[Optional[str]] = None,
                           enforcement_mode: pulumi.Input[Optional[str]] = None,
                           framework: pulumi.Input[Optional[str]] = None,
                           status: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetPolicyBundlesResult]
    func GetPolicyBundles(ctx *Context, args *GetPolicyBundlesArgs, opts ...InvokeOption) (*GetPolicyBundlesResult, error)
    func GetPolicyBundlesOutput(ctx *Context, args *GetPolicyBundlesOutputArgs, opts ...InvokeOption) GetPolicyBundlesResultOutput

    > Note: This function is named GetPolicyBundles in the Go SDK.

    public static class GetPolicyBundles 
    {
        public static Task<GetPolicyBundlesResult> InvokeAsync(GetPolicyBundlesArgs args, InvokeOptions? opts = null)
        public static Output<GetPolicyBundlesResult> Invoke(GetPolicyBundlesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPolicyBundlesResult> getPolicyBundles(GetPolicyBundlesArgs args, InvokeOptions options)
    public static Output<GetPolicyBundlesResult> getPolicyBundles(GetPolicyBundlesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: thoth:governance/getPolicyBundles:getPolicyBundles
      arguments:
        # arguments dictionary
    data "thoth_governance_get_policy_bundles" "name" {
        # arguments
    }

    The following arguments are supported:

    Assignment string
    EnforcementMode string
    Framework string
    Status string
    Assignment string
    EnforcementMode string
    Framework string
    Status string
    assignment string
    enforcement_mode string
    framework string
    status string
    assignment String
    enforcementMode String
    framework String
    status String
    assignment string
    enforcementMode string
    framework string
    status string
    assignment String
    enforcementMode String
    framework String
    status String

    getPolicyBundles Result

    The following output properties are available:

    DataJson string
    Id string
    The provider-assigned unique ID for this managed resource.
    Total int
    Assignment string
    EnforcementMode string
    Framework string
    Status string
    DataJson string
    Id string
    The provider-assigned unique ID for this managed resource.
    Total int
    Assignment string
    EnforcementMode string
    Framework string
    Status string
    data_json string
    id string
    The provider-assigned unique ID for this managed resource.
    total number
    assignment string
    enforcement_mode string
    framework string
    status string
    dataJson String
    id String
    The provider-assigned unique ID for this managed resource.
    total Integer
    assignment String
    enforcementMode String
    framework String
    status String
    dataJson string
    id string
    The provider-assigned unique ID for this managed resource.
    total number
    assignment string
    enforcementMode string
    framework string
    status string
    data_json str
    id str
    The provider-assigned unique ID for this managed resource.
    total int
    assignment str
    enforcement_mode str
    framework str
    status str
    dataJson String
    id String
    The provider-assigned unique ID for this managed resource.
    total Number
    assignment String
    enforcementMode String
    framework String
    status String

    Package Details

    Repository
    thoth atensecurity/pulumi-thoth
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the thoth Terraform Provider.
    thoth logo
    Viewing docs for Thoth v0.1.15
    published on Thursday, Jul 23, 2026 by Aten Security

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial