auditmanager

package
v6.0.0-alpha.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountRegistration

type AccountRegistration struct {
	pulumi.CustomResourceState

	// Identifier for the delegated administrator account.
	DelegatedAdminAccount pulumi.StringPtrOutput `pulumi:"delegatedAdminAccount"`
	// Flag to deregister AuditManager in the account upon destruction. Defaults to `false` (ie. AuditManager will remain active in the account, even if this resource is removed).
	DeregisterOnDestroy pulumi.BoolPtrOutput `pulumi:"deregisterOnDestroy"`
	// KMS key identifier.
	KmsKey pulumi.StringPtrOutput `pulumi:"kmsKey"`
	// Status of the account registration request.
	Status pulumi.StringOutput `pulumi:"status"`
}

Resource for managing AWS Audit Manager Account Registration.

## Example Usage ### Basic Usage

```go 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.NewAccountRegistration(ctx, "example", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Deregister On Destroy

```go 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.NewAccountRegistration(ctx, "example", &auditmanager.AccountRegistrationArgs{
			DeregisterOnDestroy: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_auditmanager_account_registration.example

id = "us-east-1" } Using `pulumi import`, import Audit Manager Account Registration resources using the `id`. For exampleconsole % pulumi import aws_auditmanager_account_registration.example us-east-1

func GetAccountRegistration

func GetAccountRegistration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountRegistrationState, opts ...pulumi.ResourceOption) (*AccountRegistration, error)

GetAccountRegistration gets an existing AccountRegistration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccountRegistration

func NewAccountRegistration(ctx *pulumi.Context,
	name string, args *AccountRegistrationArgs, opts ...pulumi.ResourceOption) (*AccountRegistration, error)

NewAccountRegistration registers a new resource with the given unique name, arguments, and options.

func (*AccountRegistration) ElementType

func (*AccountRegistration) ElementType() reflect.Type

func (*AccountRegistration) ToAccountRegistrationOutput

func (i *AccountRegistration) ToAccountRegistrationOutput() AccountRegistrationOutput

func (*AccountRegistration) ToAccountRegistrationOutputWithContext

func (i *AccountRegistration) ToAccountRegistrationOutputWithContext(ctx context.Context) AccountRegistrationOutput

type AccountRegistrationArgs

type AccountRegistrationArgs struct {
	// Identifier for the delegated administrator account.
	DelegatedAdminAccount pulumi.StringPtrInput
	// Flag to deregister AuditManager in the account upon destruction. Defaults to `false` (ie. AuditManager will remain active in the account, even if this resource is removed).
	DeregisterOnDestroy pulumi.BoolPtrInput
	// KMS key identifier.
	KmsKey pulumi.StringPtrInput
}

The set of arguments for constructing a AccountRegistration resource.

func (AccountRegistrationArgs) ElementType

func (AccountRegistrationArgs) ElementType() reflect.Type

type AccountRegistrationArray

type AccountRegistrationArray []AccountRegistrationInput

func (AccountRegistrationArray) ElementType

func (AccountRegistrationArray) ElementType() reflect.Type

func (AccountRegistrationArray) ToAccountRegistrationArrayOutput

func (i AccountRegistrationArray) ToAccountRegistrationArrayOutput() AccountRegistrationArrayOutput

func (AccountRegistrationArray) ToAccountRegistrationArrayOutputWithContext

func (i AccountRegistrationArray) ToAccountRegistrationArrayOutputWithContext(ctx context.Context) AccountRegistrationArrayOutput

type AccountRegistrationArrayInput

type AccountRegistrationArrayInput interface {
	pulumi.Input

	ToAccountRegistrationArrayOutput() AccountRegistrationArrayOutput
	ToAccountRegistrationArrayOutputWithContext(context.Context) AccountRegistrationArrayOutput
}

AccountRegistrationArrayInput is an input type that accepts AccountRegistrationArray and AccountRegistrationArrayOutput values. You can construct a concrete instance of `AccountRegistrationArrayInput` via:

AccountRegistrationArray{ AccountRegistrationArgs{...} }

type AccountRegistrationArrayOutput

type AccountRegistrationArrayOutput struct{ *pulumi.OutputState }

func (AccountRegistrationArrayOutput) ElementType

func (AccountRegistrationArrayOutput) Index

func (AccountRegistrationArrayOutput) ToAccountRegistrationArrayOutput

func (o AccountRegistrationArrayOutput) ToAccountRegistrationArrayOutput() AccountRegistrationArrayOutput

func (AccountRegistrationArrayOutput) ToAccountRegistrationArrayOutputWithContext

func (o AccountRegistrationArrayOutput) ToAccountRegistrationArrayOutputWithContext(ctx context.Context) AccountRegistrationArrayOutput

type AccountRegistrationInput

type AccountRegistrationInput interface {
	pulumi.Input

	ToAccountRegistrationOutput() AccountRegistrationOutput
	ToAccountRegistrationOutputWithContext(ctx context.Context) AccountRegistrationOutput
}

type AccountRegistrationMap

type AccountRegistrationMap map[string]AccountRegistrationInput

func (AccountRegistrationMap) ElementType

func (AccountRegistrationMap) ElementType() reflect.Type

func (AccountRegistrationMap) ToAccountRegistrationMapOutput

func (i AccountRegistrationMap) ToAccountRegistrationMapOutput() AccountRegistrationMapOutput

func (AccountRegistrationMap) ToAccountRegistrationMapOutputWithContext

func (i AccountRegistrationMap) ToAccountRegistrationMapOutputWithContext(ctx context.Context) AccountRegistrationMapOutput

type AccountRegistrationMapInput

type AccountRegistrationMapInput interface {
	pulumi.Input

	ToAccountRegistrationMapOutput() AccountRegistrationMapOutput
	ToAccountRegistrationMapOutputWithContext(context.Context) AccountRegistrationMapOutput
}

AccountRegistrationMapInput is an input type that accepts AccountRegistrationMap and AccountRegistrationMapOutput values. You can construct a concrete instance of `AccountRegistrationMapInput` via:

AccountRegistrationMap{ "key": AccountRegistrationArgs{...} }

type AccountRegistrationMapOutput

type AccountRegistrationMapOutput struct{ *pulumi.OutputState }

func (AccountRegistrationMapOutput) ElementType

func (AccountRegistrationMapOutput) MapIndex

func (AccountRegistrationMapOutput) ToAccountRegistrationMapOutput

func (o AccountRegistrationMapOutput) ToAccountRegistrationMapOutput() AccountRegistrationMapOutput

func (AccountRegistrationMapOutput) ToAccountRegistrationMapOutputWithContext

func (o AccountRegistrationMapOutput) ToAccountRegistrationMapOutputWithContext(ctx context.Context) AccountRegistrationMapOutput

type AccountRegistrationOutput

type AccountRegistrationOutput struct{ *pulumi.OutputState }

func (AccountRegistrationOutput) DelegatedAdminAccount

func (o AccountRegistrationOutput) DelegatedAdminAccount() pulumi.StringPtrOutput

Identifier for the delegated administrator account.

func (AccountRegistrationOutput) DeregisterOnDestroy

func (o AccountRegistrationOutput) DeregisterOnDestroy() pulumi.BoolPtrOutput

Flag to deregister AuditManager in the account upon destruction. Defaults to `false` (ie. AuditManager will remain active in the account, even if this resource is removed).

func (AccountRegistrationOutput) ElementType

func (AccountRegistrationOutput) ElementType() reflect.Type

func (AccountRegistrationOutput) KmsKey

KMS key identifier.

func (AccountRegistrationOutput) Status

Status of the account registration request.

func (AccountRegistrationOutput) ToAccountRegistrationOutput

func (o AccountRegistrationOutput) ToAccountRegistrationOutput() AccountRegistrationOutput

func (AccountRegistrationOutput) ToAccountRegistrationOutputWithContext

func (o AccountRegistrationOutput) ToAccountRegistrationOutputWithContext(ctx context.Context) AccountRegistrationOutput

type AccountRegistrationState

type AccountRegistrationState struct {
	// Identifier for the delegated administrator account.
	DelegatedAdminAccount pulumi.StringPtrInput
	// Flag to deregister AuditManager in the account upon destruction. Defaults to `false` (ie. AuditManager will remain active in the account, even if this resource is removed).
	DeregisterOnDestroy pulumi.BoolPtrInput
	// KMS key identifier.
	KmsKey pulumi.StringPtrInput
	// Status of the account registration request.
	Status pulumi.StringPtrInput
}

func (AccountRegistrationState) ElementType

func (AccountRegistrationState) ElementType() reflect.Type

type Assessment

type Assessment struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the assessment.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Assessment report storage destination configuration. See `assessmentReportsDestination` below.
	AssessmentReportsDestination AssessmentAssessmentReportsDestinationPtrOutput `pulumi:"assessmentReportsDestination"`
	// Description of the assessment.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Unique identifier of the framework the assessment will be created from.
	FrameworkId pulumi.StringOutput `pulumi:"frameworkId"`
	// Name of the assessment.
	Name pulumi.StringOutput `pulumi:"name"`
	// List of roles for the assessment. See `roles` below.
	Roles AssessmentRoleArrayOutput `pulumi:"roles"`
	// Complete list of all roles with access to the assessment. This includes both roles explicitly configured via the `roles` block, and any roles which have access to all Audit Manager assessments by default.
	RolesAlls AssessmentRolesAllArrayOutput `pulumi:"rolesAlls"`
	// Amazon Web Services accounts and services that are in scope for the assessment. See `scope` below.
	//
	// The following arguments are optional:
	Scope AssessmentScopePtrOutput `pulumi:"scope"`
	// Status of the assessment. Valid values are `ACTIVE` and `INACTIVE`.
	Status pulumi.StringOutput `pulumi:"status"`
	// A map of tags to assign to the assessment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags    pulumi.StringMapOutput `pulumi:"tags"`
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS Audit Manager Assessment.

## Example Usage ### Basic Usage

```go package main

import (

"fmt"

"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.NewAssessment(ctx, "test", &auditmanager.AssessmentArgs{
			AssessmentReportsDestination: &auditmanager.AssessmentAssessmentReportsDestinationArgs{
				Destination:     pulumi.String(fmt.Sprintf("s3://%v", aws_s3_bucket.Test.Id)),
				DestinationType: pulumi.String("S3"),
			},
			FrameworkId: pulumi.Any(aws_auditmanager_framework.Test.Id),
			Roles: auditmanager.AssessmentRoleArray{
				&auditmanager.AssessmentRoleArgs{
					RoleArn:  pulumi.Any(aws_iam_role.Test.Arn),
					RoleType: pulumi.String("PROCESS_OWNER"),
				},
			},
			Scope: &auditmanager.AssessmentScopeArgs{
				AwsAccounts: auditmanager.AssessmentScopeAwsAccountArray{
					&auditmanager.AssessmentScopeAwsAccountArgs{
						Id: pulumi.Any(data.Aws_caller_identity.Current.Account_id),
					},
				},
				AwsServices: auditmanager.AssessmentScopeAwsServiceArray{
					&auditmanager.AssessmentScopeAwsServiceArgs{
						ServiceName: pulumi.String("S3"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_auditmanager_assessment.example

id = "abc123-de45" } Using `pulumi import`, import Audit Manager Assessments using the assessment `id`. For exampleconsole % pulumi import aws_auditmanager_assessment.example abc123-de45

func GetAssessment

func GetAssessment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssessmentState, opts ...pulumi.ResourceOption) (*Assessment, error)

GetAssessment gets an existing Assessment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssessment

func NewAssessment(ctx *pulumi.Context,
	name string, args *AssessmentArgs, opts ...pulumi.ResourceOption) (*Assessment, error)

NewAssessment registers a new resource with the given unique name, arguments, and options.

func (*Assessment) ElementType

func (*Assessment) ElementType() reflect.Type

func (*Assessment) ToAssessmentOutput

func (i *Assessment) ToAssessmentOutput() AssessmentOutput

func (*Assessment) ToAssessmentOutputWithContext

func (i *Assessment) ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput

type AssessmentArgs

type AssessmentArgs struct {
	// Assessment report storage destination configuration. See `assessmentReportsDestination` below.
	AssessmentReportsDestination AssessmentAssessmentReportsDestinationPtrInput
	// Description of the assessment.
	Description pulumi.StringPtrInput
	// Unique identifier of the framework the assessment will be created from.
	FrameworkId pulumi.StringInput
	// Name of the assessment.
	Name pulumi.StringPtrInput
	// List of roles for the assessment. See `roles` below.
	Roles AssessmentRoleArrayInput
	// Amazon Web Services accounts and services that are in scope for the assessment. See `scope` below.
	//
	// The following arguments are optional:
	Scope AssessmentScopePtrInput
	// A map of tags to assign to the assessment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Assessment resource.

func (AssessmentArgs) ElementType

func (AssessmentArgs) ElementType() reflect.Type

type AssessmentArray

type AssessmentArray []AssessmentInput

func (AssessmentArray) ElementType

func (AssessmentArray) ElementType() reflect.Type

func (AssessmentArray) ToAssessmentArrayOutput

func (i AssessmentArray) ToAssessmentArrayOutput() AssessmentArrayOutput

func (AssessmentArray) ToAssessmentArrayOutputWithContext

func (i AssessmentArray) ToAssessmentArrayOutputWithContext(ctx context.Context) AssessmentArrayOutput

type AssessmentArrayInput

type AssessmentArrayInput interface {
	pulumi.Input

	ToAssessmentArrayOutput() AssessmentArrayOutput
	ToAssessmentArrayOutputWithContext(context.Context) AssessmentArrayOutput
}

AssessmentArrayInput is an input type that accepts AssessmentArray and AssessmentArrayOutput values. You can construct a concrete instance of `AssessmentArrayInput` via:

AssessmentArray{ AssessmentArgs{...} }

type AssessmentArrayOutput

type AssessmentArrayOutput struct{ *pulumi.OutputState }

func (AssessmentArrayOutput) ElementType

func (AssessmentArrayOutput) ElementType() reflect.Type

func (AssessmentArrayOutput) Index

func (AssessmentArrayOutput) ToAssessmentArrayOutput

func (o AssessmentArrayOutput) ToAssessmentArrayOutput() AssessmentArrayOutput

func (AssessmentArrayOutput) ToAssessmentArrayOutputWithContext

func (o AssessmentArrayOutput) ToAssessmentArrayOutputWithContext(ctx context.Context) AssessmentArrayOutput

type AssessmentAssessmentReportsDestination

type AssessmentAssessmentReportsDestination struct {
	// Destination of the assessment report. This value be in the form `s3://{bucket_name}`.
	Destination string `pulumi:"destination"`
	// Destination type. Currently, `S3` is the only valid value.
	DestinationType string `pulumi:"destinationType"`
}

type AssessmentAssessmentReportsDestinationArgs

type AssessmentAssessmentReportsDestinationArgs struct {
	// Destination of the assessment report. This value be in the form `s3://{bucket_name}`.
	Destination pulumi.StringInput `pulumi:"destination"`
	// Destination type. Currently, `S3` is the only valid value.
	DestinationType pulumi.StringInput `pulumi:"destinationType"`
}

func (AssessmentAssessmentReportsDestinationArgs) ElementType

func (AssessmentAssessmentReportsDestinationArgs) ToAssessmentAssessmentReportsDestinationOutput

func (i AssessmentAssessmentReportsDestinationArgs) ToAssessmentAssessmentReportsDestinationOutput() AssessmentAssessmentReportsDestinationOutput

func (AssessmentAssessmentReportsDestinationArgs) ToAssessmentAssessmentReportsDestinationOutputWithContext

func (i AssessmentAssessmentReportsDestinationArgs) ToAssessmentAssessmentReportsDestinationOutputWithContext(ctx context.Context) AssessmentAssessmentReportsDestinationOutput

func (AssessmentAssessmentReportsDestinationArgs) ToAssessmentAssessmentReportsDestinationPtrOutput

func (i AssessmentAssessmentReportsDestinationArgs) ToAssessmentAssessmentReportsDestinationPtrOutput() AssessmentAssessmentReportsDestinationPtrOutput

func (AssessmentAssessmentReportsDestinationArgs) ToAssessmentAssessmentReportsDestinationPtrOutputWithContext

func (i AssessmentAssessmentReportsDestinationArgs) ToAssessmentAssessmentReportsDestinationPtrOutputWithContext(ctx context.Context) AssessmentAssessmentReportsDestinationPtrOutput

type AssessmentAssessmentReportsDestinationInput

type AssessmentAssessmentReportsDestinationInput interface {
	pulumi.Input

	ToAssessmentAssessmentReportsDestinationOutput() AssessmentAssessmentReportsDestinationOutput
	ToAssessmentAssessmentReportsDestinationOutputWithContext(context.Context) AssessmentAssessmentReportsDestinationOutput
}

AssessmentAssessmentReportsDestinationInput is an input type that accepts AssessmentAssessmentReportsDestinationArgs and AssessmentAssessmentReportsDestinationOutput values. You can construct a concrete instance of `AssessmentAssessmentReportsDestinationInput` via:

AssessmentAssessmentReportsDestinationArgs{...}

type AssessmentAssessmentReportsDestinationOutput

type AssessmentAssessmentReportsDestinationOutput struct{ *pulumi.OutputState }

func (AssessmentAssessmentReportsDestinationOutput) Destination

Destination of the assessment report. This value be in the form `s3://{bucket_name}`.

func (AssessmentAssessmentReportsDestinationOutput) DestinationType

Destination type. Currently, `S3` is the only valid value.

func (AssessmentAssessmentReportsDestinationOutput) ElementType

func (AssessmentAssessmentReportsDestinationOutput) ToAssessmentAssessmentReportsDestinationOutput

func (o AssessmentAssessmentReportsDestinationOutput) ToAssessmentAssessmentReportsDestinationOutput() AssessmentAssessmentReportsDestinationOutput

func (AssessmentAssessmentReportsDestinationOutput) ToAssessmentAssessmentReportsDestinationOutputWithContext

func (o AssessmentAssessmentReportsDestinationOutput) ToAssessmentAssessmentReportsDestinationOutputWithContext(ctx context.Context) AssessmentAssessmentReportsDestinationOutput

func (AssessmentAssessmentReportsDestinationOutput) ToAssessmentAssessmentReportsDestinationPtrOutput

func (o AssessmentAssessmentReportsDestinationOutput) ToAssessmentAssessmentReportsDestinationPtrOutput() AssessmentAssessmentReportsDestinationPtrOutput

func (AssessmentAssessmentReportsDestinationOutput) ToAssessmentAssessmentReportsDestinationPtrOutputWithContext

func (o AssessmentAssessmentReportsDestinationOutput) ToAssessmentAssessmentReportsDestinationPtrOutputWithContext(ctx context.Context) AssessmentAssessmentReportsDestinationPtrOutput

type AssessmentAssessmentReportsDestinationPtrInput

