detective

package
v5.43.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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 Graph

type Graph struct {
	pulumi.CustomResourceState

	// Date and time, in UTC and extended RFC 3339 format, when the Amazon Detective Graph was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// ARN of the Detective Graph.
	GraphArn pulumi.StringOutput `pulumi:"graphArn"`
	// A map of tags to assign to the instance. 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"`
}

Provides a resource to manage an [AWS Detective Graph](https://docs.aws.amazon.com/detective/latest/APIReference/API_CreateGraph.html). As an AWS account may own only one Detective graph per region, provisioning multiple Detective graphs requires a separate provider configuration for each graph.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/detective"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := detective.NewGraph(ctx, "example", &detective.GraphArgs{
			Tags: pulumi.StringMap{
				"Name": pulumi.String("example-detective-graph"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_detective_graph` can be imported using the ARN, e.g.

```sh

$ pulumi import aws:detective/graph:Graph example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d

```

func GetGraph

func GetGraph(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GraphState, opts ...pulumi.ResourceOption) (*Graph, error)

GetGraph gets an existing Graph 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 NewGraph

func NewGraph(ctx *pulumi.Context,
	name string, args *GraphArgs, opts ...pulumi.ResourceOption) (*Graph, error)

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

func (*Graph) ElementType

func (*Graph) ElementType() reflect.Type

func (*Graph) ToGraphOutput

func (i *Graph) ToGraphOutput() GraphOutput

func (*Graph) ToGraphOutputWithContext

func (i *Graph) ToGraphOutputWithContext(ctx context.Context) GraphOutput

type GraphArgs

type GraphArgs struct {
	// A map of tags to assign to the instance. 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 Graph resource.

func (GraphArgs) ElementType

func (GraphArgs) ElementType() reflect.Type

type GraphArray

type GraphArray []GraphInput

func (GraphArray) ElementType

func (GraphArray) ElementType() reflect.Type

func (GraphArray) ToGraphArrayOutput

func (i GraphArray) ToGraphArrayOutput() GraphArrayOutput

func (GraphArray) ToGraphArrayOutputWithContext

func (i GraphArray) ToGraphArrayOutputWithContext(ctx context.Context) GraphArrayOutput

type GraphArrayInput

type GraphArrayInput interface {
	pulumi.Input

	ToGraphArrayOutput() GraphArrayOutput
	ToGraphArrayOutputWithContext(context.Context) GraphArrayOutput
}

GraphArrayInput is an input type that accepts GraphArray and GraphArrayOutput values. You can construct a concrete instance of `GraphArrayInput` via:

GraphArray{ GraphArgs{...} }

type GraphArrayOutput

type GraphArrayOutput struct{ *pulumi.OutputState }

func (GraphArrayOutput) ElementType

func (GraphArrayOutput) ElementType() reflect.Type

func (GraphArrayOutput) Index

func (GraphArrayOutput) ToGraphArrayOutput

func (o GraphArrayOutput) ToGraphArrayOutput() GraphArrayOutput

func (GraphArrayOutput) ToGraphArrayOutputWithContext

func (o GraphArrayOutput) ToGraphArrayOutputWithContext(ctx context.Context) GraphArrayOutput

type GraphInput

type GraphInput interface {
	pulumi.Input

	ToGraphOutput() GraphOutput
	ToGraphOutputWithContext(ctx context.Context) GraphOutput
}

type GraphMap

type GraphMap map[string]GraphInput

func (GraphMap) ElementType

func (GraphMap) ElementType() reflect.Type

func (GraphMap) ToGraphMapOutput

func (i GraphMap) ToGraphMapOutput() GraphMapOutput

func (GraphMap) ToGraphMapOutputWithContext

func (i GraphMap) ToGraphMapOutputWithContext(ctx context.Context) GraphMapOutput

type GraphMapInput

type GraphMapInput interface {
	pulumi.Input

	ToGraphMapOutput() GraphMapOutput
	ToGraphMapOutputWithContext(context.Context) GraphMapOutput
}

GraphMapInput is an input type that accepts GraphMap and GraphMapOutput values. You can construct a concrete instance of `GraphMapInput` via:

GraphMap{ "key": GraphArgs{...} }

type GraphMapOutput

type GraphMapOutput struct{ *pulumi.OutputState }

func (GraphMapOutput) ElementType

func (GraphMapOutput) ElementType() reflect.Type

func (GraphMapOutput) MapIndex

func (GraphMapOutput) ToGraphMapOutput

func (o GraphMapOutput) ToGraphMapOutput() GraphMapOutput

func (GraphMapOutput) ToGraphMapOutputWithContext

func (o GraphMapOutput) ToGraphMapOutputWithContext(ctx context.Context) GraphMapOutput

type GraphOutput

type GraphOutput struct{ *pulumi.OutputState }

func (GraphOutput) CreatedTime added in v5.4.0

func (o GraphOutput) CreatedTime() pulumi.StringOutput

Date and time, in UTC and extended RFC 3339 format, when the Amazon Detective Graph was created.

func (GraphOutput) ElementType

func (GraphOutput) ElementType() reflect.Type

func (GraphOutput) GraphArn added in v5.4.0

func (o GraphOutput) GraphArn() pulumi.StringOutput

ARN of the Detective Graph.

func (GraphOutput) Tags added in v5.4.0

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

func (GraphOutput) TagsAll added in v5.4.0

func (o GraphOutput) TagsAll() pulumi.StringMapOutput

func (GraphOutput) ToGraphOutput

func (o GraphOutput) ToGraphOutput() GraphOutput

func (GraphOutput) ToGraphOutputWithContext

func (o GraphOutput) ToGraphOutputWithContext(ctx context.Context) GraphOutput

type GraphState

type GraphState struct {
	// Date and time, in UTC and extended RFC 3339 format, when the Amazon Detective Graph was created.
	CreatedTime pulumi.StringPtrInput
	// ARN of the Detective Graph.
	GraphArn pulumi.StringPtrInput
	// A map of tags to assign to the instance. 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 (GraphState) ElementType

func (GraphState) ElementType() reflect.Type

type InvitationAccepter

type InvitationAccepter struct {
	pulumi.CustomResourceState

	// ARN of the behavior graph that the member account is accepting the invitation for.
	GraphArn pulumi.StringOutput `pulumi:"graphArn"`
}

Provides a resource to manage an [Amazon Detective Invitation Accepter](https://docs.aws.amazon.com/detective/latest/APIReference/API_AcceptInvitation.html). Ensure that the accepter is configured to use the AWS account you wish to _accept_ the invitation from the primary graph owner account.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/detective"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		primaryGraph, err := detective.NewGraph(ctx, "primaryGraph", nil)
		if err != nil {
			return err
		}
		primaryMember, err := detective.NewMember(ctx, "primaryMember", &detective.MemberArgs{
			AccountId:    pulumi.String("ACCOUNT ID"),
			EmailAddress: pulumi.String("EMAIL"),
			GraphArn:     primaryGraph.ID(),
			Message:      pulumi.String("Message of the invite"),
		})
		if err != nil {
			return err
		}
		_, err = detective.NewInvitationAccepter(ctx, "member", &detective.InvitationAccepterArgs{
			GraphArn: primaryGraph.GraphArn,
		}, pulumi.Provider("awsalternate"), pulumi.DependsOn([]pulumi.Resource{
			primaryMember,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_detective_invitation_accepter` can be imported using the graph ARN, e.g.

```sh

$ pulumi import aws:detective/invitationAccepter:InvitationAccepter example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d

```

func GetInvitationAccepter

func GetInvitationAccepter(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InvitationAccepterState, opts ...pulumi.ResourceOption) (*InvitationAccepter, error)

GetInvitationAccepter gets an existing InvitationAccepter 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 NewInvitationAccepter

func NewInvitationAccepter(ctx *pulumi.Context,
	name string, args *InvitationAccepterArgs, opts ...pulumi.ResourceOption) (*InvitationAccepter, error)

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

func (*InvitationAccepter) ElementType

func (*InvitationAccepter) ElementType() reflect.Type

func (*InvitationAccepter) ToInvitationAccepterOutput

func (i *InvitationAccepter) ToInvitationAccepterOutput() InvitationAccepterOutput

func (*InvitationAccepter) ToInvitationAccepterOutputWithContext

func (i *InvitationAccepter) ToInvitationAccepterOutputWithContext(ctx context.Context) InvitationAccepterOutput

type InvitationAccepterArgs

type InvitationAccepterArgs struct {
	// ARN of the behavior graph that the member account is accepting the invitation for.
	GraphArn pulumi.StringInput
}

The set of arguments for constructing a InvitationAccepter resource.

func (InvitationAccepterArgs) ElementType

func (InvitationAccepterArgs) ElementType() reflect.Type

type InvitationAccepterArray

type InvitationAccepterArray []InvitationAccepterInput

func (InvitationAccepterArray) ElementType

func (InvitationAccepterArray) ElementType() reflect.Type

func (InvitationAccepterArray) ToInvitationAccepterArrayOutput

func (i InvitationAccepterArray) ToInvitationAccepterArrayOutput() InvitationAccepterArrayOutput

func (InvitationAccepterArray) ToInvitationAccepterArrayOutputWithContext

func (i InvitationAccepterArray) ToInvitationAccepterArrayOutputWithContext(ctx context.Context) InvitationAccepterArrayOutput

type InvitationAccepterArrayInput

type InvitationAccepterArrayInput interface {
	pulumi.Input

	ToInvitationAccepterArrayOutput() InvitationAccepterArrayOutput
	ToInvitationAccepterArrayOutputWithContext(context.Context) InvitationAccepterArrayOutput
}

InvitationAccepterArrayInput is an input type that accepts InvitationAccepterArray and InvitationAccepterArrayOutput values. You can construct a concrete instance of `InvitationAccepterArrayInput` via:

InvitationAccepterArray{ InvitationAccepterArgs{...} }

type InvitationAccepterArrayOutput

type InvitationAccepterArrayOutput struct{ *pulumi.OutputState }

func (InvitationAccepterArrayOutput) ElementType

func (InvitationAccepterArrayOutput) Index

func (InvitationAccepterArrayOutput) ToInvitationAccepterArrayOutput

func (o InvitationAccepterArrayOutput) ToInvitationAccepterArrayOutput() InvitationAccepterArrayOutput

func (InvitationAccepterArrayOutput) ToInvitationAccepterArrayOutputWithContext

func (o InvitationAccepterArrayOutput) ToInvitationAccepterArrayOutputWithContext(ctx context.Context) InvitationAccepterArrayOutput

type InvitationAccepterInput

type InvitationAccepterInput interface {
	pulumi.Input

	ToInvitationAccepterOutput() InvitationAccepterOutput
	ToInvitationAccepterOutputWithContext(ctx context.Context) InvitationAccepterOutput
}

type InvitationAccepterMap

type InvitationAccepterMap map[string]InvitationAccepterInput

func (InvitationAccepterMap) ElementType

func (InvitationAccepterMap) ElementType() reflect.Type

func (InvitationAccepterMap) ToInvitationAccepterMapOutput

func (i InvitationAccepterMap) ToInvitationAccepterMapOutput() InvitationAccepterMapOutput

func (InvitationAccepterMap) ToInvitationAccepterMapOutputWithContext

func (i InvitationAccepterMap) ToInvitationAccepterMapOutputWithContext(ctx context.Context) InvitationAccepterMapOutput

type InvitationAccepterMapInput

type InvitationAccepterMapInput interface {
	pulumi.Input

	ToInvitationAccepterMapOutput() InvitationAccepterMapOutput
	ToInvitationAccepterMapOutputWithContext(context.Context) InvitationAccepterMapOutput
}

InvitationAccepterMapInput is an input type that accepts InvitationAccepterMap and InvitationAccepterMapOutput values. You can construct a concrete instance of `InvitationAccepterMapInput` via:

InvitationAccepterMap{ "key": InvitationAccepterArgs{...} }

type InvitationAccepterMapOutput

type InvitationAccepterMapOutput struct{ *pulumi.OutputState }

func (InvitationAccepterMapOutput) ElementType

func (InvitationAccepterMapOutput) MapIndex

func (InvitationAccepterMapOutput) ToInvitationAccepterMapOutput

func (o InvitationAccepterMapOutput) ToInvitationAccepterMapOutput() InvitationAccepterMapOutput

func (InvitationAccepterMapOutput) ToInvitationAccepterMapOutputWithContext

func (o InvitationAccepterMapOutput) ToInvitationAccepterMapOutputWithContext(ctx context.Context) InvitationAccepterMapOutput

type InvitationAccepterOutput

type InvitationAccepterOutput struct{ *pulumi.OutputState }

func (InvitationAccepterOutput) ElementType

func (InvitationAccepterOutput) ElementType() reflect.Type

func (InvitationAccepterOutput) GraphArn added in v5.4.0

ARN of the behavior graph that the member account is accepting the invitation for.

func (InvitationAccepterOutput) ToInvitationAccepterOutput

func (o InvitationAccepterOutput) ToInvitationAccepterOutput() InvitationAccepterOutput

func (InvitationAccepterOutput) ToInvitationAccepterOutputWithContext

func (o InvitationAccepterOutput) ToInvitationAccepterOutputWithContext(ctx context.Context) InvitationAccepterOutput

type InvitationAccepterState

type InvitationAccepterState struct {
	// ARN of the behavior graph that the member account is accepting the invitation for.
	GraphArn pulumi.StringPtrInput
}

func (InvitationAccepterState) ElementType

func (InvitationAccepterState) ElementType() reflect.Type

type Member

type Member struct {
	pulumi.CustomResourceState

	// AWS account ID for the account.
	AccountId pulumi.StringOutput `pulumi:"accountId"`
	// AWS account ID for the administrator account.
	AdministratorId pulumi.StringOutput `pulumi:"administratorId"`
	// If set to true, then the root user of the invited account will _not_ receive an email notification. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. By default, this is set to `false`.
	DisableEmailNotification pulumi.BoolPtrOutput `pulumi:"disableEmailNotification"`
	DisabledReason           pulumi.StringOutput  `pulumi:"disabledReason"`
	// Email address for the account.
	EmailAddress pulumi.StringOutput `pulumi:"emailAddress"`
	// ARN of the behavior graph to invite the member accounts to contribute their data to.
	GraphArn pulumi.StringOutput `pulumi:"graphArn"`
	// Date and time, in UTC and extended RFC 3339 format, when an Amazon Detective membership invitation was last sent to the account.
	InvitedTime pulumi.StringOutput `pulumi:"invitedTime"`
	// A custom message to include in the invitation. Amazon Detective adds this message to the standard content that it sends for an invitation.
	Message pulumi.StringPtrOutput `pulumi:"message"`
	// Current membership status of the member account.
	Status pulumi.StringOutput `pulumi:"status"`
	// Date and time, in UTC and extended RFC 3339 format, of the most recent change to the member account's status.
	UpdatedTime pulumi.StringOutput `pulumi:"updatedTime"`
	// Data volume in bytes per day for the member account.
	VolumeUsageInBytes pulumi.StringOutput `pulumi:"volumeUsageInBytes"`
}

Provides a resource to manage an [Amazon Detective Member](https://docs.aws.amazon.com/detective/latest/APIReference/API_CreateMembers.html).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/detective"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleGraph, err := detective.NewGraph(ctx, "exampleGraph", nil)
		if err != nil {
			return err
		}
		_, err = detective.NewMember(ctx, "exampleMember", &detective.MemberArgs{
			AccountId:                pulumi.String("AWS ACCOUNT ID"),
			EmailAddress:             pulumi.String("EMAIL"),
			GraphArn:                 exampleGraph.ID(),
			Message:                  pulumi.String("Message of the invitation"),
			DisableEmailNotification: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

`aws_detective_member` can be imported using the ARN of the graph followed by the account ID of the member account, e.g.

```sh

$ pulumi import aws:detective/member:Member example arn:aws:detective:us-east-1:123456789101:graph:231684d34gh74g4bae1dbc7bd807d02d/123456789012

```

func GetMember

func GetMember(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MemberState, opts ...pulumi.ResourceOption) (*Member, error)

GetMember gets an existing Member 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 NewMember

func NewMember(ctx *pulumi.Context,
	name string, args *MemberArgs, opts ...pulumi.ResourceOption) (*Member, error)

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

func (*Member) ElementType

func (*Member) ElementType() reflect.Type

func (*Member) ToMemberOutput

func (i *Member) ToMemberOutput() MemberOutput

func (*Member) ToMemberOutputWithContext

func (i *Member) ToMemberOutputWithContext(ctx context.Context) MemberOutput

type MemberArgs

type MemberArgs struct {
	// AWS account ID for the account.
	AccountId pulumi.StringInput
	// If set to true, then the root user of the invited account will _not_ receive an email notification. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. By default, this is set to `false`.
	DisableEmailNotification pulumi.BoolPtrInput
	// Email address for the account.
	EmailAddress pulumi.StringInput
	// ARN of the behavior graph to invite the member accounts to contribute their data to.
	GraphArn pulumi.StringInput
	// A custom message to include in the invitation. Amazon Detective adds this message to the standard content that it sends for an invitation.
	Message pulumi.StringPtrInput
}

The set of arguments for constructing a Member resource.

func (MemberArgs) ElementType

func (MemberArgs) ElementType() reflect.Type

type MemberArray

type MemberArray []MemberInput

func (MemberArray) ElementType

func (MemberArray) ElementType() reflect.Type

func (MemberArray) ToMemberArrayOutput

func (i MemberArray) ToMemberArrayOutput() MemberArrayOutput

func (MemberArray) ToMemberArrayOutputWithContext

func (i MemberArray) ToMemberArrayOutputWithContext(ctx context.Context) MemberArrayOutput

type MemberArrayInput

type MemberArrayInput interface {
	pulumi.Input

	ToMemberArrayOutput() MemberArrayOutput
	ToMemberArrayOutputWithContext(context.Context) MemberArrayOutput
}

MemberArrayInput is an input type that accepts MemberArray and MemberArrayOutput values. You can construct a concrete instance of `MemberArrayInput` via:

MemberArray{ MemberArgs{...} }

type MemberArrayOutput

type MemberArrayOutput struct{ *pulumi.OutputState }

func (MemberArrayOutput) ElementType

func (MemberArrayOutput) ElementType() reflect.Type

func (MemberArrayOutput) Index

func (MemberArrayOutput) ToMemberArrayOutput

func (o MemberArrayOutput) ToMemberArrayOutput() MemberArrayOutput

func (MemberArrayOutput) ToMemberArrayOutputWithContext

func (o MemberArrayOutput) ToMemberArrayOutputWithContext(ctx context.Context) MemberArrayOutput

type MemberInput

type MemberInput interface {
	pulumi.Input

	ToMemberOutput() MemberOutput
	ToMemberOutputWithContext(ctx context.Context) MemberOutput
}

type MemberMap

type MemberMap map[string]MemberInput

func (MemberMap) ElementType

func (MemberMap) ElementType() reflect.Type

func (MemberMap) ToMemberMapOutput

func (i MemberMap) ToMemberMapOutput() MemberMapOutput

func (MemberMap) ToMemberMapOutputWithContext

func (i MemberMap) ToMemberMapOutputWithContext(ctx context.Context) MemberMapOutput

type MemberMapInput

type MemberMapInput interface {
	pulumi.Input

	ToMemberMapOutput() MemberMapOutput
	ToMemberMapOutputWithContext(context.Context) MemberMapOutput
}

MemberMapInput is an input type that accepts MemberMap and MemberMapOutput values. You can construct a concrete instance of `MemberMapInput` via:

MemberMap{ "key": MemberArgs{...} }

type MemberMapOutput

type MemberMapOutput struct{ *pulumi.OutputState }

func (MemberMapOutput) ElementType

func (MemberMapOutput) ElementType() reflect.Type

func (MemberMapOutput) MapIndex

func (MemberMapOutput) ToMemberMapOutput

func (o MemberMapOutput) ToMemberMapOutput() MemberMapOutput

func (MemberMapOutput) ToMemberMapOutputWithContext

func (o MemberMapOutput) ToMemberMapOutputWithContext(ctx context.Context) MemberMapOutput

type MemberOutput

type MemberOutput struct{ *pulumi.OutputState }

func (MemberOutput) AccountId added in v5.4.0

func (o MemberOutput) AccountId() pulumi.StringOutput

AWS account ID for the account.

func (MemberOutput) AdministratorId added in v5.4.0

func (o MemberOutput) AdministratorId() pulumi.StringOutput

AWS account ID for the administrator account.

func (MemberOutput) DisableEmailNotification added in v5.4.0

func (o MemberOutput) DisableEmailNotification() pulumi.BoolPtrOutput

If set to true, then the root user of the invited account will _not_ receive an email notification. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. By default, this is set to `false`.

func (MemberOutput) DisabledReason added in v5.4.0

func (o MemberOutput) DisabledReason() pulumi.StringOutput

func (MemberOutput) ElementType

func (MemberOutput) ElementType() reflect.Type

func (MemberOutput) EmailAddress added in v5.4.0

func (o MemberOutput) EmailAddress() pulumi.StringOutput

Email address for the account.

func (MemberOutput) GraphArn added in v5.4.0

func (o MemberOutput) GraphArn() pulumi.StringOutput

ARN of the behavior graph to invite the member accounts to contribute their data to.

func (MemberOutput) InvitedTime added in v5.4.0

func (o MemberOutput) InvitedTime() pulumi.StringOutput

Date and time, in UTC and extended RFC 3339 format, when an Amazon Detective membership invitation was last sent to the account.

func (MemberOutput) Message added in v5.4.0

func (o MemberOutput) Message() pulumi.StringPtrOutput

A custom message to include in the invitation. Amazon Detective adds this message to the standard content that it sends for an invitation.

func (MemberOutput) Status added in v5.4.0

func (o MemberOutput) Status() pulumi.StringOutput

Current membership status of the member account.

func (MemberOutput) ToMemberOutput

func (o MemberOutput) ToMemberOutput() MemberOutput

func (MemberOutput) ToMemberOutputWithContext

func (o MemberOutput) ToMemberOutputWithContext(ctx context.Context) MemberOutput

func (MemberOutput) UpdatedTime added in v5.4.0

func (o MemberOutput) UpdatedTime() pulumi.StringOutput

Date and time, in UTC and extended RFC 3339 format, of the most recent change to the member account's status.

func (MemberOutput) VolumeUsageInBytes added in v5.4.0

func (o MemberOutput) VolumeUsageInBytes() pulumi.StringOutput

Data volume in bytes per day for the member account.

type MemberState

type MemberState struct {
	// AWS account ID for the account.
	AccountId pulumi.StringPtrInput
	// AWS account ID for the administrator account.
	AdministratorId pulumi.StringPtrInput
	// If set to true, then the root user of the invited account will _not_ receive an email notification. This notification is in addition to an alert that the root user receives in AWS Personal Health Dashboard. By default, this is set to `false`.
	DisableEmailNotification pulumi.BoolPtrInput
	DisabledReason           pulumi.StringPtrInput
	// Email address for the account.
	EmailAddress pulumi.StringPtrInput
	// ARN of the behavior graph to invite the member accounts to contribute their data to.
	GraphArn pulumi.StringPtrInput
	// Date and time, in UTC and extended RFC 3339 format, when an Amazon Detective membership invitation was last sent to the account.
	InvitedTime pulumi.StringPtrInput
	// A custom message to include in the invitation. Amazon Detective adds this message to the standard content that it sends for an invitation.
	Message pulumi.StringPtrInput
	// Current membership status of the member account.
	Status pulumi.StringPtrInput
	// Date and time, in UTC and extended RFC 3339 format, of the most recent change to the member account's status.
	UpdatedTime pulumi.StringPtrInput
	// Data volume in bytes per day for the member account.
	VolumeUsageInBytes pulumi.StringPtrInput
}

func (MemberState) ElementType

func (MemberState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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