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(displayName, description,
  tags, customerManagedKey, additionalEncryptionContext,
  inlineRedactionConfiguration, clientToken)

Arguments

displayName

The display name of the data protection settings.

description

The description of the data protection settings.

tags

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

customerManagedKey

The custom managed key of the data protection settings.

additionalEncryptionContext

Additional encryption context of the data protection settings.

inlineRedactionConfiguration

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

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.

Value

A list with the following syntax:

list(
  dataProtectionSettingsArn = "string"
)

Request syntax

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