type AssessmentAssessmentReportsDestinationPtrInput interface {
	pulumi.Input

	ToAssessmentAssessmentReportsDestinationPtrOutput() AssessmentAssessmentReportsDestinationPtrOutput
	ToAssessmentAssessmentReportsDestinationPtrOutputWithContext(context.Context) AssessmentAssessmentReportsDestinationPtrOutput
}

AssessmentAssessmentReportsDestinationPtrInput is an input type that accepts AssessmentAssessmentReportsDestinationArgs, AssessmentAssessmentReportsDestinationPtr and AssessmentAssessmentReportsDestinationPtrOutput values. You can construct a concrete instance of `AssessmentAssessmentReportsDestinationPtrInput` via:

        AssessmentAssessmentReportsDestinationArgs{...}

or:

        nil

type AssessmentAssessmentReportsDestinationPtrOutput

type AssessmentAssessmentReportsDestinationPtrOutput struct{ *pulumi.OutputState }

func (AssessmentAssessmentReportsDestinationPtrOutput) Destination

Destination of the assessment report. This value be in the form `s3://{bucket_name}`.

func (AssessmentAssessmentReportsDestinationPtrOutput) DestinationType

Destination type. Currently, `S3` is the only valid value.

func (AssessmentAssessmentReportsDestinationPtrOutput) Elem

func (AssessmentAssessmentReportsDestinationPtrOutput) ElementType

func (AssessmentAssessmentReportsDestinationPtrOutput) ToAssessmentAssessmentReportsDestinationPtrOutput

func (o AssessmentAssessmentReportsDestinationPtrOutput) ToAssessmentAssessmentReportsDestinationPtrOutput() AssessmentAssessmentReportsDestinationPtrOutput

func (AssessmentAssessmentReportsDestinationPtrOutput) ToAssessmentAssessmentReportsDestinationPtrOutputWithContext

func (o AssessmentAssessmentReportsDestinationPtrOutput) ToAssessmentAssessmentReportsDestinationPtrOutputWithContext(ctx context.Context) AssessmentAssessmentReportsDestinationPtrOutput

type AssessmentDelegation

type AssessmentDelegation struct {
	pulumi.CustomResourceState

	// Identifier for the assessment.
	AssessmentId pulumi.StringOutput `pulumi:"assessmentId"`
	// Comment describing the delegation request.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Assessment control set name. This value is the control set name used during assessment creation (not the AWS-generated ID). The `_id` suffix on this attribute has been preserved to be consistent with the underlying AWS API.
	ControlSetId pulumi.StringOutput `pulumi:"controlSetId"`
	// Unique identifier for the delegation.
	DelegationId pulumi.StringOutput `pulumi:"delegationId"`
	// Amazon Resource Name (ARN) of the IAM role.
	RoleArn pulumi.StringOutput `pulumi:"roleArn"`
	// Type of customer persona. For assessment delegation, type must always be `RESOURCE_OWNER`.
	//
	// The following arguments are optional:
	RoleType pulumi.StringOutput `pulumi:"roleType"`
	// Status of the delegation.
	Status pulumi.StringOutput `pulumi:"status"`
}

Resource for managing an AWS Audit Manager Assessment Delegation.

## Example Usage ### Basic Usage

