Fork me on GitHub

Module macie

@pulumi/aws > macie

Index

macie/memberAccountAssociation.ts macie/s3BucketAssociation.ts

class MemberAccountAssociation

Associates an AWS account with Amazon Macie as a member account.

~> NOTE: Before using Amazon Macie for the first time it must be enabled manually. Instructions are here.

constructor

new MemberAccountAssociation(name: string, args: MemberAccountAssociationArgs, opts?: pulumi.CustomResourceOptions)

Create a MemberAccountAssociation resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MemberAccountAssociationState): MemberAccountAssociation

Get an existing MemberAccountAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property memberAccountId

public memberAccountId: pulumi.Output<string>;

The ID of the AWS account that you want to associate with Amazon Macie as a member account.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class S3BucketAssociation

Associates an S3 resource with Amazon Macie for monitoring and data classification.

~> NOTE: Before using Amazon Macie for the first time it must be enabled manually. Instructions are here.

constructor

new S3BucketAssociation(name: string, args: S3BucketAssociationArgs, opts?: pulumi.CustomResourceOptions)

Create a S3BucketAssociation resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: S3BucketAssociationState): S3BucketAssociation

Get an existing S3BucketAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property bucketName

public bucketName: pulumi.Output<string>;

The name of the S3 bucket that you want to associate with Amazon Macie.

property classificationType

public classificationType: pulumi.Output<{ ... }>;

The configuration of how Amazon Macie classifies the S3 objects.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property memberAccountId

public memberAccountId: pulumi.Output<string | undefined>;

The ID of the Amazon Macie member account whose S3 resources you want to associate with Macie. If member_account_id isn’t specified, the action associates specified S3 resources with Macie for the current master account.

property prefix

public prefix: pulumi.Output<string | undefined>;

Object key prefix identifying one or more S3 objects to which the association applies.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface MemberAccountAssociationArgs

The set of arguments for constructing a MemberAccountAssociation resource.

property memberAccountId

memberAccountId: pulumi.Input<string>;

The ID of the AWS account that you want to associate with Amazon Macie as a member account.

interface MemberAccountAssociationState

Input properties used for looking up and filtering MemberAccountAssociation resources.

property memberAccountId

memberAccountId?: pulumi.Input<string>;

The ID of the AWS account that you want to associate with Amazon Macie as a member account.

interface S3BucketAssociationArgs

The set of arguments for constructing a S3BucketAssociation resource.

property bucketName

bucketName: pulumi.Input<string>;

The name of the S3 bucket that you want to associate with Amazon Macie.

property classificationType

classificationType?: pulumi.Input<{ ... }>;

The configuration of how Amazon Macie classifies the S3 objects.

property memberAccountId

memberAccountId?: pulumi.Input<string>;

The ID of the Amazon Macie member account whose S3 resources you want to associate with Macie. If member_account_id isn’t specified, the action associates specified S3 resources with Macie for the current master account.

property prefix

prefix?: pulumi.Input<string>;

Object key prefix identifying one or more S3 objects to which the association applies.

interface S3BucketAssociationState

Input properties used for looking up and filtering S3BucketAssociation resources.

property bucketName

bucketName?: pulumi.Input<string>;

The name of the S3 bucket that you want to associate with Amazon Macie.

property classificationType

classificationType?: pulumi.Input<{ ... }>;

The configuration of how Amazon Macie classifies the S3 objects.

property memberAccountId

memberAccountId?: pulumi.Input<string>;

The ID of the Amazon Macie member account whose S3 resources you want to associate with Macie. If member_account_id isn’t specified, the action associates specified S3 resources with Macie for the current master account.

property prefix

prefix?: pulumi.Input<string>;

Object key prefix identifying one or more S3 objects to which the association applies.