Skip to content

Create Data Protection Settings

workspacesweb_create_data_protection_settings R Documentation

Creates a data protection settings resource that can be associated with a web portal

Description

Creates a data protection settings resource that can be associated with a web portal.

Usage

workspacesweb_create_data_protection_settings(
  additionalEncryptionContext, clientToken, customerManagedKey,
  description, displayName, inlineRedactionConfiguration, tags)

Arguments

additionalEncryptionContext

Additional encryption context of the data protection settings.

clientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

customerManagedKey

The custom managed key of the data protection settings.

description

The description of the data protection settings.

displayName

The display name of the data protection settings.

inlineRedactionConfiguration

The inline redaction configuration of the data protection settings that will be applied to all sessions.

tags

The tags to add to the data protection settings resource. A tag is a key-value pair.

Value

A list with the following syntax:

list(
  dataProtectionSettingsArn = "string"
)

Request syntax

svc$create_data_protection_settings(
  additionalEncryptionContext = list(
    "string"
  ),
  clientToken = "string",
  customerManagedKey = "string",
  description = "string",
  displayName = "string",
  inlineRedactionConfiguration = list(
    globalConfidenceLevel = 123,
    globalEnforcedUrls = list(
      "string"
    ),
    globalExemptUrls = list(
      "string"
    ),
    inlineRedactionPatterns = list(
      list(
        builtInPatternId = "string",
        confidenceLevel = 123,
        customPattern = list(
          keywordRegex = "string",
          patternDescription = "string",
          patternName = "string",
          patternRegex = "string"
        ),
        enforcedUrls = list(
          "string"
        ),
        exemptUrls = list(
          "string"
        ),
        redactionPlaceHolder = list(
          redactionPlaceHolderText = "string",
          redactionPlaceHolderType = "CustomText"
        )
      )
    )
  ),
  tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)