```go 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.NewAssessmentDelegation(ctx, "example", &auditmanager.AssessmentDelegationArgs{
			AssessmentId: pulumi.Any(aws_auditmanager_assessment.Example.Id),
			RoleArn:      pulumi.Any(aws_iam_role.Example.Arn),
			RoleType:     pulumi.String("RESOURCE_OWNER"),
			ControlSetId: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_auditmanager_assessment_delegation.example

id = "abcdef-123456,arn:aws:iam::012345678901:role/example,example" } Using `pulumi import`, import Audit Manager Assessment Delegation using the `id`. For exampleconsole % pulumi import aws_auditmanager_assessment_delegation.example abcdef-123456,arn:aws:iam::012345678901:role/example,example

func GetAssessmentDelegation

func GetAssessmentDelegation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssessmentDelegationState, opts ...pulumi.ResourceOption) (*AssessmentDelegation, error)

GetAssessmentDelegation gets an existing AssessmentDelegation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssessmentDelegation

func NewAssessmentDelegation(ctx *pulumi.Context,
	name string, args *AssessmentDelegationArgs, opts ...pulumi.ResourceOption) (*AssessmentDelegation, error)

NewAssessmentDelegation registers a new resource with the given unique name, arguments, and options.

func (*AssessmentDelegation) ElementType

func (*AssessmentDelegation) ElementType() reflect.Type

func (*AssessmentDelegation) ToAssessmentDelegationOutput

func (i *AssessmentDelegation) ToAssessmentDelegationOutput() AssessmentDelegationOutput

func (*AssessmentDelegation) ToAssessmentDelegationOutputWithContext

func (i *AssessmentDelegation) ToAssessmentDelegationOutputWithContext(ctx context.Context) AssessmentDelegationOutput

type AssessmentDelegationArgs

type AssessmentDelegationArgs struct {
	// Identifier for the assessment.
	AssessmentId pulumi.StringInput
	// Comment describing the delegation request.
	Comment pulumi.StringPtrInput
	// Assessment control set name. This value is the control set name used during assessment creation (not the AWS-generated ID). The `_id` suffix on this attribute has been preserved to be consistent with the underlying AWS API.
	ControlSetId pulumi.StringInput
	// Amazon Resource Name (ARN) of the IAM role.
	RoleArn pulumi.StringInput
	// Type of customer persona. For assessment delegation, type must always be `RESOURCE_OWNER`.
	//
	// The following arguments are optional:
	RoleType pulumi.StringInput
}

The set of arguments for constructing a AssessmentDelegation resource.

func (AssessmentDelegationArgs) ElementType

func (AssessmentDelegationArgs) ElementType() reflect.Type

type AssessmentDelegationArray

type AssessmentDelegationArray []AssessmentDelegationInput

func (AssessmentDelegationArray) ElementType

func (AssessmentDelegationArray) ElementType() reflect.Type

func (AssessmentDelegationArray) ToAssessmentDelegationArrayOutput

func (i AssessmentDelegationArray) ToAssessmentDelegationArrayOutput() AssessmentDelegationArrayOutput

func (AssessmentDelegationArray) ToAssessmentDelegationArrayOutputWithContext

func (i AssessmentDelegationArray) ToAssessmentDelegationArrayOutputWithContext(ctx context.Context) AssessmentDelegationArrayOutput

type AssessmentDelegationArrayInput

type AssessmentDelegationArrayInput interface {
	pulumi.Input

	ToAssessmentDelegationArrayOutput() AssessmentDelegationArrayOutput
	ToAssessmentDelegationArrayOutputWithContext(context.Context) AssessmentDelegationArrayOutput
}

AssessmentDelegationArrayInput is an input type that accepts AssessmentDelegationArray and AssessmentDelegationArrayOutput values. You can construct a concrete instance of `AssessmentDelegationArrayInput` via:

AssessmentDelegationArray{ AssessmentDelegationArgs{...} }

type AssessmentDelegationArrayOutput

type AssessmentDelegationArrayOutput struct{ *pulumi.OutputState }

func (AssessmentDelegationArrayOutput) ElementType

func (AssessmentDelegationArrayOutput) Index

func (AssessmentDelegationArrayOutput) ToAssessmentDelegationArrayOutput

func (o AssessmentDelegationArrayOutput) ToAssessmentDelegationArrayOutput() AssessmentDelegationArrayOutput

func (AssessmentDelegationArrayOutput) ToAssessmentDelegationArrayOutputWithContext

func (o AssessmentDelegationArrayOutput) ToAssessmentDelegationArrayOutputWithContext(ctx context.Context) AssessmentDelegationArrayOutput

type AssessmentDelegationInput

type AssessmentDelegationInput interface {
	pulumi.Input

	ToAssessmentDelegationOutput() AssessmentDelegationOutput
	ToAssessmentDelegationOutputWithContext(ctx context.Context) AssessmentDelegationOutput
}

type AssessmentDelegationMap

type AssessmentDelegationMap map[string]AssessmentDelegationInput

func (AssessmentDelegationMap) ElementType

func (AssessmentDelegationMap) ElementType() reflect.Type

func (AssessmentDelegationMap) ToAssessmentDelegationMapOutput

func (i AssessmentDelegationMap) ToAssessmentDelegationMapOutput() AssessmentDelegationMapOutput

func (AssessmentDelegationMap) ToAssessmentDelegationMapOutputWithContext

func (i AssessmentDelegationMap) ToAssessmentDelegationMapOutputWithContext(ctx context.Context) AssessmentDelegationMapOutput

type AssessmentDelegationMapInput

type AssessmentDelegationMapInput interface {
	pulumi.Input

	ToAssessmentDelegationMapOutput() AssessmentDelegationMapOutput
	ToAssessmentDelegationMapOutputWithContext(context.Context) AssessmentDelegationMapOutput
}

AssessmentDelegationMapInput is an input type that accepts AssessmentDelegationMap and AssessmentDelegationMapOutput values. You can construct a concrete instance of `AssessmentDelegationMapInput` via:

AssessmentDelegationMap{ "key": AssessmentDelegationArgs{...} }

type AssessmentDelegationMapOutput

type AssessmentDelegationMapOutput struct{ *pulumi.OutputState }

func (AssessmentDelegationMapOutput) ElementType

func (AssessmentDelegationMapOutput) MapIndex

func (AssessmentDelegationMapOutput) ToAssessmentDelegationMapOutput

func (o AssessmentDelegationMapOutput) ToAssessmentDelegationMapOutput() AssessmentDelegationMapOutput

func (AssessmentDelegationMapOutput) ToAssessmentDelegationMapOutputWithContext

func (o AssessmentDelegationMapOutput) ToAssessmentDelegationMapOutputWithContext(ctx context.Context) AssessmentDelegationMapOutput

type AssessmentDelegationOutput

type AssessmentDelegationOutput struct{ *pulumi.OutputState }

func (AssessmentDelegationOutput) AssessmentId

Identifier for the assessment.

func (AssessmentDelegationOutput) Comment

Comment describing the delegation request.

func (AssessmentDelegationOutput) ControlSetId

Assessment control set name. This value is the control set name used during assessment creation (not the AWS-generated ID). The `_id` suffix on this attribute has been preserved to be consistent with the underlying AWS API.

func (AssessmentDelegationOutput) DelegationId

Unique identifier for the delegation.

func (AssessmentDelegationOutput) ElementType

func (AssessmentDelegationOutput) ElementType() reflect.Type

func (AssessmentDelegationOutput) RoleArn

Amazon Resource Name (ARN) of the IAM role.

func (AssessmentDelegationOutput) RoleType

Type of customer persona. For assessment delegation, type must always be `RESOURCE_OWNER`.

The following arguments are optional:

func (AssessmentDelegationOutput) Status

Status of the delegation.

func (AssessmentDelegationOutput) ToAssessmentDelegationOutput

func (o AssessmentDelegationOutput) ToAssessmentDelegationOutput() AssessmentDelegationOutput

func (AssessmentDelegationOutput) ToAssessmentDelegationOutputWithContext

func (o AssessmentDelegationOutput) ToAssessmentDelegationOutputWithContext(ctx context.Context) AssessmentDelegationOutput

type AssessmentDelegationState

type AssessmentDelegationState struct {
	// Identifier for the assessment.
	AssessmentId pulumi.StringPtrInput
	// Comment describing the delegation request.
	Comment pulumi.StringPtrInput
	// Assessment control set name. This value is the control set name used during assessment creation (not the AWS-generated ID). The `_id` suffix on this attribute has been preserved to be consistent with the underlying AWS API.
	ControlSetId pulumi.StringPtrInput
	// Unique identifier for the delegation.
	DelegationId pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the IAM role.
	RoleArn pulumi.StringPtrInput
	// Type of customer persona. For assessment delegation, type must always be `RESOURCE_OWNER`.
	//
	// The following arguments are optional:
	RoleType pulumi.StringPtrInput
	// Status of the delegation.
	Status pulumi.StringPtrInput
}

func (AssessmentDelegationState) ElementType

func (AssessmentDelegationState) ElementType() reflect.Type

type AssessmentInput

type AssessmentInput interface {
	pulumi.Input

	ToAssessmentOutput() AssessmentOutput
	ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput
}

type AssessmentMap

type AssessmentMap map[string]AssessmentInput

func (AssessmentMap) ElementType

func (AssessmentMap) ElementType() reflect.Type

func (AssessmentMap) ToAssessmentMapOutput

func (i AssessmentMap) ToAssessmentMapOutput() AssessmentMapOutput

func (AssessmentMap) ToAssessmentMapOutputWithContext

func (i AssessmentMap) ToAssessmentMapOutputWithContext(ctx context.Context) AssessmentMapOutput

type AssessmentMapInput

type AssessmentMapInput interface {
	pulumi.Input

	ToAssessmentMapOutput() AssessmentMapOutput
	ToAssessmentMapOutputWithContext(context.Context) AssessmentMapOutput
}

AssessmentMapInput is an input type that accepts AssessmentMap and AssessmentMapOutput values. You can construct a concrete instance of `AssessmentMapInput` via:

AssessmentMap{ "key": AssessmentArgs{...} }

type AssessmentMapOutput

type AssessmentMapOutput struct{ *pulumi.OutputState }

func (AssessmentMapOutput) ElementType

func (AssessmentMapOutput) ElementType() reflect.Type

func (AssessmentMapOutput) MapIndex

func (AssessmentMapOutput) ToAssessmentMapOutput

func (o AssessmentMapOutput) ToAssessmentMapOutput() AssessmentMapOutput

func (AssessmentMapOutput) ToAssessmentMapOutputWithContext

func (o AssessmentMapOutput) ToAssessmentMapOutputWithContext(ctx context.Context) AssessmentMapOutput

type AssessmentOutput

type AssessmentOutput struct{ *pulumi.OutputState }

func (AssessmentOutput) Arn

Amazon Resource Name (ARN) of the assessment.

func (AssessmentOutput) AssessmentReportsDestination

func (o AssessmentOutput) AssessmentReportsDestination() AssessmentAssessmentReportsDestinationPtrOutput

Assessment report storage destination configuration. See `assessmentReportsDestination` below.

func (AssessmentOutput) Description

func (o AssessmentOutput) Description() pulumi.StringPtrOutput

Description of the assessment.

func (AssessmentOutput) ElementType

func (AssessmentOutput) ElementType() reflect.Type

func (AssessmentOutput) FrameworkId

func (o AssessmentOutput) FrameworkId() pulumi.StringOutput

Unique identifier of the framework the assessment will be created from.

func (AssessmentOutput) Name

Name of the assessment.

func (AssessmentOutput) Roles

List of roles for the assessment. See `roles` below.

func (AssessmentOutput) RolesAlls

Complete list of all roles with access to the assessment. This includes both roles explicitly configured via the `roles` block, and any roles which have access to all Audit Manager assessments by default.

func (AssessmentOutput) Scope

Amazon Web Services accounts and services that are in scope for the assessment. See `scope` below.

The following arguments are optional:

func (AssessmentOutput) Status

Status of the assessment. Valid values are `ACTIVE` and `INACTIVE`.

func (AssessmentOutput) Tags

A map of tags to assign to the assessment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (AssessmentOutput) TagsAll

func (AssessmentOutput) ToAssessmentOutput

func (o AssessmentOutput) ToAssessmentOutput() AssessmentOutput

func (AssessmentOutput) ToAssessmentOutputWithContext

func (o AssessmentOutput) ToAssessmentOutputWithContext(ctx context.Context) AssessmentOutput

type AssessmentReport

type AssessmentReport struct {
	pulumi.CustomResourceState

	// Unique identifier of the assessment to create the report from.
	//
	// The following arguments are optional:
	AssessmentId pulumi.StringOutput `pulumi:"assessmentId"`
	// Name of the user who created the assessment report.
	Author pulumi.StringOutput `pulumi:"author"`
	// Description of the assessment report.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Name of the assessment report.
	Name pulumi.StringOutput `pulumi:"name"`
	// Current status of the specified assessment report. Valid values are `COMPLETE`, `IN_PROGRESS`, and `FAILED`.
	Status pulumi.StringOutput `pulumi:"status"`
}

Resource for managing an AWS Audit Manager Assessment Report.

## Example Usage ### Basic Usage

```go 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.NewAssessmentReport(ctx, "test", &auditmanager.AssessmentReportArgs{
			AssessmentId: pulumi.Any(aws_auditmanager_assessment.Test.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_auditmanager_assessment_report.example

id = "abc123-de45" } Using `pulumi import`, import Audit Manager Assessment Reports using the assessment report `id`. For exampleconsole % pulumi import aws_auditmanager_assessment_report.example abc123-de45

func GetAssessmentReport

func GetAssessmentReport(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AssessmentReportState, opts ...pulumi.ResourceOption) (*AssessmentReport, error)

GetAssessmentReport gets an existing AssessmentReport resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAssessmentReport

func NewAssessmentReport(ctx *pulumi.Context,
	name string, args *AssessmentReportArgs, opts ...pulumi.ResourceOption) (*AssessmentReport, error)

NewAssessmentReport registers a new resource with the given unique name, arguments, and options.

func (*AssessmentReport) ElementType

func (*AssessmentReport) ElementType() reflect.Type

func (*AssessmentReport) ToAssessmentReportOutput

func (i *AssessmentReport) ToAssessmentReportOutput() AssessmentReportOutput

func (*AssessmentReport) ToAssessmentReportOutputWithContext

func (i *AssessmentReport) ToAssessmentReportOutputWithContext(ctx context.Context) AssessmentReportOutput

type AssessmentReportArgs

type AssessmentReportArgs struct {
	// Unique identifier of the assessment to create the report from.
	//
	// The following arguments are optional:
	AssessmentId pulumi.StringInput
	// Description of the assessment report.
	Description pulumi.StringPtrInput
	// Name of the assessment report.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a AssessmentReport resource.

func (AssessmentReportArgs) ElementType

func (AssessmentReportArgs) ElementType() reflect.Type

type AssessmentReportArray

type AssessmentReportArray []AssessmentReportInput

func (AssessmentReportArray) ElementType

func (AssessmentReportArray) ElementType() reflect.Type

func (AssessmentReportArray) ToAssessmentReportArrayOutput

func (i AssessmentReportArray) ToAssessmentReportArrayOutput() AssessmentReportArrayOutput

func (AssessmentReportArray) ToAssessmentReportArrayOutputWithContext

func (i AssessmentReportArray) ToAssessmentReportArrayOutputWithContext(ctx context.Context) AssessmentReportArrayOutput

type AssessmentReportArrayInput

type AssessmentReportArrayInput interface {
	pulumi.Input

	ToAssessmentReportArrayOutput() AssessmentReportArrayOutput
	ToAssessmentReportArrayOutputWithContext(context.Context) AssessmentReportArrayOutput
}

AssessmentReportArrayInput is an input type that accepts AssessmentReportArray and AssessmentReportArrayOutput values. You can construct a concrete instance of `AssessmentReportArrayInput` via:

AssessmentReportArray{ AssessmentReportArgs{...} }

type AssessmentReportArrayOutput

type AssessmentReportArrayOutput struct{ *pulumi.OutputState }

func (AssessmentReportArrayOutput) ElementType

func (AssessmentReportArrayOutput) Index

func (AssessmentReportArrayOutput) ToAssessmentReportArrayOutput

func (o AssessmentReportArrayOutput) ToAssessmentReportArrayOutput() AssessmentReportArrayOutput

func (AssessmentReportArrayOutput) ToAssessmentReportArrayOutputWithContext

func (o AssessmentReportArrayOutput) ToAssessmentReportArrayOutputWithContext(ctx context.Context) AssessmentReportArrayOutput

type AssessmentReportInput

type AssessmentReportInput interface {
	pulumi.Input

	ToAssessmentReportOutput() AssessmentReportOutput
	ToAssessmentReportOutputWithContext(ctx context.Context) AssessmentReportOutput
}

type AssessmentReportMap

type AssessmentReportMap map[string]AssessmentReportInput

func (AssessmentReportMap) ElementType

func (AssessmentReportMap) ElementType() reflect.Type

func (AssessmentReportMap) ToAssessmentReportMapOutput

func (i AssessmentReportMap) ToAssessmentReportMapOutput() AssessmentReportMapOutput

func (AssessmentReportMap) ToAssessmentReportMapOutputWithContext

func (i AssessmentReportMap) ToAssessmentReportMapOutputWithContext(ctx context.Context) AssessmentReportMapOutput

type AssessmentReportMapInput

type AssessmentReportMapInput interface {
	pulumi.Input

	ToAssessmentReportMapOutput() AssessmentReportMapOutput
	ToAssessmentReportMapOutputWithContext(context.Context) AssessmentReportMapOutput
}

AssessmentReportMapInput is an input type that accepts AssessmentReportMap and AssessmentReportMapOutput values. You can construct a concrete instance of `AssessmentReportMapInput` via:

AssessmentReportMap{ "key": AssessmentReportArgs{...} }

type AssessmentReportMapOutput

type AssessmentReportMapOutput struct{ *pulumi.OutputState }

func (AssessmentReportMapOutput) ElementType

func (AssessmentReportMapOutput) ElementType() reflect.Type

func (AssessmentReportMapOutput) MapIndex

func (AssessmentReportMapOutput) ToAssessmentReportMapOutput

func (o AssessmentReportMapOutput) ToAssessmentReportMapOutput() AssessmentReportMapOutput

func (AssessmentReportMapOutput) ToAssessmentReportMapOutputWithContext

func (o AssessmentReportMapOutput) ToAssessmentReportMapOutputWithContext(ctx context.Context) AssessmentReportMapOutput

type AssessmentReportOutput

type AssessmentReportOutput struct{ *pulumi.OutputState }

func (AssessmentReportOutput) AssessmentId

func (o AssessmentReportOutput) AssessmentId() pulumi.StringOutput

Unique identifier of the assessment to create the report from.

The following arguments are optional:

func (AssessmentReportOutput) Author

Name of the user who created the assessment report.

func (AssessmentReportOutput) Description

Description of the assessment report.

func (AssessmentReportOutput) ElementType

func (AssessmentReportOutput) ElementType() reflect.Type

func (AssessmentReportOutput) Name

Name of the assessment report.

func (AssessmentReportOutput) Status

Current status of the specified assessment report. Valid values are `COMPLETE`, `IN_PROGRESS`, and `FAILED`.

func (AssessmentReportOutput) ToAssessmentReportOutput

func (o AssessmentReportOutput) ToAssessmentReportOutput() AssessmentReportOutput

func (AssessmentReportOutput) ToAssessmentReportOutputWithContext

func (o AssessmentReportOutput) ToAssessmentReportOutputWithContext(ctx context.Context) AssessmentReportOutput

type AssessmentReportState

type AssessmentReportState struct {
	// Unique identifier of the assessment to create the report from.
	//
	// The following arguments are optional:
	AssessmentId pulumi.StringPtrInput
	// Name of the user who created the assessment report.
	Author pulumi.StringPtrInput
	// Description of the assessment report.
	Description pulumi.StringPtrInput
	// Name of the assessment report.
	Name pulumi.StringPtrInput
	// Current status of the specified assessment report. Valid values are `COMPLETE`, `IN_PROGRESS`, and `FAILED`.
	Status pulumi.StringPtrInput
}

func (AssessmentReportState) ElementType

func (AssessmentReportState) ElementType() reflect.Type

type AssessmentRole

type AssessmentRole struct {
	// Amazon Resource Name (ARN) of the IAM role.
	RoleArn string `pulumi:"roleArn"`
	// Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
	RoleType string `pulumi:"roleType"`
}

type AssessmentRoleArgs

type AssessmentRoleArgs struct {
	// Amazon Resource Name (ARN) of the IAM role.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
	RoleType pulumi.StringInput `pulumi:"roleType"`
}

func (AssessmentRoleArgs) ElementType

func (AssessmentRoleArgs) ElementType() reflect.Type

func (AssessmentRoleArgs) ToAssessmentRoleOutput

func (i AssessmentRoleArgs) ToAssessmentRoleOutput() AssessmentRoleOutput

func (AssessmentRoleArgs) ToAssessmentRoleOutputWithContext

func (i AssessmentRoleArgs) ToAssessmentRoleOutputWithContext(ctx context.Context) AssessmentRoleOutput

type AssessmentRoleArray

type AssessmentRoleArray []AssessmentRoleInput

func (AssessmentRoleArray) ElementType

func (AssessmentRoleArray) ElementType() reflect.Type

func (AssessmentRoleArray) ToAssessmentRoleArrayOutput

func (i AssessmentRoleArray) ToAssessmentRoleArrayOutput() AssessmentRoleArrayOutput

func (AssessmentRoleArray) ToAssessmentRoleArrayOutputWithContext

func (i AssessmentRoleArray) ToAssessmentRoleArrayOutputWithContext(ctx context.Context) AssessmentRoleArrayOutput

type AssessmentRoleArrayInput

type AssessmentRoleArrayInput interface {
	pulumi.Input

	ToAssessmentRoleArrayOutput() AssessmentRoleArrayOutput
	ToAssessmentRoleArrayOutputWithContext(context.Context) AssessmentRoleArrayOutput
}

AssessmentRoleArrayInput is an input type that accepts AssessmentRoleArray and AssessmentRoleArrayOutput values. You can construct a concrete instance of `AssessmentRoleArrayInput` via:

AssessmentRoleArray{ AssessmentRoleArgs{...} }

type AssessmentRoleArrayOutput

type AssessmentRoleArrayOutput struct{ *pulumi.OutputState }

func (AssessmentRoleArrayOutput) ElementType

func (AssessmentRoleArrayOutput) ElementType() reflect.Type

func (AssessmentRoleArrayOutput) Index

func (AssessmentRoleArrayOutput) ToAssessmentRoleArrayOutput

func (o AssessmentRoleArrayOutput) ToAssessmentRoleArrayOutput() AssessmentRoleArrayOutput

func (AssessmentRoleArrayOutput) ToAssessmentRoleArrayOutputWithContext

func (o AssessmentRoleArrayOutput) ToAssessmentRoleArrayOutputWithContext(ctx context.Context) AssessmentRoleArrayOutput

type AssessmentRoleInput

type AssessmentRoleInput interface {
	pulumi.Input

	ToAssessmentRoleOutput() AssessmentRoleOutput
	ToAssessmentRoleOutputWithContext(context.Context) AssessmentRoleOutput
}

AssessmentRoleInput is an input type that accepts AssessmentRoleArgs and AssessmentRoleOutput values. You can construct a concrete instance of `AssessmentRoleInput` via:

AssessmentRoleArgs{...}

type AssessmentRoleOutput

type AssessmentRoleOutput struct{ *pulumi.OutputState }

func (AssessmentRoleOutput) ElementType

func (AssessmentRoleOutput) ElementType() reflect.Type

func (AssessmentRoleOutput) RoleArn

Amazon Resource Name (ARN) of the IAM role.

func (AssessmentRoleOutput) RoleType

Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.

func (AssessmentRoleOutput) ToAssessmentRoleOutput

func (o AssessmentRoleOutput) ToAssessmentRoleOutput() AssessmentRoleOutput

func (AssessmentRoleOutput) ToAssessmentRoleOutputWithContext

func (o AssessmentRoleOutput) ToAssessmentRoleOutputWithContext(ctx context.Context) AssessmentRoleOutput

type AssessmentRolesAll

type AssessmentRolesAll struct {
	// Amazon Resource Name (ARN) of the IAM role.
	RoleArn string `pulumi:"roleArn"`
	// Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
	RoleType string `pulumi:"roleType"`
}

type AssessmentRolesAllArgs

type AssessmentRolesAllArgs struct {
	// Amazon Resource Name (ARN) of the IAM role.
	RoleArn pulumi.StringInput `pulumi:"roleArn"`
	// Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.
	RoleType pulumi.StringInput `pulumi:"roleType"`
}

func (AssessmentRolesAllArgs) ElementType

func (AssessmentRolesAllArgs) ElementType() reflect.Type

func (AssessmentRolesAllArgs) ToAssessmentRolesAllOutput

func (i AssessmentRolesAllArgs) ToAssessmentRolesAllOutput() AssessmentRolesAllOutput

func (AssessmentRolesAllArgs) ToAssessmentRolesAllOutputWithContext

func (i AssessmentRolesAllArgs) ToAssessmentRolesAllOutputWithContext(ctx context.Context) AssessmentRolesAllOutput

type AssessmentRolesAllArray

type AssessmentRolesAllArray []AssessmentRolesAllInput

func (AssessmentRolesAllArray) ElementType

func (AssessmentRolesAllArray) ElementType() reflect.Type

func (AssessmentRolesAllArray) ToAssessmentRolesAllArrayOutput

func (i AssessmentRolesAllArray) ToAssessmentRolesAllArrayOutput() AssessmentRolesAllArrayOutput

func (AssessmentRolesAllArray) ToAssessmentRolesAllArrayOutputWithContext

func (i AssessmentRolesAllArray) ToAssessmentRolesAllArrayOutputWithContext(ctx context.Context) AssessmentRolesAllArrayOutput

type AssessmentRolesAllArrayInput

type AssessmentRolesAllArrayInput interface {
	pulumi.Input

	ToAssessmentRolesAllArrayOutput() AssessmentRolesAllArrayOutput
	ToAssessmentRolesAllArrayOutputWithContext(context.Context) AssessmentRolesAllArrayOutput
}

AssessmentRolesAllArrayInput is an input type that accepts AssessmentRolesAllArray and AssessmentRolesAllArrayOutput values. You can construct a concrete instance of `AssessmentRolesAllArrayInput` via:

AssessmentRolesAllArray{ AssessmentRolesAllArgs{...} }

type AssessmentRolesAllArrayOutput

type AssessmentRolesAllArrayOutput struct{ *pulumi.OutputState }

func (AssessmentRolesAllArrayOutput) ElementType

func (AssessmentRolesAllArrayOutput) Index

func (AssessmentRolesAllArrayOutput) ToAssessmentRolesAllArrayOutput

func (o AssessmentRolesAllArrayOutput) ToAssessmentRolesAllArrayOutput() AssessmentRolesAllArrayOutput

func (AssessmentRolesAllArrayOutput) ToAssessmentRolesAllArrayOutputWithContext

func (o AssessmentRolesAllArrayOutput) ToAssessmentRolesAllArrayOutputWithContext(ctx context.Context) AssessmentRolesAllArrayOutput

type AssessmentRolesAllInput

type AssessmentRolesAllInput interface {
	pulumi.Input

	ToAssessmentRolesAllOutput() AssessmentRolesAllOutput
	ToAssessmentRolesAllOutputWithContext(context.Context) AssessmentRolesAllOutput
}

AssessmentRolesAllInput is an input type that accepts AssessmentRolesAllArgs and AssessmentRolesAllOutput values. You can construct a concrete instance of `AssessmentRolesAllInput` via:

AssessmentRolesAllArgs{...}

type AssessmentRolesAllOutput

type AssessmentRolesAllOutput struct{ *pulumi.OutputState }

func (AssessmentRolesAllOutput) ElementType

func (AssessmentRolesAllOutput) ElementType() reflect.Type

func (AssessmentRolesAllOutput) RoleArn

Amazon Resource Name (ARN) of the IAM role.

func (AssessmentRolesAllOutput) RoleType

Type of customer persona. For assessment creation, type must always be `PROCESS_OWNER`.

func (AssessmentRolesAllOutput) ToAssessmentRolesAllOutput

func (o AssessmentRolesAllOutput) ToAssessmentRolesAllOutput() AssessmentRolesAllOutput

func (AssessmentRolesAllOutput) ToAssessmentRolesAllOutputWithContext

func (o AssessmentRolesAllOutput) ToAssessmentRolesAllOutputWithContext(ctx context.Context) AssessmentRolesAllOutput

type AssessmentScope

type AssessmentScope struct {
	// Amazon Web Services accounts that are in scope for the assessment. See `awsAccounts` below.
	AwsAccounts []AssessmentScopeAwsAccount `pulumi:"awsAccounts"`
	// Amazon Web Services services that are included in the scope of the assessment. See `awsServices` below.
	AwsServices []AssessmentScopeAwsService `pulumi:"awsServices"`
}

type AssessmentScopeArgs

type AssessmentScopeArgs struct {
	// Amazon Web Services accounts that are in scope for the assessment. See `awsAccounts` below.
	AwsAccounts AssessmentScopeAwsAccountArrayInput `pulumi:"awsAccounts"`
	// Amazon Web Services services that are included in the scope of the assessment. See `awsServices` below.
	AwsServices AssessmentScopeAwsServiceArrayInput `pulumi:"awsServices"`
}

func (AssessmentScopeArgs) ElementType

func (AssessmentScopeArgs) ElementType() reflect.Type

func (AssessmentScopeArgs) ToAssessmentScopeOutput

func (i AssessmentScopeArgs) ToAssessmentScopeOutput() AssessmentScopeOutput

func (AssessmentScopeArgs) ToAssessmentScopeOutputWithContext

func (i AssessmentScopeArgs) ToAssessmentScopeOutputWithContext(ctx context.Context) AssessmentScopeOutput

func (AssessmentScopeArgs) ToAssessmentScopePtrOutput

func (i AssessmentScopeArgs) ToAssessmentScopePtrOutput() AssessmentScopePtrOutput

func (AssessmentScopeArgs) ToAssessmentScopePtrOutputWithContext

func (i AssessmentScopeArgs) ToAssessmentScopePtrOutputWithContext(ctx context.Context) AssessmentScopePtrOutput

type AssessmentScopeAwsAccount

type AssessmentScopeAwsAccount struct {
	// Identifier for the Amazon Web Services account.
	Id string `pulumi:"id"`
}

type AssessmentScopeAwsAccountArgs

type AssessmentScopeAwsAccountArgs struct {
	// Identifier for the Amazon Web Services account.
	Id pulumi.StringInput `pulumi:"id"`
}

func (AssessmentScopeAwsAccountArgs) ElementType

func (AssessmentScopeAwsAccountArgs) ToAssessmentScopeAwsAccountOutput

func (i AssessmentScopeAwsAccountArgs) ToAssessmentScopeAwsAccountOutput() AssessmentScopeAwsAccountOutput

func (AssessmentScopeAwsAccountArgs) ToAssessmentScopeAwsAccountOutputWithContext

func (i AssessmentScopeAwsAccountArgs) ToAssessmentScopeAwsAccountOutputWithContext(ctx context.Context) AssessmentScopeAwsAccountOutput

type AssessmentScopeAwsAccountArray

type AssessmentScopeAwsAccountArray []AssessmentScopeAwsAccountInput

func (AssessmentScopeAwsAccountArray) ElementType

func (AssessmentScopeAwsAccountArray) ToAssessmentScopeAwsAccountArrayOutput

func (i AssessmentScopeAwsAccountArray) ToAssessmentScopeAwsAccountArrayOutput() AssessmentScopeAwsAccountArrayOutput

func (AssessmentScopeAwsAccountArray) ToAssessmentScopeAwsAccountArrayOutputWithContext

func (i AssessmentScopeAwsAccountArray) ToAssessmentScopeAwsAccountArrayOutputWithContext(ctx context.Context) AssessmentScopeAwsAccountArrayOutput

type AssessmentScopeAwsAccountArrayInput

type AssessmentScopeAwsAccountArrayInput interface {
	pulumi.Input

	ToAssessmentScopeAwsAccountArrayOutput() AssessmentScopeAwsAccountArrayOutput
	ToAssessmentScopeAwsAccountArrayOutputWithContext(context.Context) AssessmentScopeAwsAccountArrayOutput
}

AssessmentScopeAwsAccountArrayInput is an input type that accepts AssessmentScopeAwsAccountArray and AssessmentScopeAwsAccountArrayOutput values. You can construct a concrete instance of `AssessmentScopeAwsAccountArrayInput` via:

AssessmentScopeAwsAccountArray{ AssessmentScopeAwsAccountArgs{...} }

type AssessmentScopeAwsAccountArrayOutput

type AssessmentScopeAwsAccountArrayOutput struct{ *pulumi.OutputState }

func (AssessmentScopeAwsAccountArrayOutput) ElementType

func (AssessmentScopeAwsAccountArrayOutput) Index

func (AssessmentScopeAwsAccountArrayOutput) ToAssessmentScopeAwsAccountArrayOutput

func (o AssessmentScopeAwsAccountArrayOutput) ToAssessmentScopeAwsAccountArrayOutput() AssessmentScopeAwsAccountArrayOutput

func (AssessmentScopeAwsAccountArrayOutput) ToAssessmentScopeAwsAccountArrayOutputWithContext

func (o AssessmentScopeAwsAccountArrayOutput) ToAssessmentScopeAwsAccountArrayOutputWithContext(ctx context.Context) AssessmentScopeAwsAccountArrayOutput

type AssessmentScopeAwsAccountInput

type AssessmentScopeAwsAccountInput interface {
	pulumi.Input

	ToAssessmentScopeAwsAccountOutput() AssessmentScopeAwsAccountOutput
	ToAssessmentScopeAwsAccountOutputWithContext(context.Context) AssessmentScopeAwsAccountOutput
}

AssessmentScopeAwsAccountInput is an input type that accepts AssessmentScopeAwsAccountArgs and AssessmentScopeAwsAccountOutput values. You can construct a concrete instance of `AssessmentScopeAwsAccountInput` via:

AssessmentScopeAwsAccountArgs{...}

type AssessmentScopeAwsAccountOutput

type AssessmentScopeAwsAccountOutput struct{ *pulumi.OutputState }

func (AssessmentScopeAwsAccountOutput) ElementType

func (AssessmentScopeAwsAccountOutput) Id

Identifier for the Amazon Web Services account.

func (AssessmentScopeAwsAccountOutput) ToAssessmentScopeAwsAccountOutput

func (o AssessmentScopeAwsAccountOutput) ToAssessmentScopeAwsAccountOutput() AssessmentScopeAwsAccountOutput

func (AssessmentScopeAwsAccountOutput) ToAssessmentScopeAwsAccountOutputWithContext

func (o AssessmentScopeAwsAccountOutput) ToAssessmentScopeAwsAccountOutputWithContext(ctx context.Context) AssessmentScopeAwsAccountOutput

type AssessmentScopeAwsService

type AssessmentScopeAwsService struct {
	// Name of the Amazon Web Service.
	ServiceName string `pulumi:"serviceName"`
}

type AssessmentScopeAwsServiceArgs

type AssessmentScopeAwsServiceArgs struct {
	// Name of the Amazon Web Service.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

func (AssessmentScopeAwsServiceArgs) ElementType

func (AssessmentScopeAwsServiceArgs) ToAssessmentScopeAwsServiceOutput

func (i AssessmentScopeAwsServiceArgs) ToAssessmentScopeAwsServiceOutput() AssessmentScopeAwsServiceOutput

func (AssessmentScopeAwsServiceArgs) ToAssessmentScopeAwsServiceOutputWithContext

func (i AssessmentScopeAwsServiceArgs) ToAssessmentScopeAwsServiceOutputWithContext(ctx context.Context) AssessmentScopeAwsServiceOutput

type AssessmentScopeAwsServiceArray

type AssessmentScopeAwsServiceArray []AssessmentScopeAwsServiceInput

func (AssessmentScopeAwsServiceArray) ElementType

func (AssessmentScopeAwsServiceArray) ToAssessmentScopeAwsServiceArrayOutput

func (i AssessmentScopeAwsServiceArray) ToAssessmentScopeAwsServiceArrayOutput() AssessmentScopeAwsServiceArrayOutput

func (AssessmentScopeAwsServiceArray) ToAssessmentScopeAwsServiceArrayOutputWithContext

func (i AssessmentScopeAwsServiceArray) ToAssessmentScopeAwsServiceArrayOutputWithContext(ctx context.Context) AssessmentScopeAwsServiceArrayOutput

type AssessmentScopeAwsServiceArrayInput

type AssessmentScopeAwsServiceArrayInput interface {
	pulumi.Input

	ToAssessmentScopeAwsServiceArrayOutput() AssessmentScopeAwsServiceArrayOutput
	ToAssessmentScopeAwsServiceArrayOutputWithContext(context.Context) AssessmentScopeAwsServiceArrayOutput
}

AssessmentScopeAwsServiceArrayInput is an input type that accepts AssessmentScopeAwsServiceArray and AssessmentScopeAwsServiceArrayOutput values. You can construct a concrete instance of `AssessmentScopeAwsServiceArrayInput` via:

AssessmentScopeAwsServiceArray{ AssessmentScopeAwsServiceArgs{...} }

type AssessmentScopeAwsServiceArrayOutput

type AssessmentScopeAwsServiceArrayOutput struct{ *pulumi.OutputState }

func (AssessmentScopeAwsServiceArrayOutput) ElementType

func (AssessmentScopeAwsServiceArrayOutput) Index

func (AssessmentScopeAwsServiceArrayOutput) ToAssessmentScopeAwsServiceArrayOutput

func (o AssessmentScopeAwsServiceArrayOutput) ToAssessmentScopeAwsServiceArrayOutput() AssessmentScopeAwsServiceArrayOutput

func (AssessmentScopeAwsServiceArrayOutput) ToAssessmentScopeAwsServiceArrayOutputWithContext

func (o AssessmentScopeAwsServiceArrayOutput) ToAssessmentScopeAwsServiceArrayOutputWithContext(ctx context.Context) AssessmentScopeAwsServiceArrayOutput

type AssessmentScopeAwsServiceInput

type AssessmentScopeAwsServiceInput interface {
	pulumi.Input

	ToAssessmentScopeAwsServiceOutput() AssessmentScopeAwsServiceOutput
	ToAssessmentScopeAwsServiceOutputWithContext(context.Context) AssessmentScopeAwsServiceOutput
}

AssessmentScopeAwsServiceInput is an input type that accepts AssessmentScopeAwsServiceArgs and AssessmentScopeAwsServiceOutput values. You can construct a concrete instance of `AssessmentScopeAwsServiceInput` via:

AssessmentScopeAwsServiceArgs{...}

type AssessmentScopeAwsServiceOutput

type AssessmentScopeAwsServiceOutput struct{ *pulumi.OutputState }

func (AssessmentScopeAwsServiceOutput) ElementType

func (AssessmentScopeAwsServiceOutput) ServiceName

Name of the Amazon Web Service.

func (AssessmentScopeAwsServiceOutput) ToAssessmentScopeAwsServiceOutput

func (o AssessmentScopeAwsServiceOutput) ToAssessmentScopeAwsServiceOutput() AssessmentScopeAwsServiceOutput

func (AssessmentScopeAwsServiceOutput) ToAssessmentScopeAwsServiceOutputWithContext

func (o AssessmentScopeAwsServiceOutput) ToAssessmentScopeAwsServiceOutputWithContext(ctx context.Context) AssessmentScopeAwsServiceOutput

type AssessmentScopeInput

type AssessmentScopeInput interface {
	pulumi.Input

	ToAssessmentScopeOutput() AssessmentScopeOutput
	ToAssessmentScopeOutputWithContext(context.Context) AssessmentScopeOutput
}

AssessmentScopeInput is an input type that accepts AssessmentScopeArgs and AssessmentScopeOutput values. You can construct a concrete instance of `AssessmentScopeInput` via:

AssessmentScopeArgs{...}

type AssessmentScopeOutput

type AssessmentScopeOutput struct{ *pulumi.OutputState }

func (AssessmentScopeOutput) AwsAccounts

Amazon Web Services accounts that are in scope for the assessment. See `awsAccounts` below.

func (AssessmentScopeOutput) AwsServices

Amazon Web Services services that are included in the scope of the assessment. See `awsServices` below.

func (AssessmentScopeOutput) ElementType

func (AssessmentScopeOutput) ElementType() reflect.Type

func (AssessmentScopeOutput) ToAssessmentScopeOutput

func (o AssessmentScopeOutput) ToAssessmentScopeOutput() AssessmentScopeOutput

func (AssessmentScopeOutput) ToAssessmentScopeOutputWithContext

func (o AssessmentScopeOutput) ToAssessmentScopeOutputWithContext(ctx context.Context) AssessmentScopeOutput

func (AssessmentScopeOutput) ToAssessmentScopePtrOutput

func (o AssessmentScopeOutput) ToAssessmentScopePtrOutput() AssessmentScopePtrOutput

func (AssessmentScopeOutput) ToAssessmentScopePtrOutputWithContext

func (o AssessmentScopeOutput) ToAssessmentScopePtrOutputWithContext(ctx context.Context) AssessmentScopePtrOutput

type AssessmentScopePtrInput

type AssessmentScopePtrInput interface {
	pulumi.Input

	ToAssessmentScopePtrOutput() AssessmentScopePtrOutput
	ToAssessmentScopePtrOutputWithContext(context.Context) AssessmentScopePtrOutput
}

AssessmentScopePtrInput is an input type that accepts AssessmentScopeArgs, AssessmentScopePtr and AssessmentScopePtrOutput values. You can construct a concrete instance of `AssessmentScopePtrInput` via:

        AssessmentScopeArgs{...}

or:

        nil

type AssessmentScopePtrOutput

type AssessmentScopePtrOutput struct{ *pulumi.OutputState }

func (AssessmentScopePtrOutput) AwsAccounts

Amazon Web Services accounts that are in scope for the assessment. See `awsAccounts` below.

func (AssessmentScopePtrOutput) AwsServices

Amazon Web Services services that are included in the scope of the assessment. See `awsServices` below.

func (AssessmentScopePtrOutput) Elem

func (AssessmentScopePtrOutput) ElementType

func (AssessmentScopePtrOutput) ElementType() reflect.Type

func (AssessmentScopePtrOutput) ToAssessmentScopePtrOutput

func (o AssessmentScopePtrOutput) ToAssessmentScopePtrOutput() AssessmentScopePtrOutput

func (AssessmentScopePtrOutput) ToAssessmentScopePtrOutputWithContext

func (o AssessmentScopePtrOutput) ToAssessmentScopePtrOutputWithContext(ctx context.Context) AssessmentScopePtrOutput

type AssessmentState

type AssessmentState struct {
	// Amazon Resource Name (ARN) of the assessment.
	Arn pulumi.StringPtrInput
	// Assessment report storage destination configuration. See `assessmentReportsDestination` below.
	AssessmentReportsDestination AssessmentAssessmentReportsDestinationPtrInput
	// Description of the assessment.
	Description pulumi.StringPtrInput
	// Unique identifier of the framework the assessment will be created from.
	FrameworkId pulumi.StringPtrInput
	// Name of the assessment.
	Name pulumi.StringPtrInput
	// List of roles for the assessment. See `roles` below.
	Roles AssessmentRoleArrayInput
	// Complete list of all roles with access to the assessment. This includes both roles explicitly configured via the `roles` block, and any roles which have access to all Audit Manager assessments by default.
	RolesAlls AssessmentRolesAllArrayInput
	// Amazon Web Services accounts and services that are in scope for the assessment. See `scope` below.
	//
	// The following arguments are optional:
	Scope AssessmentScopePtrInput
	// Status of the assessment. Valid values are `ACTIVE` and `INACTIVE`.
	Status pulumi.StringPtrInput
	// A map of tags to assign to the assessment. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags    pulumi.StringMapInput
	TagsAll pulumi.StringMapInput
}

func (AssessmentState) ElementType

func (AssessmentState) ElementType() reflect.Type

type Control

type Control struct {
	pulumi.CustomResourceState

	// Recommended actions to carry out if the control isn't fulfilled.
	ActionPlanInstructions pulumi.StringPtrOutput `pulumi:"actionPlanInstructions"`
	// Title of the action plan for remediating the control.
	ActionPlanTitle pulumi.StringPtrOutput `pulumi:"actionPlanTitle"`
	// Amazon Resource Name (ARN) of the control.
	// * `control_mapping_sources.*.source_id` - Unique identifier for the source.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Data mapping sources. See `controlMappingSources` below.
	//
	// The following arguments are optional:
	ControlMappingSources ControlControlMappingSourceArrayOutput `pulumi:"controlMappingSources"`
	// Description of the control.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Name of the control.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the control. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags    pulumi.StringMapOutput `pulumi:"tags"`
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// Steps to follow to determine if the control is satisfied.
	TestingInformation pulumi.StringPtrOutput `pulumi:"testingInformation"`
	// Type of control, such as a custom control or a standard control.
	Type pulumi.StringOutput `pulumi:"type"`
}

Resource for managing an AWS Audit Manager Control.

## Example Usage ### Basic Usage

```go 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.NewControl(ctx, "example", &auditmanager.ControlArgs{
			ControlMappingSources: auditmanager.ControlControlMappingSourceArray{
				&auditmanager.ControlControlMappingSourceArgs{
					SourceName:        pulumi.String("example"),
					SourceSetUpOption: pulumi.String("Procedural_Controls_Mapping"),
					SourceType:        pulumi.String("MANUAL"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_auditmanager_control.example

id = "abc123-de45" } Using `pulumi import`, import an Audit Manager Control using the `id`. For exampleconsole % pulumi import aws_auditmanager_control.example abc123-de45

func GetControl

func GetControl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ControlState, opts ...pulumi.ResourceOption) (*Control, error)

GetControl gets an existing Control resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewControl

func NewControl(ctx *pulumi.Context,
	name string, args *ControlArgs, opts ...pulumi.ResourceOption) (*Control, error)

NewControl registers a new resource with the given unique name, arguments, and options.

func (*Control) ElementType

func (*Control) ElementType() reflect.Type

func (*Control) ToControlOutput

func (i *Control) ToControlOutput() ControlOutput

func (*Control) ToControlOutputWithContext

func (i *Control) ToControlOutputWithContext(ctx context.Context) ControlOutput

type ControlArgs

type ControlArgs struct {
	// Recommended actions to carry out if the control isn't fulfilled.
	ActionPlanInstructions pulumi.StringPtrInput
	// Title of the action plan for remediating the control.
	ActionPlanTitle pulumi.StringPtrInput
	// Data mapping sources. See `controlMappingSources` below.
	//
	// The following arguments are optional:
	ControlMappingSources ControlControlMappingSourceArrayInput
	// Description of the control.
	Description pulumi.StringPtrInput
	// Name of the control.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the control. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Steps to follow to determine if the control is satisfied.
	TestingInformation pulumi.StringPtrInput
}

The set of arguments for constructing a Control resource.

func (ControlArgs) ElementType

func (ControlArgs) ElementType() reflect.Type

type ControlArray

type ControlArray []ControlInput

func (ControlArray) ElementType

func (ControlArray) ElementType() reflect.Type

func (ControlArray) ToControlArrayOutput

func (i ControlArray) ToControlArrayOutput() ControlArrayOutput

func (ControlArray) ToControlArrayOutputWithContext

func (i ControlArray) ToControlArrayOutputWithContext(ctx context.Context) ControlArrayOutput

type ControlArrayInput

type ControlArrayInput interface {
	pulumi.Input

	ToControlArrayOutput() ControlArrayOutput
	ToControlArrayOutputWithContext(context.Context) ControlArrayOutput
}

ControlArrayInput is an input type that accepts ControlArray and ControlArrayOutput values. You can construct a concrete instance of `ControlArrayInput` via:

ControlArray{ ControlArgs{...} }

type ControlArrayOutput

type ControlArrayOutput struct{ *pulumi.OutputState }

func (ControlArrayOutput) ElementType

func (ControlArrayOutput) ElementType() reflect.Type

func (ControlArrayOutput) Index

func (ControlArrayOutput) ToControlArrayOutput

func (o ControlArrayOutput) ToControlArrayOutput() ControlArrayOutput

func (ControlArrayOutput) ToControlArrayOutputWithContext

func (o ControlArrayOutput) ToControlArrayOutputWithContext(ctx context.Context) ControlArrayOutput

type ControlControlMappingSource

type ControlControlMappingSource struct {
	// Description of the source.
	SourceDescription *string `pulumi:"sourceDescription"`
	// Frequency of evidence collection. Valid values are `DAILY`, `WEEKLY`, or `MONTHLY`.
	SourceFrequency *string `pulumi:"sourceFrequency"`
	SourceId        *string `pulumi:"sourceId"`
	// The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See `sourceKeyword` below.
	SourceKeyword *ControlControlMappingSourceSourceKeyword `pulumi:"sourceKeyword"`
	// Name of the source.
	SourceName string `pulumi:"sourceName"`
	// The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are `System_Controls_Mapping` (automated) and `Procedural_Controls_Mapping` (manual).
	SourceSetUpOption string `pulumi:"sourceSetUpOption"`
	// Type of data source for evidence collection. If `sourceSetUpOption` is manual, the only valid value is `MANUAL`. If `sourceSetUpOption` is automated, valid values are `AWS_Cloudtrail`, `AWS_Config`, `AWS_Security_Hub`, or `AWS_API_Call`.
	//
	// The following arguments are optional:
	SourceType string `pulumi:"sourceType"`
	// Instructions for troubleshooting the control.
	TroubleshootingText *string `pulumi:"troubleshootingText"`
}

type ControlControlMappingSourceArgs

type ControlControlMappingSourceArgs struct {
	// Description of the source.
	SourceDescription pulumi.StringPtrInput `pulumi:"sourceDescription"`
	// Frequency of evidence collection. Valid values are `DAILY`, `WEEKLY`, or `MONTHLY`.
	SourceFrequency pulumi.StringPtrInput `pulumi:"sourceFrequency"`
	SourceId        pulumi.StringPtrInput `pulumi:"sourceId"`
	// The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See `sourceKeyword` below.
	SourceKeyword ControlControlMappingSourceSourceKeywordPtrInput `pulumi:"sourceKeyword"`
	// Name of the source.
	SourceName pulumi.StringInput `pulumi:"sourceName"`
	// The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are `System_Controls_Mapping` (automated) and `Procedural_Controls_Mapping` (manual).
	SourceSetUpOption pulumi.StringInput `pulumi:"sourceSetUpOption"`
	// Type of data source for evidence collection. If `sourceSetUpOption` is manual, the only valid value is `MANUAL`. If `sourceSetUpOption` is automated, valid values are `AWS_Cloudtrail`, `AWS_Config`, `AWS_Security_Hub`, or `AWS_API_Call`.
	//
	// The following arguments are optional:
	SourceType pulumi.StringInput `pulumi:"sourceType"`
	// Instructions for troubleshooting the control.
	TroubleshootingText pulumi.StringPtrInput `pulumi:"troubleshootingText"`
}

func (ControlControlMappingSourceArgs) ElementType

func (ControlControlMappingSourceArgs) ToControlControlMappingSourceOutput

func (i ControlControlMappingSourceArgs) ToControlControlMappingSourceOutput() ControlControlMappingSourceOutput

func (ControlControlMappingSourceArgs) ToControlControlMappingSourceOutputWithContext

func (i ControlControlMappingSourceArgs) ToControlControlMappingSourceOutputWithContext(ctx context.Context) ControlControlMappingSourceOutput

type ControlControlMappingSourceArray

type ControlControlMappingSourceArray []ControlControlMappingSourceInput

func (ControlControlMappingSourceArray) ElementType

func (ControlControlMappingSourceArray) ToControlControlMappingSourceArrayOutput

func (i ControlControlMappingSourceArray) ToControlControlMappingSourceArrayOutput() ControlControlMappingSourceArrayOutput

func (ControlControlMappingSourceArray) ToControlControlMappingSourceArrayOutputWithContext

func (i ControlControlMappingSourceArray) ToControlControlMappingSourceArrayOutputWithContext(ctx context.Context) ControlControlMappingSourceArrayOutput

type ControlControlMappingSourceArrayInput

type ControlControlMappingSourceArrayInput interface {
	pulumi.Input

	ToControlControlMappingSourceArrayOutput() ControlControlMappingSourceArrayOutput
	ToControlControlMappingSourceArrayOutputWithContext(context.Context) ControlControlMappingSourceArrayOutput
}

ControlControlMappingSourceArrayInput is an input type that accepts ControlControlMappingSourceArray and ControlControlMappingSourceArrayOutput values. You can construct a concrete instance of `ControlControlMappingSourceArrayInput` via:

ControlControlMappingSourceArray{ ControlControlMappingSourceArgs{...} }

type ControlControlMappingSourceArrayOutput

type ControlControlMappingSourceArrayOutput struct{ *pulumi.OutputState }

func (ControlControlMappingSourceArrayOutput) ElementType

func (ControlControlMappingSourceArrayOutput) Index

func (ControlControlMappingSourceArrayOutput) ToControlControlMappingSourceArrayOutput

func (o ControlControlMappingSourceArrayOutput) ToControlControlMappingSourceArrayOutput() ControlControlMappingSourceArrayOutput

func (ControlControlMappingSourceArrayOutput) ToControlControlMappingSourceArrayOutputWithContext

func (o ControlControlMappingSourceArrayOutput) ToControlControlMappingSourceArrayOutputWithContext(ctx context.Context) ControlControlMappingSourceArrayOutput

type ControlControlMappingSourceInput

type ControlControlMappingSourceInput interface {
	pulumi.Input

	ToControlControlMappingSourceOutput() ControlControlMappingSourceOutput
	ToControlControlMappingSourceOutputWithContext(context.Context) ControlControlMappingSourceOutput
}

ControlControlMappingSourceInput is an input type that accepts ControlControlMappingSourceArgs and ControlControlMappingSourceOutput values. You can construct a concrete instance of `ControlControlMappingSourceInput` via:

ControlControlMappingSourceArgs{...}

type ControlControlMappingSourceOutput

type ControlControlMappingSourceOutput struct{ *pulumi.OutputState }

func (ControlControlMappingSourceOutput) ElementType

func (ControlControlMappingSourceOutput) SourceDescription

Description of the source.

func (ControlControlMappingSourceOutput) SourceFrequency

Frequency of evidence collection. Valid values are `DAILY`, `WEEKLY`, or `MONTHLY`.

func (ControlControlMappingSourceOutput) SourceId

func (ControlControlMappingSourceOutput) SourceKeyword

The keyword to search for in CloudTrail logs, Config rules, Security Hub checks, and Amazon Web Services API names. See `sourceKeyword` below.

func (ControlControlMappingSourceOutput) SourceName

Name of the source.

func (ControlControlMappingSourceOutput) SourceSetUpOption

The setup option for the data source. This option reflects if the evidence collection is automated or manual. Valid values are `System_Controls_Mapping` (automated) and `Procedural_Controls_Mapping` (manual).

func (ControlControlMappingSourceOutput) SourceType

Type of data source for evidence collection. If `sourceSetUpOption` is manual, the only valid value is `MANUAL`. If `sourceSetUpOption` is automated, valid values are `AWS_Cloudtrail`, `AWS_Config`, `AWS_Security_Hub`, or `AWS_API_Call`.

The following arguments are optional:

func (ControlControlMappingSourceOutput) ToControlControlMappingSourceOutput

func (o ControlControlMappingSourceOutput) ToControlControlMappingSourceOutput() ControlControlMappingSourceOutput

func (ControlControlMappingSourceOutput) ToControlControlMappingSourceOutputWithContext

func (o ControlControlMappingSourceOutput) ToControlControlMappingSourceOutputWithContext(ctx context.Context) ControlControlMappingSourceOutput

func (ControlControlMappingSourceOutput) TroubleshootingText

Instructions for troubleshooting the control.

type ControlControlMappingSourceSourceKeyword

type ControlControlMappingSourceSourceKeyword struct {
	// Input method for the keyword. Valid values are `SELECT_FROM_LIST`.
	KeywordInputType string `pulumi:"keywordInputType"`
	// The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the [Audit Manager supported control data sources documentation](https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources.html) for more information.
	KeywordValue string `pulumi:"keywordValue"`
}

type ControlControlMappingSourceSourceKeywordArgs

type ControlControlMappingSourceSourceKeywordArgs struct {
	// Input method for the keyword. Valid values are `SELECT_FROM_LIST`.
	KeywordInputType pulumi.StringInput `pulumi:"keywordInputType"`
	// The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the [Audit Manager supported control data sources documentation](https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources.html) for more information.
	KeywordValue pulumi.StringInput `pulumi:"keywordValue"`
}

func (ControlControlMappingSourceSourceKeywordArgs) ElementType

func (ControlControlMappingSourceSourceKeywordArgs) ToControlControlMappingSourceSourceKeywordOutput

func (i ControlControlMappingSourceSourceKeywordArgs) ToControlControlMappingSourceSourceKeywordOutput() ControlControlMappingSourceSourceKeywordOutput

func (ControlControlMappingSourceSourceKeywordArgs) ToControlControlMappingSourceSourceKeywordOutputWithContext

func (i ControlControlMappingSourceSourceKeywordArgs) ToControlControlMappingSourceSourceKeywordOutputWithContext(ctx context.Context) ControlControlMappingSourceSourceKeywordOutput

func (ControlControlMappingSourceSourceKeywordArgs) ToControlControlMappingSourceSourceKeywordPtrOutput

func (i ControlControlMappingSourceSourceKeywordArgs) ToControlControlMappingSourceSourceKeywordPtrOutput() ControlControlMappingSourceSourceKeywordPtrOutput

func (ControlControlMappingSourceSourceKeywordArgs) ToControlControlMappingSourceSourceKeywordPtrOutputWithContext

func (i ControlControlMappingSourceSourceKeywordArgs) ToControlControlMappingSourceSourceKeywordPtrOutputWithContext(ctx context.Context) ControlControlMappingSourceSourceKeywordPtrOutput

type ControlControlMappingSourceSourceKeywordInput

type ControlControlMappingSourceSourceKeywordInput interface {
	pulumi.Input

	ToControlControlMappingSourceSourceKeywordOutput() ControlControlMappingSourceSourceKeywordOutput
	ToControlControlMappingSourceSourceKeywordOutputWithContext(context.Context) ControlControlMappingSourceSourceKeywordOutput
}

ControlControlMappingSourceSourceKeywordInput is an input type that accepts ControlControlMappingSourceSourceKeywordArgs and ControlControlMappingSourceSourceKeywordOutput values. You can construct a concrete instance of `ControlControlMappingSourceSourceKeywordInput` via:

ControlControlMappingSourceSourceKeywordArgs{...}

type ControlControlMappingSourceSourceKeywordOutput

type ControlControlMappingSourceSourceKeywordOutput struct{ *pulumi.OutputState }

func (ControlControlMappingSourceSourceKeywordOutput) ElementType

func (ControlControlMappingSourceSourceKeywordOutput) KeywordInputType

Input method for the keyword. Valid values are `SELECT_FROM_LIST`.

func (ControlControlMappingSourceSourceKeywordOutput) KeywordValue

The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the [Audit Manager supported control data sources documentation](https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources.html) for more information.

func (ControlControlMappingSourceSourceKeywordOutput) ToControlControlMappingSourceSourceKeywordOutput

func (o ControlControlMappingSourceSourceKeywordOutput) ToControlControlMappingSourceSourceKeywordOutput() ControlControlMappingSourceSourceKeywordOutput

func (ControlControlMappingSourceSourceKeywordOutput) ToControlControlMappingSourceSourceKeywordOutputWithContext

func (o ControlControlMappingSourceSourceKeywordOutput) ToControlControlMappingSourceSourceKeywordOutputWithContext(ctx context.Context) ControlControlMappingSourceSourceKeywordOutput

func (ControlControlMappingSourceSourceKeywordOutput) ToControlControlMappingSourceSourceKeywordPtrOutput

func (o ControlControlMappingSourceSourceKeywordOutput) ToControlControlMappingSourceSourceKeywordPtrOutput() ControlControlMappingSourceSourceKeywordPtrOutput

func (ControlControlMappingSourceSourceKeywordOutput) ToControlControlMappingSourceSourceKeywordPtrOutputWithContext

func (o ControlControlMappingSourceSourceKeywordOutput) ToControlControlMappingSourceSourceKeywordPtrOutputWithContext(ctx context.Context) ControlControlMappingSourceSourceKeywordPtrOutput

type ControlControlMappingSourceSourceKeywordPtrInput

type ControlControlMappingSourceSourceKeywordPtrInput interface {
	pulumi.Input

	ToControlControlMappingSourceSourceKeywordPtrOutput() ControlControlMappingSourceSourceKeywordPtrOutput
	ToControlControlMappingSourceSourceKeywordPtrOutputWithContext(context.Context) ControlControlMappingSourceSourceKeywordPtrOutput
}

ControlControlMappingSourceSourceKeywordPtrInput is an input type that accepts ControlControlMappingSourceSourceKeywordArgs, ControlControlMappingSourceSourceKeywordPtr and ControlControlMappingSourceSourceKeywordPtrOutput values. You can construct a concrete instance of `ControlControlMappingSourceSourceKeywordPtrInput` via:

        ControlControlMappingSourceSourceKeywordArgs{...}

or:

        nil

type ControlControlMappingSourceSourceKeywordPtrOutput

type ControlControlMappingSourceSourceKeywordPtrOutput struct{ *pulumi.OutputState }

func (ControlControlMappingSourceSourceKeywordPtrOutput) Elem

func (ControlControlMappingSourceSourceKeywordPtrOutput) ElementType

func (ControlControlMappingSourceSourceKeywordPtrOutput) KeywordInputType

Input method for the keyword. Valid values are `SELECT_FROM_LIST`.

func (ControlControlMappingSourceSourceKeywordPtrOutput) KeywordValue

The value of the keyword that's used when mapping a control data source. For example, this can be a CloudTrail event name, a rule name for Config, a Security Hub control, or the name of an Amazon Web Services API call. See the [Audit Manager supported control data sources documentation](https://docs.aws.amazon.com/audit-manager/latest/userguide/control-data-sources.html) for more information.

func (ControlControlMappingSourceSourceKeywordPtrOutput) ToControlControlMappingSourceSourceKeywordPtrOutput

func (o ControlControlMappingSourceSourceKeywordPtrOutput) ToControlControlMappingSourceSourceKeywordPtrOutput() ControlControlMappingSourceSourceKeywordPtrOutput

func (ControlControlMappingSourceSourceKeywordPtrOutput) ToControlControlMappingSourceSourceKeywordPtrOutputWithContext

func (o ControlControlMappingSourceSourceKeywordPtrOutput) ToControlControlMappingSourceSourceKeywordPtrOutputWithContext(ctx context.Context) ControlControlMappingSourceSourceKeywordPtrOutput

type ControlInput

type ControlInput interface {
	pulumi.Input

	ToControlOutput() ControlOutput
	ToControlOutputWithContext(ctx context.Context) ControlOutput
}

type ControlMap

type ControlMap map[string]ControlInput

func (ControlMap) ElementType

func (ControlMap) ElementType() reflect.Type

func (ControlMap) ToControlMapOutput

func (i ControlMap) ToControlMapOutput() ControlMapOutput

func (ControlMap) ToControlMapOutputWithContext

func (i ControlMap) ToControlMapOutputWithContext(ctx context.Context) ControlMapOutput

type ControlMapInput

type ControlMapInput interface {
	pulumi.Input

	ToControlMapOutput() ControlMapOutput
	ToControlMapOutputWithContext(context.Context) ControlMapOutput
}

ControlMapInput is an input type that accepts ControlMap and ControlMapOutput values. You can construct a concrete instance of `ControlMapInput` via:

ControlMap{ "key": ControlArgs{...} }

type ControlMapOutput

type ControlMapOutput struct{ *pulumi.OutputState }

func (ControlMapOutput) ElementType

func (ControlMapOutput) ElementType() reflect.Type

func (ControlMapOutput) MapIndex

func (ControlMapOutput) ToControlMapOutput

func (o ControlMapOutput) ToControlMapOutput() ControlMapOutput

func (ControlMapOutput) ToControlMapOutputWithContext

func (o ControlMapOutput) ToControlMapOutputWithContext(ctx context.Context) ControlMapOutput

type ControlOutput

type ControlOutput struct{ *pulumi.OutputState }

func (ControlOutput) ActionPlanInstructions

func (o ControlOutput) ActionPlanInstructions() pulumi.StringPtrOutput

Recommended actions to carry out if the control isn't fulfilled.

func (ControlOutput) ActionPlanTitle

func (o ControlOutput) ActionPlanTitle() pulumi.StringPtrOutput

Title of the action plan for remediating the control.

func (ControlOutput) Arn

Amazon Resource Name (ARN) of the control. * `control_mapping_sources.*.source_id` - Unique identifier for the source.

func (ControlOutput) ControlMappingSources

func (o ControlOutput) ControlMappingSources() ControlControlMappingSourceArrayOutput

Data mapping sources. See `controlMappingSources` below.

The following arguments are optional:

func (ControlOutput) Description

func (o ControlOutput) Description() pulumi.StringPtrOutput

Description of the control.

func (ControlOutput) ElementType

func (ControlOutput) ElementType() reflect.Type

func (ControlOutput) Name

Name of the control.

func (ControlOutput) Tags

A map of tags to assign to the control. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ControlOutput) TagsAll

func (o ControlOutput) TagsAll() pulumi.StringMapOutput

func (ControlOutput) TestingInformation

func (o ControlOutput) TestingInformation() pulumi.StringPtrOutput

Steps to follow to determine if the control is satisfied.

func (ControlOutput) ToControlOutput

func (o ControlOutput) ToControlOutput() ControlOutput

func (ControlOutput) ToControlOutputWithContext

func (o ControlOutput) ToControlOutputWithContext(ctx context.Context) ControlOutput

func (ControlOutput) Type

Type of control, such as a custom control or a standard control.

type ControlState

type ControlState struct {
	// Recommended actions to carry out if the control isn't fulfilled.
	ActionPlanInstructions pulumi.StringPtrInput
	// Title of the action plan for remediating the control.
	ActionPlanTitle pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the control.
	// * `control_mapping_sources.*.source_id` - Unique identifier for the source.
	Arn pulumi.StringPtrInput
	// Data mapping sources. See `controlMappingSources` below.
	//
	// The following arguments are optional:
	ControlMappingSources ControlControlMappingSourceArrayInput
	// Description of the control.
	Description pulumi.StringPtrInput
	// Name of the control.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the control. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags    pulumi.StringMapInput
	TagsAll pulumi.StringMapInput
	// Steps to follow to determine if the control is satisfied.
	TestingInformation pulumi.StringPtrInput
	// Type of control, such as a custom control or a standard control.
	Type pulumi.StringPtrInput
}

func (ControlState) ElementType

func (ControlState) ElementType() reflect.Type

type Framework

type Framework struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the framework.
	// * `control_sets[*].id` - Unique identifier for the framework control set.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Compliance type that the new custom framework supports, such as `CIS` or `HIPAA`.
	ComplianceType pulumi.StringPtrOutput `pulumi:"complianceType"`
	// Control sets that are associated with the framework. See `controlSets` below.
	//
	// The following arguments are optional:
	ControlSets FrameworkControlSetArrayOutput `pulumi:"controlSets"`
	// Description of the framework.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Framework type, such as a custom framework or a standard framework.
	FrameworkType pulumi.StringOutput `pulumi:"frameworkType"`
	// Name of the framework.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the framework. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags    pulumi.StringMapOutput `pulumi:"tags"`
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS Audit Manager Framework.

## Example Usage ### Basic Usage

```go 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.NewFramework(ctx, "test", &auditmanager.FrameworkArgs{
			ControlSets: auditmanager.FrameworkControlSetArray{
				&auditmanager.FrameworkControlSetArgs{
					Name: pulumi.String("example"),
					Controls: auditmanager.FrameworkControlSetControlArray{
						&auditmanager.FrameworkControlSetControlArgs{
							Id: pulumi.Any(aws_auditmanager_control.Test.Id),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_auditmanager_framework.example

id = "abc123-de45" } Using `pulumi import`, import Audit Manager Framework using the framework `id`. For exampleconsole % pulumi import aws_auditmanager_framework.example abc123-de45

func GetFramework

func GetFramework(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FrameworkState, opts ...pulumi.ResourceOption) (*Framework, error)

GetFramework gets an existing Framework resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFramework

func NewFramework(ctx *pulumi.Context,
	name string, args *FrameworkArgs, opts ...pulumi.ResourceOption) (*Framework, error)

NewFramework registers a new resource with the given unique name, arguments, and options.

func (*Framework) ElementType

func (*Framework) ElementType() reflect.Type

func (*Framework) ToFrameworkOutput

func (i *Framework) ToFrameworkOutput() FrameworkOutput

func (*Framework) ToFrameworkOutputWithContext

func (i *Framework) ToFrameworkOutputWithContext(ctx context.Context) FrameworkOutput

type FrameworkArgs

type FrameworkArgs struct {
	// Compliance type that the new custom framework supports, such as `CIS` or `HIPAA`.
	ComplianceType pulumi.StringPtrInput
	// Control sets that are associated with the framework. See `controlSets` below.
	//
	// The following arguments are optional:
	ControlSets FrameworkControlSetArrayInput
	// Description of the framework.
	Description pulumi.StringPtrInput
	// Name of the framework.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the framework. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Framework resource.

func (FrameworkArgs) ElementType

func (FrameworkArgs) ElementType() reflect.Type

type FrameworkArray

type FrameworkArray []FrameworkInput

func (FrameworkArray) ElementType

func (FrameworkArray) ElementType() reflect.Type

func (FrameworkArray) ToFrameworkArrayOutput

func (i FrameworkArray) ToFrameworkArrayOutput() FrameworkArrayOutput

func (FrameworkArray) ToFrameworkArrayOutputWithContext

func (i FrameworkArray) ToFrameworkArrayOutputWithContext(ctx context.Context) FrameworkArrayOutput

type FrameworkArrayInput

type FrameworkArrayInput interface {
	pulumi.Input

	ToFrameworkArrayOutput() FrameworkArrayOutput
	ToFrameworkArrayOutputWithContext(context.Context) FrameworkArrayOutput
}

FrameworkArrayInput is an input type that accepts FrameworkArray and FrameworkArrayOutput values. You can construct a concrete instance of `FrameworkArrayInput` via:

FrameworkArray{ FrameworkArgs{...} }

type FrameworkArrayOutput

type FrameworkArrayOutput struct{ *pulumi.OutputState }

func (FrameworkArrayOutput) ElementType

func (FrameworkArrayOutput) ElementType() reflect.Type

func (FrameworkArrayOutput) Index

func (FrameworkArrayOutput) ToFrameworkArrayOutput

func (o FrameworkArrayOutput) ToFrameworkArrayOutput() FrameworkArrayOutput

func (FrameworkArrayOutput) ToFrameworkArrayOutputWithContext

func (o FrameworkArrayOutput) ToFrameworkArrayOutputWithContext(ctx context.Context) FrameworkArrayOutput

type FrameworkControlSet

type FrameworkControlSet struct {
	// List of controls within the control set. See `controls` below.
	Controls []FrameworkControlSetControl `pulumi:"controls"`
	// Unique identifier of the control.
	Id *string `pulumi:"id"`
	// Name of the control set.
	Name string `pulumi:"name"`
}

type FrameworkControlSetArgs

type FrameworkControlSetArgs struct {
	// List of controls within the control set. See `controls` below.
	Controls FrameworkControlSetControlArrayInput `pulumi:"controls"`
	// Unique identifier of the control.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// Name of the control set.
	Name pulumi.StringInput `pulumi:"name"`
}

func (FrameworkControlSetArgs) ElementType

func (FrameworkControlSetArgs) ElementType() reflect.Type

func (FrameworkControlSetArgs) ToFrameworkControlSetOutput

func (i FrameworkControlSetArgs) ToFrameworkControlSetOutput() FrameworkControlSetOutput

func (FrameworkControlSetArgs) ToFrameworkControlSetOutputWithContext

func (i FrameworkControlSetArgs) ToFrameworkControlSetOutputWithContext(ctx context.Context) FrameworkControlSetOutput

type FrameworkControlSetArray

type FrameworkControlSetArray []FrameworkControlSetInput

func (FrameworkControlSetArray) ElementType

func (FrameworkControlSetArray) ElementType() reflect.Type

func (FrameworkControlSetArray) ToFrameworkControlSetArrayOutput

func (i FrameworkControlSetArray) ToFrameworkControlSetArrayOutput() FrameworkControlSetArrayOutput

func (FrameworkControlSetArray) ToFrameworkControlSetArrayOutputWithContext

func (i FrameworkControlSetArray) ToFrameworkControlSetArrayOutputWithContext(ctx context.Context) FrameworkControlSetArrayOutput

type FrameworkControlSetArrayInput

type FrameworkControlSetArrayInput interface {
	pulumi.Input

	ToFrameworkControlSetArrayOutput() FrameworkControlSetArrayOutput
	ToFrameworkControlSetArrayOutputWithContext(context.Context) FrameworkControlSetArrayOutput
}

FrameworkControlSetArrayInput is an input type that accepts FrameworkControlSetArray and FrameworkControlSetArrayOutput values. You can construct a concrete instance of `FrameworkControlSetArrayInput` via:

FrameworkControlSetArray{ FrameworkControlSetArgs{...} }

type FrameworkControlSetArrayOutput

type FrameworkControlSetArrayOutput struct{ *pulumi.OutputState }

func (FrameworkControlSetArrayOutput) ElementType

func (FrameworkControlSetArrayOutput) Index

func (FrameworkControlSetArrayOutput) ToFrameworkControlSetArrayOutput

func (o FrameworkControlSetArrayOutput) ToFrameworkControlSetArrayOutput() FrameworkControlSetArrayOutput

func (FrameworkControlSetArrayOutput) ToFrameworkControlSetArrayOutputWithContext

func (o FrameworkControlSetArrayOutput) ToFrameworkControlSetArrayOutputWithContext(ctx context.Context) FrameworkControlSetArrayOutput

type FrameworkControlSetControl

type FrameworkControlSetControl struct {
	// Unique identifier of the control.
	Id string `pulumi:"id"`
}

type FrameworkControlSetControlArgs

type FrameworkControlSetControlArgs struct {
	// Unique identifier of the control.
	Id pulumi.StringInput `pulumi:"id"`
}

func (FrameworkControlSetControlArgs) ElementType

func (FrameworkControlSetControlArgs) ToFrameworkControlSetControlOutput

func (i FrameworkControlSetControlArgs) ToFrameworkControlSetControlOutput() FrameworkControlSetControlOutput

func (FrameworkControlSetControlArgs) ToFrameworkControlSetControlOutputWithContext

func (i FrameworkControlSetControlArgs) ToFrameworkControlSetControlOutputWithContext(ctx context.Context) FrameworkControlSetControlOutput

type FrameworkControlSetControlArray

type FrameworkControlSetControlArray []FrameworkControlSetControlInput

func (FrameworkControlSetControlArray) ElementType

func (FrameworkControlSetControlArray) ToFrameworkControlSetControlArrayOutput

func (i FrameworkControlSetControlArray) ToFrameworkControlSetControlArrayOutput() FrameworkControlSetControlArrayOutput

func (FrameworkControlSetControlArray) ToFrameworkControlSetControlArrayOutputWithContext

func (i FrameworkControlSetControlArray) ToFrameworkControlSetControlArrayOutputWithContext(ctx context.Context) FrameworkControlSetControlArrayOutput

type FrameworkControlSetControlArrayInput

type FrameworkControlSetControlArrayInput interface {
	pulumi.Input

	ToFrameworkControlSetControlArrayOutput() FrameworkControlSetControlArrayOutput
	ToFrameworkControlSetControlArrayOutputWithContext(context.Context) FrameworkControlSetControlArrayOutput
}

FrameworkControlSetControlArrayInput is an input type that accepts FrameworkControlSetControlArray and FrameworkControlSetControlArrayOutput values. You can construct a concrete instance of `FrameworkControlSetControlArrayInput` via:

FrameworkControlSetControlArray{ FrameworkControlSetControlArgs{...} }

type FrameworkControlSetControlArrayOutput

type FrameworkControlSetControlArrayOutput struct{ *pulumi.OutputState }

func (FrameworkControlSetControlArrayOutput) ElementType

func (FrameworkControlSetControlArrayOutput) Index

func (FrameworkControlSetControlArrayOutput) ToFrameworkControlSetControlArrayOutput

func (o FrameworkControlSetControlArrayOutput) ToFrameworkControlSetControlArrayOutput() FrameworkControlSetControlArrayOutput

func (FrameworkControlSetControlArrayOutput) ToFrameworkControlSetControlArrayOutputWithContext

func (o FrameworkControlSetControlArrayOutput) ToFrameworkControlSetControlArrayOutputWithContext(ctx context.Context) FrameworkControlSetControlArrayOutput

type FrameworkControlSetControlInput

type FrameworkControlSetControlInput interface {
	pulumi.Input

	ToFrameworkControlSetControlOutput() FrameworkControlSetControlOutput
	ToFrameworkControlSetControlOutputWithContext(context.Context) FrameworkControlSetControlOutput
}

FrameworkControlSetControlInput is an input type that accepts FrameworkControlSetControlArgs and FrameworkControlSetControlOutput values. You can construct a concrete instance of `FrameworkControlSetControlInput` via:

FrameworkControlSetControlArgs{...}

type FrameworkControlSetControlOutput

type FrameworkControlSetControlOutput struct{ *pulumi.OutputState }

func (FrameworkControlSetControlOutput) ElementType

func (FrameworkControlSetControlOutput) Id

Unique identifier of the control.

func (FrameworkControlSetControlOutput) ToFrameworkControlSetControlOutput

func (o FrameworkControlSetControlOutput) ToFrameworkControlSetControlOutput() FrameworkControlSetControlOutput

func (FrameworkControlSetControlOutput) ToFrameworkControlSetControlOutputWithContext

func (o FrameworkControlSetControlOutput) ToFrameworkControlSetControlOutputWithContext(ctx context.Context) FrameworkControlSetControlOutput

type FrameworkControlSetInput

type FrameworkControlSetInput interface {
	pulumi.Input

	ToFrameworkControlSetOutput() FrameworkControlSetOutput
	ToFrameworkControlSetOutputWithContext(context.Context) FrameworkControlSetOutput
}

FrameworkControlSetInput is an input type that accepts FrameworkControlSetArgs and FrameworkControlSetOutput values. You can construct a concrete instance of `FrameworkControlSetInput` via:

FrameworkControlSetArgs{...}

type FrameworkControlSetOutput

type FrameworkControlSetOutput struct{ *pulumi.OutputState }

func (FrameworkControlSetOutput) Controls

List of controls within the control set. See `controls` below.

func (FrameworkControlSetOutput) ElementType

func (FrameworkControlSetOutput) ElementType() reflect.Type

func (FrameworkControlSetOutput) Id

Unique identifier of the control.

func (FrameworkControlSetOutput) Name

Name of the control set.

func (FrameworkControlSetOutput) ToFrameworkControlSetOutput

func (o FrameworkControlSetOutput) ToFrameworkControlSetOutput() FrameworkControlSetOutput

func (FrameworkControlSetOutput) ToFrameworkControlSetOutputWithContext

func (o FrameworkControlSetOutput) ToFrameworkControlSetOutputWithContext(ctx context.Context) FrameworkControlSetOutput

type FrameworkInput

type FrameworkInput interface {
	pulumi.Input

	ToFrameworkOutput() FrameworkOutput
	ToFrameworkOutputWithContext(ctx context.Context) FrameworkOutput
}

type FrameworkMap

type FrameworkMap map[string]FrameworkInput

func (FrameworkMap) ElementType

func (FrameworkMap) ElementType() reflect.Type

func (FrameworkMap) ToFrameworkMapOutput

func (i FrameworkMap) ToFrameworkMapOutput() FrameworkMapOutput

func (FrameworkMap) ToFrameworkMapOutputWithContext

func (i FrameworkMap) ToFrameworkMapOutputWithContext(ctx context.Context) FrameworkMapOutput

type FrameworkMapInput

type FrameworkMapInput interface {
	pulumi.Input

	ToFrameworkMapOutput() FrameworkMapOutput
	ToFrameworkMapOutputWithContext(context.Context) FrameworkMapOutput
}

FrameworkMapInput is an input type that accepts FrameworkMap and FrameworkMapOutput values. You can construct a concrete instance of `FrameworkMapInput` via:

FrameworkMap{ "key": FrameworkArgs{...} }

type FrameworkMapOutput

type FrameworkMapOutput struct{ *pulumi.OutputState }

func (FrameworkMapOutput) ElementType

func (FrameworkMapOutput) ElementType() reflect.Type

func (FrameworkMapOutput) MapIndex

func (FrameworkMapOutput) ToFrameworkMapOutput

func (o FrameworkMapOutput) ToFrameworkMapOutput() FrameworkMapOutput

func (FrameworkMapOutput) ToFrameworkMapOutputWithContext

func (o FrameworkMapOutput) ToFrameworkMapOutputWithContext(ctx context.Context) FrameworkMapOutput

type FrameworkOutput

type FrameworkOutput struct{ *pulumi.OutputState }

func (FrameworkOutput) Arn

Amazon Resource Name (ARN) of the framework. * `control_sets[*].id` - Unique identifier for the framework control set.

func (FrameworkOutput) ComplianceType

func (o FrameworkOutput) ComplianceType() pulumi.StringPtrOutput

Compliance type that the new custom framework supports, such as `CIS` or `HIPAA`.

func (FrameworkOutput) ControlSets

Control sets that are associated with the framework. See `controlSets` below.

The following arguments are optional:

func (FrameworkOutput) Description

func (o FrameworkOutput) Description() pulumi.StringPtrOutput

Description of the framework.

func (FrameworkOutput) ElementType

func (FrameworkOutput) ElementType() reflect.Type

func (FrameworkOutput) FrameworkType

func (o FrameworkOutput) FrameworkType() pulumi.StringOutput

Framework type, such as a custom framework or a standard framework.

func (FrameworkOutput) Name

Name of the framework.

func (FrameworkOutput) Tags

A map of tags to assign to the framework. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (FrameworkOutput) TagsAll

func (FrameworkOutput) ToFrameworkOutput

func (o FrameworkOutput) ToFrameworkOutput() FrameworkOutput

func (FrameworkOutput) ToFrameworkOutputWithContext

func (o FrameworkOutput) ToFrameworkOutputWithContext(ctx context.Context) FrameworkOutput

type FrameworkShare

type FrameworkShare struct {
	pulumi.CustomResourceState

	// Comment from the sender about the share request.
	Comment pulumi.StringPtrOutput `pulumi:"comment"`
	// Amazon Web Services account of the recipient.
	DestinationAccount pulumi.StringOutput `pulumi:"destinationAccount"`
	// Amazon Web Services region of the recipient.
	DestinationRegion pulumi.StringOutput `pulumi:"destinationRegion"`
	// Unique identifier for the shared custom framework.
	//
	// The following arguments are optional:
	FrameworkId pulumi.StringOutput `pulumi:"frameworkId"`
	// Status of the share request.
	Status pulumi.StringOutput `pulumi:"status"`
}

Resource for managing an AWS Audit Manager Framework Share.

## Example Usage ### Basic Usage

```go 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.NewFrameworkShare(ctx, "example", &auditmanager.FrameworkShareArgs{
			DestinationAccount: pulumi.String("012345678901"),
			DestinationRegion:  pulumi.String("us-east-1"),
			FrameworkId:        pulumi.Any(aws_auditmanager_framework.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_auditmanager_framework_share.example

id = "abcdef-123456" } Using `pulumi import`, import Audit Manager Framework Share using the `id`. For exampleconsole % pulumi import aws_auditmanager_framework_share.example abcdef-123456

func GetFrameworkShare

func GetFrameworkShare(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FrameworkShareState, opts ...pulumi.ResourceOption) (*FrameworkShare, error)

GetFrameworkShare gets an existing FrameworkShare resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFrameworkShare

func NewFrameworkShare(ctx *pulumi.Context,
	name string, args *FrameworkShareArgs, opts ...pulumi.ResourceOption) (*FrameworkShare, error)

NewFrameworkShare registers a new resource with the given unique name, arguments, and options.

func (*FrameworkShare) ElementType

func (*FrameworkShare) ElementType() reflect.Type

func (*FrameworkShare) ToFrameworkShareOutput

func (i *FrameworkShare) ToFrameworkShareOutput() FrameworkShareOutput

func (*FrameworkShare) ToFrameworkShareOutputWithContext

func (i *FrameworkShare) ToFrameworkShareOutputWithContext(ctx context.Context) FrameworkShareOutput

type FrameworkShareArgs

type FrameworkShareArgs struct {
	// Comment from the sender about the share request.
	Comment pulumi.StringPtrInput
	// Amazon Web Services account of the recipient.
	DestinationAccount pulumi.StringInput
	// Amazon Web Services region of the recipient.
	DestinationRegion pulumi.StringInput
	// Unique identifier for the shared custom framework.
	//
	// The following arguments are optional:
	FrameworkId pulumi.StringInput
}

The set of arguments for constructing a FrameworkShare resource.

func (FrameworkShareArgs) ElementType

func (FrameworkShareArgs) ElementType() reflect.Type

type FrameworkShareArray

type FrameworkShareArray []FrameworkShareInput

func (FrameworkShareArray) ElementType

func (FrameworkShareArray) ElementType() reflect.Type

func (FrameworkShareArray) ToFrameworkShareArrayOutput

func (i FrameworkShareArray) ToFrameworkShareArrayOutput() FrameworkShareArrayOutput

func (FrameworkShareArray) ToFrameworkShareArrayOutputWithContext

func (i FrameworkShareArray) ToFrameworkShareArrayOutputWithContext(ctx context.Context) FrameworkShareArrayOutput

type FrameworkShareArrayInput

type FrameworkShareArrayInput interface {
	pulumi.Input

	ToFrameworkShareArrayOutput() FrameworkShareArrayOutput
	ToFrameworkShareArrayOutputWithContext(context.Context) FrameworkShareArrayOutput
}

FrameworkShareArrayInput is an input type that accepts FrameworkShareArray and FrameworkShareArrayOutput values. You can construct a concrete instance of `FrameworkShareArrayInput` via:

FrameworkShareArray{ FrameworkShareArgs{...} }

type FrameworkShareArrayOutput

type FrameworkShareArrayOutput struct{ *pulumi.OutputState }

func (FrameworkShareArrayOutput) ElementType

func (FrameworkShareArrayOutput) ElementType() reflect.Type

func (FrameworkShareArrayOutput) Index

func (FrameworkShareArrayOutput) ToFrameworkShareArrayOutput

func (o FrameworkShareArrayOutput) ToFrameworkShareArrayOutput() FrameworkShareArrayOutput

func (FrameworkShareArrayOutput) ToFrameworkShareArrayOutputWithContext

func (o FrameworkShareArrayOutput) ToFrameworkShareArrayOutputWithContext(ctx context.Context) FrameworkShareArrayOutput

type FrameworkShareInput

type FrameworkShareInput interface {
	pulumi.Input

	ToFrameworkShareOutput() FrameworkShareOutput
	ToFrameworkShareOutputWithContext(ctx context.Context) FrameworkShareOutput
}

type FrameworkShareMap

type FrameworkShareMap map[string]FrameworkShareInput

func (FrameworkShareMap) ElementType

func (FrameworkShareMap) ElementType() reflect.Type

func (FrameworkShareMap) ToFrameworkShareMapOutput

func (i FrameworkShareMap) ToFrameworkShareMapOutput() FrameworkShareMapOutput

func (FrameworkShareMap) ToFrameworkShareMapOutputWithContext

func (i FrameworkShareMap) ToFrameworkShareMapOutputWithContext(ctx context.Context) FrameworkShareMapOutput

type FrameworkShareMapInput

type FrameworkShareMapInput interface {
	pulumi.Input

	ToFrameworkShareMapOutput() FrameworkShareMapOutput
	ToFrameworkShareMapOutputWithContext(context.Context) FrameworkShareMapOutput
}

FrameworkShareMapInput is an input type that accepts FrameworkShareMap and FrameworkShareMapOutput values. You can construct a concrete instance of `FrameworkShareMapInput` via:

FrameworkShareMap{ "key": FrameworkShareArgs{...} }

type FrameworkShareMapOutput

type FrameworkShareMapOutput struct{ *pulumi.OutputState }

func (FrameworkShareMapOutput) ElementType

func (FrameworkShareMapOutput) ElementType() reflect.Type

func (FrameworkShareMapOutput) MapIndex

func (FrameworkShareMapOutput) ToFrameworkShareMapOutput

func (o FrameworkShareMapOutput) ToFrameworkShareMapOutput() FrameworkShareMapOutput

func (FrameworkShareMapOutput) ToFrameworkShareMapOutputWithContext

func (o FrameworkShareMapOutput) ToFrameworkShareMapOutputWithContext(ctx context.Context) FrameworkShareMapOutput

type FrameworkShareOutput

type FrameworkShareOutput struct{ *pulumi.OutputState }

func (FrameworkShareOutput) Comment

Comment from the sender about the share request.

func (FrameworkShareOutput) DestinationAccount

func (o FrameworkShareOutput) DestinationAccount() pulumi.StringOutput

Amazon Web Services account of the recipient.

func (FrameworkShareOutput) DestinationRegion

func (o FrameworkShareOutput) DestinationRegion() pulumi.StringOutput

Amazon Web Services region of the recipient.

func (FrameworkShareOutput) ElementType

func (FrameworkShareOutput) ElementType() reflect.Type

func (FrameworkShareOutput) FrameworkId

func (o FrameworkShareOutput) FrameworkId() pulumi.StringOutput

Unique identifier for the shared custom framework.

The following arguments are optional:

func (FrameworkShareOutput) Status

Status of the share request.

func (FrameworkShareOutput) ToFrameworkShareOutput

func (o FrameworkShareOutput) ToFrameworkShareOutput() FrameworkShareOutput

func (FrameworkShareOutput) ToFrameworkShareOutputWithContext

func (o FrameworkShareOutput) ToFrameworkShareOutputWithContext(ctx context.Context) FrameworkShareOutput

type FrameworkShareState

type FrameworkShareState struct {
	// Comment from the sender about the share request.
	Comment pulumi.StringPtrInput
	// Amazon Web Services account of the recipient.
	DestinationAccount pulumi.StringPtrInput
	// Amazon Web Services region of the recipient.
	DestinationRegion pulumi.StringPtrInput
	// Unique identifier for the shared custom framework.
	//
	// The following arguments are optional:
	FrameworkId pulumi.StringPtrInput
	// Status of the share request.
	Status pulumi.StringPtrInput
}

func (FrameworkShareState) ElementType

func (FrameworkShareState) ElementType() reflect.Type

type FrameworkState

type FrameworkState struct {
	// Amazon Resource Name (ARN) of the framework.
	// * `control_sets[*].id` - Unique identifier for the framework control set.
	Arn pulumi.StringPtrInput
	// Compliance type that the new custom framework supports, such as `CIS` or `HIPAA`.
	ComplianceType pulumi.StringPtrInput
	// Control sets that are associated with the framework. See `controlSets` below.
	//
	// The following arguments are optional:
	ControlSets FrameworkControlSetArrayInput
	// Description of the framework.
	Description pulumi.StringPtrInput
	// Framework type, such as a custom framework or a standard framework.
	FrameworkType pulumi.StringPtrInput
	// Name of the framework.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the framework. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags    pulumi.StringMapInput
	TagsAll pulumi.StringMapInput
}

func (FrameworkState) ElementType

func (FrameworkState) ElementType() reflect.Type

type GetControlControlMappingSource

type GetControlControlMappingSource struct {
	SourceDescription   string                                       `pulumi:"sourceDescription"`
	SourceFrequency     string                                       `pulumi:"sourceFrequency"`
	SourceId            string                                       `pulumi:"sourceId"`
	SourceKeyword       *GetControlControlMappingSourceSourceKeyword `pulumi:"sourceKeyword"`
	SourceName          string                                       `pulumi:"sourceName"`
	SourceSetUpOption   string                                       `pulumi:"sourceSetUpOption"`
	SourceType          string                                       `pulumi:"sourceType"`
	TroubleshootingText string                                       `pulumi:"troubleshootingText"`
}

type GetControlControlMappingSourceArgs

type GetControlControlMappingSourceArgs struct {
	SourceDescription   pulumi.StringInput                                  `pulumi:"sourceDescription"`
	SourceFrequency     pulumi.StringInput                                  `pulumi:"sourceFrequency"`
	SourceId            pulumi.StringInput                                  `pulumi:"sourceId"`
	SourceKeyword       GetControlControlMappingSourceSourceKeywordPtrInput `pulumi:"sourceKeyword"`
	SourceName          pulumi.StringInput                                  `pulumi:"sourceName"`
	SourceSetUpOption   pulumi.StringInput                                  `pulumi:"sourceSetUpOption"`
	SourceType          pulumi.StringInput                                  `pulumi:"sourceType"`
	TroubleshootingText pulumi.StringInput                                  `pulumi:"troubleshootingText"`
}

func (GetControlControlMappingSourceArgs) ElementType

func (GetControlControlMappingSourceArgs) ToGetControlControlMappingSourceOutput

func (i GetControlControlMappingSourceArgs) ToGetControlControlMappingSourceOutput() GetControlControlMappingSourceOutput

func (GetControlControlMappingSourceArgs) ToGetControlControlMappingSourceOutputWithContext

func (i GetControlControlMappingSourceArgs) ToGetControlControlMappingSourceOutputWithContext(ctx context.Context) GetControlControlMappingSourceOutput

type GetControlControlMappingSourceArray

type GetControlControlMappingSourceArray []GetControlControlMappingSourceInput

func (GetControlControlMappingSourceArray) ElementType

func (GetControlControlMappingSourceArray) ToGetControlControlMappingSourceArrayOutput

func (i GetControlControlMappingSourceArray) ToGetControlControlMappingSourceArrayOutput() GetControlControlMappingSourceArrayOutput

func (GetControlControlMappingSourceArray) ToGetControlControlMappingSourceArrayOutputWithContext

func (i GetControlControlMappingSourceArray) ToGetControlControlMappingSourceArrayOutputWithContext(ctx context.Context) GetControlControlMappingSourceArrayOutput

type GetControlControlMappingSourceArrayInput

type GetControlControlMappingSourceArrayInput interface {
	pulumi.Input

	ToGetControlControlMappingSourceArrayOutput() GetControlControlMappingSourceArrayOutput
	ToGetControlControlMappingSourceArrayOutputWithContext(context.Context) GetControlControlMappingSourceArrayOutput
}

GetControlControlMappingSourceArrayInput is an input type that accepts GetControlControlMappingSourceArray and GetControlControlMappingSourceArrayOutput values. You can construct a concrete instance of `GetControlControlMappingSourceArrayInput` via:

GetControlControlMappingSourceArray{ GetControlControlMappingSourceArgs{...} }

type GetControlControlMappingSourceArrayOutput

type GetControlControlMappingSourceArrayOutput struct{ *pulumi.OutputState }

func (GetControlControlMappingSourceArrayOutput) ElementType

func (GetControlControlMappingSourceArrayOutput) Index

func (GetControlControlMappingSourceArrayOutput) ToGetControlControlMappingSourceArrayOutput

func (o GetControlControlMappingSourceArrayOutput) ToGetControlControlMappingSourceArrayOutput() GetControlControlMappingSourceArrayOutput

func (GetControlControlMappingSourceArrayOutput) ToGetControlControlMappingSourceArrayOutputWithContext

func (o GetControlControlMappingSourceArrayOutput) ToGetControlControlMappingSourceArrayOutputWithContext(ctx context.Context) GetControlControlMappingSourceArrayOutput

type GetControlControlMappingSourceInput

type GetControlControlMappingSourceInput interface {
	pulumi.Input

	ToGetControlControlMappingSourceOutput() GetControlControlMappingSourceOutput
	ToGetControlControlMappingSourceOutputWithContext(context.Context) GetControlControlMappingSourceOutput
}

GetControlControlMappingSourceInput is an input type that accepts GetControlControlMappingSourceArgs and GetControlControlMappingSourceOutput values. You can construct a concrete instance of `GetControlControlMappingSourceInput` via:

GetControlControlMappingSourceArgs{...}

type GetControlControlMappingSourceOutput

type GetControlControlMappingSourceOutput struct{ *pulumi.OutputState }

func (GetControlControlMappingSourceOutput) ElementType

func (GetControlControlMappingSourceOutput) SourceDescription

func (GetControlControlMappingSourceOutput) SourceFrequency

func (GetControlControlMappingSourceOutput) SourceId

func (GetControlControlMappingSourceOutput) SourceKeyword

func (GetControlControlMappingSourceOutput) SourceName

func (GetControlControlMappingSourceOutput) SourceSetUpOption

func (GetControlControlMappingSourceOutput) SourceType

func (GetControlControlMappingSourceOutput) ToGetControlControlMappingSourceOutput

func (o GetControlControlMappingSourceOutput) ToGetControlControlMappingSourceOutput() GetControlControlMappingSourceOutput

func (GetControlControlMappingSourceOutput) ToGetControlControlMappingSourceOutputWithContext

func (o GetControlControlMappingSourceOutput) ToGetControlControlMappingSourceOutputWithContext(ctx context.Context) GetControlControlMappingSourceOutput

func (GetControlControlMappingSourceOutput) TroubleshootingText

type GetControlControlMappingSourceSourceKeyword

type GetControlControlMappingSourceSourceKeyword struct {
	KeywordInputType string `pulumi:"keywordInputType"`
	KeywordValue     string `pulumi:"keywordValue"`
}

type GetControlControlMappingSourceSourceKeywordArgs

type GetControlControlMappingSourceSourceKeywordArgs struct {
	KeywordInputType pulumi.StringInput `pulumi:"keywordInputType"`
	KeywordValue     pulumi.StringInput `pulumi:"keywordValue"`
}

func (GetControlControlMappingSourceSourceKeywordArgs) ElementType

func (GetControlControlMappingSourceSourceKeywordArgs) ToGetControlControlMappingSourceSourceKeywordOutput

func (i GetControlControlMappingSourceSourceKeywordArgs) ToGetControlControlMappingSourceSourceKeywordOutput() GetControlControlMappingSourceSourceKeywordOutput

func (GetControlControlMappingSourceSourceKeywordArgs) ToGetControlControlMappingSourceSourceKeywordOutputWithContext

func (i GetControlControlMappingSourceSourceKeywordArgs) ToGetControlControlMappingSourceSourceKeywordOutputWithContext(ctx context.Context) GetControlControlMappingSourceSourceKeywordOutput

func (GetControlControlMappingSourceSourceKeywordArgs) ToGetControlControlMappingSourceSourceKeywordPtrOutput

func (i GetControlControlMappingSourceSourceKeywordArgs) ToGetControlControlMappingSourceSourceKeywordPtrOutput() GetControlControlMappingSourceSourceKeywordPtrOutput

func (GetControlControlMappingSourceSourceKeywordArgs) ToGetControlControlMappingSourceSourceKeywordPtrOutputWithContext

func (i GetControlControlMappingSourceSourceKeywordArgs) ToGetControlControlMappingSourceSourceKeywordPtrOutputWithContext(ctx context.Context) GetControlControlMappingSourceSourceKeywordPtrOutput

type GetControlControlMappingSourceSourceKeywordInput

type GetControlControlMappingSourceSourceKeywordInput interface {
	pulumi.Input

	ToGetControlControlMappingSourceSourceKeywordOutput() GetControlControlMappingSourceSourceKeywordOutput
	ToGetControlControlMappingSourceSourceKeywordOutputWithContext(context.Context) GetControlControlMappingSourceSourceKeywordOutput
}

GetControlControlMappingSourceSourceKeywordInput is an input type that accepts GetControlControlMappingSourceSourceKeywordArgs and GetControlControlMappingSourceSourceKeywordOutput values. You can construct a concrete instance of `GetControlControlMappingSourceSourceKeywordInput` via:

GetControlControlMappingSourceSourceKeywordArgs{...}

type GetControlControlMappingSourceSourceKeywordOutput

type GetControlControlMappingSourceSourceKeywordOutput struct{ *pulumi.OutputState }

func (GetControlControlMappingSourceSourceKeywordOutput) ElementType

func (GetControlControlMappingSourceSourceKeywordOutput) KeywordInputType

func (GetControlControlMappingSourceSourceKeywordOutput) KeywordValue

func (GetControlControlMappingSourceSourceKeywordOutput) ToGetControlControlMappingSourceSourceKeywordOutput

func (o GetControlControlMappingSourceSourceKeywordOutput) ToGetControlControlMappingSourceSourceKeywordOutput() GetControlControlMappingSourceSourceKeywordOutput

func (GetControlControlMappingSourceSourceKeywordOutput) ToGetControlControlMappingSourceSourceKeywordOutputWithContext

func (o GetControlControlMappingSourceSourceKeywordOutput) ToGetControlControlMappingSourceSourceKeywordOutputWithContext(ctx context.Context) GetControlControlMappingSourceSourceKeywordOutput

func (GetControlControlMappingSourceSourceKeywordOutput) ToGetControlControlMappingSourceSourceKeywordPtrOutput

func (o GetControlControlMappingSourceSourceKeywordOutput) ToGetControlControlMappingSourceSourceKeywordPtrOutput() GetControlControlMappingSourceSourceKeywordPtrOutput

func (GetControlControlMappingSourceSourceKeywordOutput) ToGetControlControlMappingSourceSourceKeywordPtrOutputWithContext

func (o GetControlControlMappingSourceSourceKeywordOutput) ToGetControlControlMappingSourceSourceKeywordPtrOutputWithContext(ctx context.Context) GetControlControlMappingSourceSourceKeywordPtrOutput

type GetControlControlMappingSourceSourceKeywordPtrInput

type GetControlControlMappingSourceSourceKeywordPtrInput interface {
	pulumi.Input

	ToGetControlControlMappingSourceSourceKeywordPtrOutput() GetControlControlMappingSourceSourceKeywordPtrOutput
	ToGetControlControlMappingSourceSourceKeywordPtrOutputWithContext(context.Context) GetControlControlMappingSourceSourceKeywordPtrOutput
}

GetControlControlMappingSourceSourceKeywordPtrInput is an input type that accepts GetControlControlMappingSourceSourceKeywordArgs, GetControlControlMappingSourceSourceKeywordPtr and GetControlControlMappingSourceSourceKeywordPtrOutput values. You can construct a concrete instance of `GetControlControlMappingSourceSourceKeywordPtrInput` via:

        GetControlControlMappingSourceSourceKeywordArgs{...}

or:

        nil

type GetControlControlMappingSourceSourceKeywordPtrOutput

type GetControlControlMappingSourceSourceKeywordPtrOutput struct{ *pulumi.OutputState }

func (GetControlControlMappingSourceSourceKeywordPtrOutput) Elem

func (GetControlControlMappingSourceSourceKeywordPtrOutput) ElementType

func (GetControlControlMappingSourceSourceKeywordPtrOutput) KeywordInputType

func (GetControlControlMappingSourceSourceKeywordPtrOutput) KeywordValue

func (GetControlControlMappingSourceSourceKeywordPtrOutput) ToGetControlControlMappingSourceSourceKeywordPtrOutput

func (GetControlControlMappingSourceSourceKeywordPtrOutput) ToGetControlControlMappingSourceSourceKeywordPtrOutputWithContext

func (o GetControlControlMappingSourceSourceKeywordPtrOutput) ToGetControlControlMappingSourceSourceKeywordPtrOutputWithContext(ctx context.Context) GetControlControlMappingSourceSourceKeywordPtrOutput

type GetFrameworkControlSet

type GetFrameworkControlSet struct {
	Controls []GetFrameworkControlSetControl `pulumi:"controls"`
	Id       string                          `pulumi:"id"`
	// Name of the framework.
	Name string `pulumi:"name"`
}

type GetFrameworkControlSetArgs

type GetFrameworkControlSetArgs struct {
	Controls GetFrameworkControlSetControlArrayInput `pulumi:"controls"`
	Id       pulumi.StringInput                      `pulumi:"id"`
	// Name of the framework.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetFrameworkControlSetArgs) ElementType

func (GetFrameworkControlSetArgs) ElementType() reflect.Type

func (GetFrameworkControlSetArgs) ToGetFrameworkControlSetOutput

func (i GetFrameworkControlSetArgs) ToGetFrameworkControlSetOutput() GetFrameworkControlSetOutput

func (GetFrameworkControlSetArgs) ToGetFrameworkControlSetOutputWithContext

func (i GetFrameworkControlSetArgs) ToGetFrameworkControlSetOutputWithContext(ctx context.Context) GetFrameworkControlSetOutput

type GetFrameworkControlSetArray

type GetFrameworkControlSetArray []GetFrameworkControlSetInput

func (GetFrameworkControlSetArray) ElementType

func (GetFrameworkControlSetArray) ToGetFrameworkControlSetArrayOutput

func (i GetFrameworkControlSetArray) ToGetFrameworkControlSetArrayOutput() GetFrameworkControlSetArrayOutput

func (GetFrameworkControlSetArray) ToGetFrameworkControlSetArrayOutputWithContext

func (i GetFrameworkControlSetArray) ToGetFrameworkControlSetArrayOutputWithContext(ctx context.Context) GetFrameworkControlSetArrayOutput

type GetFrameworkControlSetArrayInput

type GetFrameworkControlSetArrayInput interface {
	pulumi.Input

	ToGetFrameworkControlSetArrayOutput() GetFrameworkControlSetArrayOutput
	ToGetFrameworkControlSetArrayOutputWithContext(context.Context) GetFrameworkControlSetArrayOutput
}

GetFrameworkControlSetArrayInput is an input type that accepts GetFrameworkControlSetArray and GetFrameworkControlSetArrayOutput values. You can construct a concrete instance of `GetFrameworkControlSetArrayInput` via:

GetFrameworkControlSetArray{ GetFrameworkControlSetArgs{...} }

type GetFrameworkControlSetArrayOutput

type GetFrameworkControlSetArrayOutput struct{ *pulumi.OutputState }

func (GetFrameworkControlSetArrayOutput) ElementType

func (GetFrameworkControlSetArrayOutput) Index

func (GetFrameworkControlSetArrayOutput) ToGetFrameworkControlSetArrayOutput

func (o GetFrameworkControlSetArrayOutput) ToGetFrameworkControlSetArrayOutput() GetFrameworkControlSetArrayOutput

func (GetFrameworkControlSetArrayOutput) ToGetFrameworkControlSetArrayOutputWithContext

func (o GetFrameworkControlSetArrayOutput) ToGetFrameworkControlSetArrayOutputWithContext(ctx context.Context) GetFrameworkControlSetArrayOutput

type GetFrameworkControlSetControl

type GetFrameworkControlSetControl struct {
	Id string `pulumi:"id"`
}

type GetFrameworkControlSetControlArgs

type GetFrameworkControlSetControlArgs struct {
	Id pulumi.StringInput `pulumi:"id"`
}

func (GetFrameworkControlSetControlArgs) ElementType

func (GetFrameworkControlSetControlArgs) ToGetFrameworkControlSetControlOutput

func (i GetFrameworkControlSetControlArgs) ToGetFrameworkControlSetControlOutput() GetFrameworkControlSetControlOutput

func (GetFrameworkControlSetControlArgs) ToGetFrameworkControlSetControlOutputWithContext

func (i GetFrameworkControlSetControlArgs) ToGetFrameworkControlSetControlOutputWithContext(ctx context.Context) GetFrameworkControlSetControlOutput

type GetFrameworkControlSetControlArray

type GetFrameworkControlSetControlArray []GetFrameworkControlSetControlInput

func (GetFrameworkControlSetControlArray) ElementType

func (GetFrameworkControlSetControlArray) ToGetFrameworkControlSetControlArrayOutput

func (i GetFrameworkControlSetControlArray) ToGetFrameworkControlSetControlArrayOutput() GetFrameworkControlSetControlArrayOutput

func (GetFrameworkControlSetControlArray) ToGetFrameworkControlSetControlArrayOutputWithContext

func (i GetFrameworkControlSetControlArray) ToGetFrameworkControlSetControlArrayOutputWithContext(ctx context.Context) GetFrameworkControlSetControlArrayOutput

type GetFrameworkControlSetControlArrayInput

type GetFrameworkControlSetControlArrayInput interface {
	pulumi.Input

	ToGetFrameworkControlSetControlArrayOutput() GetFrameworkControlSetControlArrayOutput
	ToGetFrameworkControlSetControlArrayOutputWithContext(context.Context) GetFrameworkControlSetControlArrayOutput
}

GetFrameworkControlSetControlArrayInput is an input type that accepts GetFrameworkControlSetControlArray and GetFrameworkControlSetControlArrayOutput values. You can construct a concrete instance of `GetFrameworkControlSetControlArrayInput` via:

GetFrameworkControlSetControlArray{ GetFrameworkControlSetControlArgs{...} }

type GetFrameworkControlSetControlArrayOutput

type GetFrameworkControlSetControlArrayOutput struct{ *pulumi.OutputState }

func (GetFrameworkControlSetControlArrayOutput) ElementType

func (GetFrameworkControlSetControlArrayOutput) Index

func (GetFrameworkControlSetControlArrayOutput) ToGetFrameworkControlSetControlArrayOutput

func (o GetFrameworkControlSetControlArrayOutput) ToGetFrameworkControlSetControlArrayOutput() GetFrameworkControlSetControlArrayOutput

func (GetFrameworkControlSetControlArrayOutput) ToGetFrameworkControlSetControlArrayOutputWithContext

func (o GetFrameworkControlSetControlArrayOutput) ToGetFrameworkControlSetControlArrayOutputWithContext(ctx context.Context) GetFrameworkControlSetControlArrayOutput

type GetFrameworkControlSetControlInput

type GetFrameworkControlSetControlInput interface {
	pulumi.Input

	ToGetFrameworkControlSetControlOutput() GetFrameworkControlSetControlOutput
	ToGetFrameworkControlSetControlOutputWithContext(context.Context) GetFrameworkControlSetControlOutput
}

GetFrameworkControlSetControlInput is an input type that accepts GetFrameworkControlSetControlArgs and GetFrameworkControlSetControlOutput values. You can construct a concrete instance of `GetFrameworkControlSetControlInput` via:

GetFrameworkControlSetControlArgs{...}

type GetFrameworkControlSetControlOutput

type GetFrameworkControlSetControlOutput struct{ *pulumi.OutputState }

func (GetFrameworkControlSetControlOutput) ElementType

func (GetFrameworkControlSetControlOutput) Id

func (GetFrameworkControlSetControlOutput) ToGetFrameworkControlSetControlOutput

func (o GetFrameworkControlSetControlOutput) ToGetFrameworkControlSetControlOutput() GetFrameworkControlSetControlOutput

func (GetFrameworkControlSetControlOutput) ToGetFrameworkControlSetControlOutputWithContext

func (o GetFrameworkControlSetControlOutput) ToGetFrameworkControlSetControlOutputWithContext(ctx context.Context) GetFrameworkControlSetControlOutput

type GetFrameworkControlSetInput

type GetFrameworkControlSetInput interface {
	pulumi.Input

	ToGetFrameworkControlSetOutput() GetFrameworkControlSetOutput
	ToGetFrameworkControlSetOutputWithContext(context.Context) GetFrameworkControlSetOutput
}

GetFrameworkControlSetInput is an input type that accepts GetFrameworkControlSetArgs and GetFrameworkControlSetOutput values. You can construct a concrete instance of `GetFrameworkControlSetInput` via:

GetFrameworkControlSetArgs{...}

type GetFrameworkControlSetOutput

type GetFrameworkControlSetOutput struct{ *pulumi.OutputState }

func (GetFrameworkControlSetOutput) Controls

func (GetFrameworkControlSetOutput) ElementType

func (GetFrameworkControlSetOutput) Id

func (GetFrameworkControlSetOutput) Name

Name of the framework.

func (GetFrameworkControlSetOutput) ToGetFrameworkControlSetOutput

func (o GetFrameworkControlSetOutput) ToGetFrameworkControlSetOutput() GetFrameworkControlSetOutput

func (GetFrameworkControlSetOutput) ToGetFrameworkControlSetOutputWithContext

func (o GetFrameworkControlSetOutput) ToGetFrameworkControlSetOutputWithContext(ctx context.Context) GetFrameworkControlSetOutput

type LookupControlArgs

type LookupControlArgs struct {
	ControlMappingSources []GetControlControlMappingSource `pulumi:"controlMappingSources"`
	// Name of the control.
	Name string `pulumi:"name"`
	// Type of control. Valid values are `Custom` and `Standard`.
	Type string `pulumi:"type"`
}

A collection of arguments for invoking getControl.

type LookupControlOutputArgs

type LookupControlOutputArgs struct {
	ControlMappingSources GetControlControlMappingSourceArrayInput `pulumi:"controlMappingSources"`
	// Name of the control.
	Name pulumi.StringInput `pulumi:"name"`
	// Type of control. Valid values are `Custom` and `Standard`.
	Type pulumi.StringInput `pulumi:"type"`
}

A collection of arguments for invoking getControl.

func (LookupControlOutputArgs) ElementType

func (LookupControlOutputArgs) ElementType() reflect.Type

type LookupControlResult

type LookupControlResult struct {
	ActionPlanInstructions string                           `pulumi:"actionPlanInstructions"`
	ActionPlanTitle        string                           `pulumi:"actionPlanTitle"`
	Arn                    string                           `pulumi:"arn"`
	ControlMappingSources  []GetControlControlMappingSource `pulumi:"controlMappingSources"`
	Description            string                           `pulumi:"description"`
	Id                     string                           `pulumi:"id"`
	Name                   string                           `pulumi:"name"`
	Tags                   map[string]string                `pulumi:"tags"`
	TestingInformation     string                           `pulumi:"testingInformation"`
	Type                   string                           `pulumi:"type"`
}

A collection of values returned by getControl.

func LookupControl

func LookupControl(ctx *pulumi.Context, args *LookupControlArgs, opts ...pulumi.InvokeOption) (*LookupControlResult, error)

Data source for managing an AWS Audit Manager Control.

## Example Usage ### Basic Usage

```go 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.LookupControl(ctx, &auditmanager.LookupControlArgs{
			Name: "1. Risk Management",
			Type: "Standard",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### With Framework Resource

```go 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 {
		exampleControl, err := auditmanager.LookupControl(ctx, &auditmanager.LookupControlArgs{
			Name: "1. Risk Management",
			Type: "Standard",
		}, nil)
		if err != nil {
			return err
		}
		example2, err := auditmanager.LookupControl(ctx, &auditmanager.LookupControlArgs{
			Name: "2. Personnel",
			Type: "Standard",
		}, nil)
		if err != nil {
			return err
		}
		_, err = auditmanager.NewFramework(ctx, "exampleFramework", &auditmanager.FrameworkArgs{
			ControlSets: auditmanager.FrameworkControlSetArray{
				&auditmanager.FrameworkControlSetArgs{
					Name: pulumi.String("example"),
					Controls: auditmanager.FrameworkControlSetControlArray{
						&auditmanager.FrameworkControlSetControlArgs{
							Id: *pulumi.String(exampleControl.Id),
						},
					},
				},
				&auditmanager.FrameworkControlSetArgs{
					Name: pulumi.String("example2"),
					Controls: auditmanager.FrameworkControlSetControlArray{
						&auditmanager.FrameworkControlSetControlArgs{
							Id: *pulumi.String(example2.Id),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupControlResultOutput

type LookupControlResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getControl.

func (LookupControlResultOutput) ActionPlanInstructions

func (o LookupControlResultOutput) ActionPlanInstructions() pulumi.StringOutput

func (LookupControlResultOutput) ActionPlanTitle

func (o LookupControlResultOutput) ActionPlanTitle() pulumi.StringOutput

func (LookupControlResultOutput) Arn

func (LookupControlResultOutput) ControlMappingSources

func (LookupControlResultOutput) Description

func (LookupControlResultOutput) ElementType

func (LookupControlResultOutput) ElementType() reflect.Type

func (LookupControlResultOutput) Id

func (LookupControlResultOutput) Name

func (LookupControlResultOutput) Tags

func (LookupControlResultOutput) TestingInformation

func (o LookupControlResultOutput) TestingInformation() pulumi.StringOutput

func (LookupControlResultOutput) ToLookupControlResultOutput

func (o LookupControlResultOutput) ToLookupControlResultOutput() LookupControlResultOutput

func (LookupControlResultOutput) ToLookupControlResultOutputWithContext

func (o LookupControlResultOutput) ToLookupControlResultOutputWithContext(ctx context.Context) LookupControlResultOutput

func (LookupControlResultOutput) Type

type LookupFrameworkArgs

type LookupFrameworkArgs struct {
	ControlSets   []GetFrameworkControlSet `pulumi:"controlSets"`
	FrameworkType string                   `pulumi:"frameworkType"`
	// Name of the framework.
	Name string `pulumi:"name"`
}

A collection of arguments for invoking getFramework.

type LookupFrameworkOutputArgs

type LookupFrameworkOutputArgs struct {
	ControlSets   GetFrameworkControlSetArrayInput `pulumi:"controlSets"`
	FrameworkType pulumi.StringInput               `pulumi:"frameworkType"`
	// Name of the framework.
	Name pulumi.StringInput `pulumi:"name"`
}

A collection of arguments for invoking getFramework.

func (LookupFrameworkOutputArgs) ElementType

func (LookupFrameworkOutputArgs) ElementType() reflect.Type

type LookupFrameworkResult

type LookupFrameworkResult struct {
	Arn            string                   `pulumi:"arn"`
	ComplianceType string                   `pulumi:"complianceType"`
	ControlSets    []GetFrameworkControlSet `pulumi:"controlSets"`
	Description    string                   `pulumi:"description"`
	FrameworkType  string                   `pulumi:"frameworkType"`
	Id             string                   `pulumi:"id"`
	Name           string                   `pulumi:"name"`
	Tags           map[string]string        `pulumi:"tags"`
}

A collection of values returned by getFramework.

func LookupFramework

func LookupFramework(ctx *pulumi.Context, args *LookupFrameworkArgs, opts ...pulumi.InvokeOption) (*LookupFrameworkResult, error)

Data source for managing an AWS Audit Manager Framework.

## Example Usage ### Basic Usage

```go 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{
			FrameworkType: "Standard",
			Name:          "Essential Eight",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupFrameworkResultOutput

type LookupFrameworkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getFramework.

func (LookupFrameworkResultOutput) Arn

func (LookupFrameworkResultOutput) ComplianceType

func (o LookupFrameworkResultOutput) ComplianceType() pulumi.StringOutput

func (LookupFrameworkResultOutput) ControlSets

func (LookupFrameworkResultOutput) Description

func (LookupFrameworkResultOutput) ElementType

func (LookupFrameworkResultOutput) FrameworkType

func (LookupFrameworkResultOutput) Id

func (LookupFrameworkResultOutput) Name

func (LookupFrameworkResultOutput) Tags

func (LookupFrameworkResultOutput) ToLookupFrameworkResultOutput

func (o LookupFrameworkResultOutput) ToLookupFrameworkResultOutput() LookupFrameworkResultOutput

func (LookupFrameworkResultOutput) ToLookupFrameworkResultOutputWithContext

func (o LookupFrameworkResultOutput) ToLookupFrameworkResultOutputWithContext(ctx context.Context) LookupFrameworkResultOutput

type OrganizationAdminAccountRegistration

type OrganizationAdminAccountRegistration struct {
	pulumi.CustomResourceState

	// Identifier for the organization administrator account.
	AdminAccountId pulumi.StringOutput `pulumi:"adminAccountId"`
	// Identifier for the organization.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
}

Resource for managing AWS Audit Manager Organization Admin Account Registration.

## Example Usage ### Basic Usage

```go 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.NewOrganizationAdminAccountRegistration(ctx, "example", &auditmanager.OrganizationAdminAccountRegistrationArgs{
			AdminAccountId: pulumi.String("012345678901"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_auditmanager_organization_admin_account_registration.example

id = "012345678901 " } Using `pulumi import`, import Audit Manager Organization Admin Account Registration using the `id`. For exampleconsole % pulumi import aws_auditmanager_organization_admin_account_registration.example 012345678901

func GetOrganizationAdminAccountRegistration

func GetOrganizationAdminAccountRegistration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *OrganizationAdminAccountRegistrationState, opts ...pulumi.ResourceOption) (*OrganizationAdminAccountRegistration, error)

GetOrganizationAdminAccountRegistration gets an existing OrganizationAdminAccountRegistration resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewOrganizationAdminAccountRegistration

func NewOrganizationAdminAccountRegistration(ctx *pulumi.Context,
	name string, args *OrganizationAdminAccountRegistrationArgs, opts ...pulumi.ResourceOption) (*OrganizationAdminAccountRegistration, error)

NewOrganizationAdminAccountRegistration registers a new resource with the given unique name, arguments, and options.

func (*OrganizationAdminAccountRegistration) ElementType

func (*OrganizationAdminAccountRegistration) ToOrganizationAdminAccountRegistrationOutput

func (i *OrganizationAdminAccountRegistration) ToOrganizationAdminAccountRegistrationOutput() OrganizationAdminAccountRegistrationOutput

func (*OrganizationAdminAccountRegistration) ToOrganizationAdminAccountRegistrationOutputWithContext

func (i *OrganizationAdminAccountRegistration) ToOrganizationAdminAccountRegistrationOutputWithContext(ctx context.Context) OrganizationAdminAccountRegistrationOutput

type OrganizationAdminAccountRegistrationArgs

type OrganizationAdminAccountRegistrationArgs struct {
	// Identifier for the organization administrator account.
	AdminAccountId pulumi.StringInput
}

The set of arguments for constructing a OrganizationAdminAccountRegistration resource.

func (OrganizationAdminAccountRegistrationArgs) ElementType

type OrganizationAdminAccountRegistrationArray

type OrganizationAdminAccountRegistrationArray []OrganizationAdminAccountRegistrationInput

func (OrganizationAdminAccountRegistrationArray) ElementType

func (OrganizationAdminAccountRegistrationArray) ToOrganizationAdminAccountRegistrationArrayOutput

func (i OrganizationAdminAccountRegistrationArray) ToOrganizationAdminAccountRegistrationArrayOutput() OrganizationAdminAccountRegistrationArrayOutput

func (OrganizationAdminAccountRegistrationArray) ToOrganizationAdminAccountRegistrationArrayOutputWithContext

func (i OrganizationAdminAccountRegistrationArray) ToOrganizationAdminAccountRegistrationArrayOutputWithContext(ctx context.Context) OrganizationAdminAccountRegistrationArrayOutput

type OrganizationAdminAccountRegistrationArrayInput

type OrganizationAdminAccountRegistrationArrayInput interface {
	pulumi.Input

	ToOrganizationAdminAccountRegistrationArrayOutput() OrganizationAdminAccountRegistrationArrayOutput
	ToOrganizationAdminAccountRegistrationArrayOutputWithContext(context.Context) OrganizationAdminAccountRegistrationArrayOutput
}

OrganizationAdminAccountRegistrationArrayInput is an input type that accepts OrganizationAdminAccountRegistrationArray and OrganizationAdminAccountRegistrationArrayOutput values. You can construct a concrete instance of `OrganizationAdminAccountRegistrationArrayInput` via:

OrganizationAdminAccountRegistrationArray{ OrganizationAdminAccountRegistrationArgs{...} }

type OrganizationAdminAccountRegistrationArrayOutput

type OrganizationAdminAccountRegistrationArrayOutput struct{ *pulumi.OutputState }

func (OrganizationAdminAccountRegistrationArrayOutput) ElementType

func (OrganizationAdminAccountRegistrationArrayOutput) Index

func (OrganizationAdminAccountRegistrationArrayOutput) ToOrganizationAdminAccountRegistrationArrayOutput

func (o OrganizationAdminAccountRegistrationArrayOutput) ToOrganizationAdminAccountRegistrationArrayOutput() OrganizationAdminAccountRegistrationArrayOutput

func (OrganizationAdminAccountRegistrationArrayOutput) ToOrganizationAdminAccountRegistrationArrayOutputWithContext

func (o OrganizationAdminAccountRegistrationArrayOutput) ToOrganizationAdminAccountRegistrationArrayOutputWithContext(ctx context.Context) OrganizationAdminAccountRegistrationArrayOutput

type OrganizationAdminAccountRegistrationInput

type OrganizationAdminAccountRegistrationInput interface {
	pulumi.Input

	ToOrganizationAdminAccountRegistrationOutput() OrganizationAdminAccountRegistrationOutput
	ToOrganizationAdminAccountRegistrationOutputWithContext(ctx context.Context) OrganizationAdminAccountRegistrationOutput
}

type OrganizationAdminAccountRegistrationMap

type OrganizationAdminAccountRegistrationMap map[string]OrganizationAdminAccountRegistrationInput

func (OrganizationAdminAccountRegistrationMap) ElementType

func (OrganizationAdminAccountRegistrationMap) ToOrganizationAdminAccountRegistrationMapOutput

func (i OrganizationAdminAccountRegistrationMap) ToOrganizationAdminAccountRegistrationMapOutput() OrganizationAdminAccountRegistrationMapOutput

func (OrganizationAdminAccountRegistrationMap) ToOrganizationAdminAccountRegistrationMapOutputWithContext

func (i OrganizationAdminAccountRegistrationMap) ToOrganizationAdminAccountRegistrationMapOutputWithContext(ctx context.Context) OrganizationAdminAccountRegistrationMapOutput

type OrganizationAdminAccountRegistrationMapInput

type OrganizationAdminAccountRegistrationMapInput interface {
	pulumi.Input

	ToOrganizationAdminAccountRegistrationMapOutput() OrganizationAdminAccountRegistrationMapOutput
	ToOrganizationAdminAccountRegistrationMapOutputWithContext(context.Context) OrganizationAdminAccountRegistrationMapOutput
}

OrganizationAdminAccountRegistrationMapInput is an input type that accepts OrganizationAdminAccountRegistrationMap and OrganizationAdminAccountRegistrationMapOutput values. You can construct a concrete instance of `OrganizationAdminAccountRegistrationMapInput` via:

OrganizationAdminAccountRegistrationMap{ "key": OrganizationAdminAccountRegistrationArgs{...} }

type OrganizationAdminAccountRegistrationMapOutput

type OrganizationAdminAccountRegistrationMapOutput struct{ *pulumi.OutputState }

func (OrganizationAdminAccountRegistrationMapOutput) ElementType

func (OrganizationAdminAccountRegistrationMapOutput) MapIndex

func (OrganizationAdminAccountRegistrationMapOutput) ToOrganizationAdminAccountRegistrationMapOutput

func (o OrganizationAdminAccountRegistrationMapOutput) ToOrganizationAdminAccountRegistrationMapOutput() OrganizationAdminAccountRegistrationMapOutput

func (OrganizationAdminAccountRegistrationMapOutput) ToOrganizationAdminAccountRegistrationMapOutputWithContext

func (o OrganizationAdminAccountRegistrationMapOutput) ToOrganizationAdminAccountRegistrationMapOutputWithContext(ctx context.Context) OrganizationAdminAccountRegistrationMapOutput

type OrganizationAdminAccountRegistrationOutput

type OrganizationAdminAccountRegistrationOutput struct{ *pulumi.OutputState }

func (OrganizationAdminAccountRegistrationOutput) AdminAccountId

Identifier for the organization administrator account.

func (OrganizationAdminAccountRegistrationOutput) ElementType

func (OrganizationAdminAccountRegistrationOutput) OrganizationId

Identifier for the organization.

func (OrganizationAdminAccountRegistrationOutput) ToOrganizationAdminAccountRegistrationOutput

func (o OrganizationAdminAccountRegistrationOutput) ToOrganizationAdminAccountRegistrationOutput() OrganizationAdminAccountRegistrationOutput

func (OrganizationAdminAccountRegistrationOutput) ToOrganizationAdminAccountRegistrationOutputWithContext

func (o OrganizationAdminAccountRegistrationOutput) ToOrganizationAdminAccountRegistrationOutputWithContext(ctx context.Context) OrganizationAdminAccountRegistrationOutput

type OrganizationAdminAccountRegistrationState

type OrganizationAdminAccountRegistrationState struct {
	// Identifier for the organization administrator account.
	AdminAccountId pulumi.StringPtrInput
	// Identifier for the organization.
	OrganizationId pulumi.StringPtrInput
}

func (OrganizationAdminAccountRegistrationState) ElementType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL