AWS v6.71.0 published on Friday, Mar 7, 2025 by Pulumi
aws.auditmanager.getFramework
Explore with Pulumi AI
Data source for managing an AWS Audit Manager Framework.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = aws.auditmanager.getFramework({
    name: "Essential Eight",
    frameworkType: "Standard",
});
import pulumi
import pulumi_aws as aws
example = aws.auditmanager.get_framework(name="Essential Eight",
    framework_type="Standard")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/auditmanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := auditmanager.LookupFramework(ctx, &auditmanager.LookupFrameworkArgs{
			Name:          "Essential Eight",
			FrameworkType: "Standard",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() => 
{
    var example = Aws.Auditmanager.GetFramework.Invoke(new()
    {
        Name = "Essential Eight",
        FrameworkType = "Standard",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.auditmanager.AuditmanagerFunctions;
import com.pulumi.aws.auditmanager.inputs.GetFrameworkArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var example = AuditmanagerFunctions.getFramework(GetFrameworkArgs.builder()
            .name("Essential Eight")
            .frameworkType("Standard")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: aws:auditmanager:getFramework
      arguments:
        name: Essential Eight
        frameworkType: Standard
Using getFramework
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 getFramework(args: GetFrameworkArgs, opts?: InvokeOptions): Promise<GetFrameworkResult>
function getFrameworkOutput(args: GetFrameworkOutputArgs, opts?: InvokeOptions): Output<GetFrameworkResult>def get_framework(control_sets: Optional[Sequence[GetFrameworkControlSet]] = None,
                  framework_type: Optional[str] = None,
                  name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetFrameworkResult
def get_framework_output(control_sets: Optional[pulumi.Input[Sequence[pulumi.Input[GetFrameworkControlSetArgs]]]] = None,
                  framework_type: Optional[pulumi.Input[str]] = None,
                  name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetFrameworkResult]func LookupFramework(ctx *Context, args *LookupFrameworkArgs, opts ...InvokeOption) (*LookupFrameworkResult, error)
func LookupFrameworkOutput(ctx *Context, args *LookupFrameworkOutputArgs, opts ...InvokeOption) LookupFrameworkResultOutput> Note: This function is named LookupFramework in the Go SDK.
public static class GetFramework 
{
    public static Task<GetFrameworkResult> InvokeAsync(GetFrameworkArgs args, InvokeOptions? opts = null)
    public static Output<GetFrameworkResult> Invoke(GetFrameworkInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFrameworkResult> getFramework(GetFrameworkArgs args, InvokeOptions options)
public static Output<GetFrameworkResult> getFramework(GetFrameworkArgs args, InvokeOptions options)
fn::invoke:
  function: aws:auditmanager/getFramework:getFramework
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FrameworkType string
- Name string
- Name of the framework.
- ControlSets List<GetFramework Control Set> 
- FrameworkType string
- Name string
- Name of the framework.
- ControlSets []GetFramework Control Set 
- frameworkType String
- name String
- Name of the framework.
- controlSets List<GetFramework Control Set> 
- frameworkType string
- name string
- Name of the framework.
- controlSets GetFramework Control Set[] 
- framework_type str
- name str
- Name of the framework.
- control_sets Sequence[GetFramework Control Set] 
- frameworkType String
- name String
- Name of the framework.
- controlSets List<Property Map>
getFramework Result
The following output properties are available:
- Arn string
- ComplianceType string
- Description string
- FrameworkType string
- Id string
- Name string
- Dictionary<string, string>
- ControlSets List<GetFramework Control Set> 
- Arn string
- ComplianceType string
- Description string
- FrameworkType string
- Id string
- Name string
- map[string]string
- ControlSets []GetFramework Control Set 
- arn String
- complianceType String
- description String
- frameworkType String
- id String
- name String
- Map<String,String>
- controlSets List<GetFramework Control Set> 
- arn string
- complianceType string
- description string
- frameworkType string
- id string
- name string
- {[key: string]: string}
- controlSets GetFramework Control Set[] 
- arn str
- compliance_type str
- description str
- framework_type str
- id str
- name str
- Mapping[str, str]
- control_sets Sequence[GetFramework Control Set] 
- arn String
- complianceType String
- description String
- frameworkType String
- id String
- name String
- Map<String>
- controlSets List<Property Map>
Supporting Types
GetFrameworkControlSet   
- Id string
- Name string
- Name of the framework.
- Controls
List<GetFramework Control Set Control> 
- Id string
- Name string
- Name of the framework.
- Controls
[]GetFramework Control Set Control 
- id String
- name String
- Name of the framework.
- controls
List<GetFramework Control Set Control> 
- id string
- name string
- Name of the framework.
- controls
GetFramework Control Set Control[] 
- id str
- name str
- Name of the framework.
- controls
Sequence[GetFramework Control Set Control] 
- id String
- name String
- Name of the framework.
- controls List<Property Map>
GetFrameworkControlSetControl    
- Id string
- Id string
- id String
- id string
- id str
- id String
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the awsTerraform Provider.