macie

This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.

class pulumi_aws.macie.MemberAccountAssociation(resource_name, opts=None, member_account_id=None, __props__=None, __name__=None, __opts__=None)

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.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • member_account_id (pulumi.Input[str]) – The ID of the AWS account that you want to associate with Amazon Macie as a member account.

member_account_id = None

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

static get(resource_name, id, opts=None, member_account_id=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • member_account_id (pulumi.Input[str]) – The ID of the AWS account that you want to associate with Amazon Macie as a member account.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

class pulumi_aws.macie.S3BucketAssociation(resource_name, opts=None, bucket_name=None, classification_type=None, member_account_id=None, prefix=None, __props__=None, __name__=None, __opts__=None)

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.

Parameters
  • resource_name (str) – The name of the resource.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bucket_name (pulumi.Input[str]) – The name of the S3 bucket that you want to associate with Amazon Macie.

  • classification_type (pulumi.Input[dict]) – The configuration of how Amazon Macie classifies the S3 objects.

  • member_account_id (pulumi.Input[str]) – 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.

  • prefix (pulumi.Input[str]) – Object key prefix identifying one or more S3 objects to which the association applies.

The classification_type object supports the following:

  • continuous (pulumi.Input[str]) - A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket. The only valid value is the default value, FULL.

  • oneTime (pulumi.Input[str]) - A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket. Valid values are NONE and FULL. Defaults to NONE indicating that Macie only classifies objects that are added after the association was created.

bucket_name = None

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

classification_type = None

The configuration of how Amazon Macie classifies the S3 objects.

  • continuous (str) - A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket. The only valid value is the default value, FULL.

  • oneTime (str) - A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket. Valid values are NONE and FULL. Defaults to NONE indicating that Macie only classifies objects that are added after the association was created.

member_account_id = None

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.

prefix = None

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

static get(resource_name, id, opts=None, bucket_name=None, classification_type=None, member_account_id=None, prefix=None)

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

Parameters
  • resource_name (str) – The unique name of the resulting resource.

  • id (str) – The unique provider ID of the resource to lookup.

  • opts (pulumi.ResourceOptions) – Options for the resource.

  • bucket_name (pulumi.Input[str]) – The name of the S3 bucket that you want to associate with Amazon Macie.

  • classification_type (pulumi.Input[dict]) – The configuration of how Amazon Macie classifies the S3 objects.

  • member_account_id (pulumi.Input[str]) – 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.

  • prefix (pulumi.Input[str]) – Object key prefix identifying one or more S3 objects to which the association applies.

The classification_type object supports the following:

  • continuous (pulumi.Input[str]) - A string value indicating that Macie perform a one-time classification of all of the existing objects in the bucket. The only valid value is the default value, FULL.

  • oneTime (pulumi.Input[str]) - A string value indicating whether or not Macie performs a one-time classification of all of the existing objects in the bucket. Valid values are NONE and FULL. Defaults to NONE indicating that Macie only classifies objects that are added after the association was created.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str

translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters

prop (str) – A property name.

Returns

A potentially transformed property name.

Return type

str