aws.workspacesweb.DataProtectionSettings
Explore with Pulumi AI
Resource for managing an AWS WorkSpaces Web Data Protection Settings resource. Once associated with a web portal, data protection settings control how sensitive information is redacted in streaming sessions.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.workspacesweb.DataProtectionSettings("example", {displayName: "example"});
import pulumi
import pulumi_aws as aws
example = aws.workspacesweb.DataProtectionSettings("example", display_name="example")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspacesweb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := workspacesweb.NewDataProtectionSettings(ctx, "example", &workspacesweb.DataProtectionSettingsArgs{
DisplayName: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.WorkSpacesWeb.DataProtectionSettings("example", new()
{
DisplayName = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.workspacesweb.DataProtectionSettings;
import com.pulumi.aws.workspacesweb.DataProtectionSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new DataProtectionSettings("example", DataProtectionSettingsArgs.builder()
.displayName("example")
.build());
}
}
resources:
example:
type: aws:workspacesweb:DataProtectionSettings
properties:
displayName: example
With Inline Redaction Configuration
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.workspacesweb.DataProtectionSettings("example", {
displayName: "example",
description: "Example data protection settings",
inlineRedactionConfiguration: {
globalConfidenceLevel: 2,
globalEnforcedUrls: ["https://example.com"],
inlineRedactionPatterns: [{
builtInPatternId: "ssn",
confidenceLevel: 3,
redactionPlaceHolders: [{
redactionPlaceHolderType: "CustomText",
redactionPlaceHolderText: "REDACTED",
}],
}],
},
});
import pulumi
import pulumi_aws as aws
example = aws.workspacesweb.DataProtectionSettings("example",
display_name="example",
description="Example data protection settings",
inline_redaction_configuration={
"global_confidence_level": 2,
"global_enforced_urls": ["https://example.com"],
"inline_redaction_patterns": [{
"built_in_pattern_id": "ssn",
"confidence_level": 3,
"redaction_place_holders": [{
"redaction_place_holder_type": "CustomText",
"redaction_place_holder_text": "REDACTED",
}],
}],
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspacesweb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := workspacesweb.NewDataProtectionSettings(ctx, "example", &workspacesweb.DataProtectionSettingsArgs{
DisplayName: pulumi.String("example"),
Description: pulumi.String("Example data protection settings"),
InlineRedactionConfiguration: &workspacesweb.DataProtectionSettingsInlineRedactionConfigurationArgs{
GlobalConfidenceLevel: pulumi.Int(2),
GlobalEnforcedUrls: pulumi.StringArray{
pulumi.String("https://example.com"),
},
InlineRedactionPatterns: workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArray{
&workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs{
BuiltInPatternId: pulumi.String("ssn"),
ConfidenceLevel: pulumi.Int(3),
RedactionPlaceHolders: workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArray{
&workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs{
RedactionPlaceHolderType: pulumi.String("CustomText"),
RedactionPlaceHolderText: pulumi.String("REDACTED"),
},
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.WorkSpacesWeb.DataProtectionSettings("example", new()
{
DisplayName = "example",
Description = "Example data protection settings",
InlineRedactionConfiguration = new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationArgs
{
GlobalConfidenceLevel = 2,
GlobalEnforcedUrls = new[]
{
"https://example.com",
},
InlineRedactionPatterns = new[]
{
new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs
{
BuiltInPatternId = "ssn",
ConfidenceLevel = 3,
RedactionPlaceHolders = new[]
{
new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs
{
RedactionPlaceHolderType = "CustomText",
RedactionPlaceHolderText = "REDACTED",
},
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.workspacesweb.DataProtectionSettings;
import com.pulumi.aws.workspacesweb.DataProtectionSettingsArgs;
import com.pulumi.aws.workspacesweb.inputs.DataProtectionSettingsInlineRedactionConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new DataProtectionSettings("example", DataProtectionSettingsArgs.builder()
.displayName("example")
.description("Example data protection settings")
.inlineRedactionConfiguration(DataProtectionSettingsInlineRedactionConfigurationArgs.builder()
.globalConfidenceLevel(2)
.globalEnforcedUrls("https://example.com")
.inlineRedactionPatterns(DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs.builder()
.builtInPatternId("ssn")
.confidenceLevel(3)
.redactionPlaceHolders(DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs.builder()
.redactionPlaceHolderType("CustomText")
.redactionPlaceHolderText("REDACTED")
.build())
.build())
.build())
.build());
}
}
resources:
example:
type: aws:workspacesweb:DataProtectionSettings
properties:
displayName: example
description: Example data protection settings
inlineRedactionConfiguration:
globalConfidenceLevel: 2
globalEnforcedUrls:
- https://example.com
inlineRedactionPatterns:
- builtInPatternId: ssn
confidenceLevel: 3
redactionPlaceHolders:
- redactionPlaceHolderType: CustomText
redactionPlaceHolderText: REDACTED
Complete Example
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.kms.Key("example", {
description: "KMS key for WorkSpaces Web Data Protection Settings",
deletionWindowInDays: 7,
});
const exampleDataProtectionSettings = new aws.workspacesweb.DataProtectionSettings("example", {
displayName: "example-complete",
description: "Complete example data protection settings",
customerManagedKey: example.arn,
additionalEncryptionContext: {
Environment: "Production",
},
inlineRedactionConfiguration: {
globalConfidenceLevel: 2,
globalEnforcedUrls: [
"https://example.com",
"https://test.example.com",
],
globalExemptUrls: ["https://exempt.example.com"],
inlineRedactionPatterns: [
{
builtInPatternId: "ssn",
confidenceLevel: 3,
enforcedUrls: ["https://pattern1.example.com"],
exemptUrls: ["https://exempt-pattern1.example.com"],
redactionPlaceHolders: [{
redactionPlaceHolderType: "CustomText",
redactionPlaceHolderText: "REDACTED-SSN",
}],
},
{
customPattern: {
patternName: "CustomPattern",
patternRegex: "/\\d{3}-\\d{2}-\\d{4}/g",
keywordRegex: "/SSN|Social Security/gi",
patternDescription: "Custom SSN pattern",
},
redactionPlaceHolders: [{
redactionPlaceHolderType: "CustomText",
redactionPlaceHolderText: "REDACTED-CUSTOM",
}],
},
],
},
tags: {
Name: "example-data-protection-settings",
},
});
import pulumi
import pulumi_aws as aws
example = aws.kms.Key("example",
description="KMS key for WorkSpaces Web Data Protection Settings",
deletion_window_in_days=7)
example_data_protection_settings = aws.workspacesweb.DataProtectionSettings("example",
display_name="example-complete",
description="Complete example data protection settings",
customer_managed_key=example.arn,
additional_encryption_context={
"Environment": "Production",
},
inline_redaction_configuration={
"global_confidence_level": 2,
"global_enforced_urls": [
"https://example.com",
"https://test.example.com",
],
"global_exempt_urls": ["https://exempt.example.com"],
"inline_redaction_patterns": [
{
"built_in_pattern_id": "ssn",
"confidence_level": 3,
"enforced_urls": ["https://pattern1.example.com"],
"exempt_urls": ["https://exempt-pattern1.example.com"],
"redaction_place_holders": [{
"redaction_place_holder_type": "CustomText",
"redaction_place_holder_text": "REDACTED-SSN",
}],
},
{
"custom_pattern": {
"pattern_name": "CustomPattern",
"pattern_regex": "/\\d{3}-\\d{2}-\\d{4}/g",
"keyword_regex": "/SSN|Social Security/gi",
"pattern_description": "Custom SSN pattern",
},
"redaction_place_holders": [{
"redaction_place_holder_type": "CustomText",
"redaction_place_holder_text": "REDACTED-CUSTOM",
}],
},
],
},
tags={
"Name": "example-data-protection-settings",
})
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kms"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/workspacesweb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := kms.NewKey(ctx, "example", &kms.KeyArgs{
Description: pulumi.String("KMS key for WorkSpaces Web Data Protection Settings"),
DeletionWindowInDays: pulumi.Int(7),
})
if err != nil {
return err
}
_, err = workspacesweb.NewDataProtectionSettings(ctx, "example", &workspacesweb.DataProtectionSettingsArgs{
DisplayName: pulumi.String("example-complete"),
Description: pulumi.String("Complete example data protection settings"),
CustomerManagedKey: example.Arn,
AdditionalEncryptionContext: pulumi.StringMap{
"Environment": pulumi.String("Production"),
},
InlineRedactionConfiguration: &workspacesweb.DataProtectionSettingsInlineRedactionConfigurationArgs{
GlobalConfidenceLevel: pulumi.Int(2),
GlobalEnforcedUrls: pulumi.StringArray{
pulumi.String("https://example.com"),
pulumi.String("https://test.example.com"),
},
GlobalExemptUrls: pulumi.StringArray{
pulumi.String("https://exempt.example.com"),
},
InlineRedactionPatterns: workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArray{
&workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs{
BuiltInPatternId: pulumi.String("ssn"),
ConfidenceLevel: pulumi.Int(3),
EnforcedUrls: pulumi.StringArray{
pulumi.String("https://pattern1.example.com"),
},
ExemptUrls: pulumi.StringArray{
pulumi.String("https://exempt-pattern1.example.com"),
},
RedactionPlaceHolders: workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArray{
&workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs{
RedactionPlaceHolderType: pulumi.String("CustomText"),
RedactionPlaceHolderText: pulumi.String("REDACTED-SSN"),
},
},
},
&workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs{
CustomPattern: &workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternCustomPatternArgs{
PatternName: pulumi.String("CustomPattern"),
PatternRegex: pulumi.String("/\\d{3}-\\d{2}-\\d{4}/g"),
KeywordRegex: pulumi.String("/SSN|Social Security/gi"),
PatternDescription: pulumi.String("Custom SSN pattern"),
},
RedactionPlaceHolders: workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArray{
&workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs{
RedactionPlaceHolderType: pulumi.String("CustomText"),
RedactionPlaceHolderText: pulumi.String("REDACTED-CUSTOM"),
},
},
},
},
},
Tags: pulumi.StringMap{
"Name": pulumi.String("example-data-protection-settings"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Kms.Key("example", new()
{
Description = "KMS key for WorkSpaces Web Data Protection Settings",
DeletionWindowInDays = 7,
});
var exampleDataProtectionSettings = new Aws.WorkSpacesWeb.DataProtectionSettings("example", new()
{
DisplayName = "example-complete",
Description = "Complete example data protection settings",
CustomerManagedKey = example.Arn,
AdditionalEncryptionContext =
{
{ "Environment", "Production" },
},
InlineRedactionConfiguration = new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationArgs
{
GlobalConfidenceLevel = 2,
GlobalEnforcedUrls = new[]
{
"https://example.com",
"https://test.example.com",
},
GlobalExemptUrls = new[]
{
"https://exempt.example.com",
},
InlineRedactionPatterns = new[]
{
new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs
{
BuiltInPatternId = "ssn",
ConfidenceLevel = 3,
EnforcedUrls = new[]
{
"https://pattern1.example.com",
},
ExemptUrls = new[]
{
"https://exempt-pattern1.example.com",
},
RedactionPlaceHolders = new[]
{
new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs
{
RedactionPlaceHolderType = "CustomText",
RedactionPlaceHolderText = "REDACTED-SSN",
},
},
},
new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs
{
CustomPattern = new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternCustomPatternArgs
{
PatternName = "CustomPattern",
PatternRegex = "/\\d{3}-\\d{2}-\\d{4}/g",
KeywordRegex = "/SSN|Social Security/gi",
PatternDescription = "Custom SSN pattern",
},
RedactionPlaceHolders = new[]
{
new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs
{
RedactionPlaceHolderType = "CustomText",
RedactionPlaceHolderText = "REDACTED-CUSTOM",
},
},
},
},
},
Tags =
{
{ "Name", "example-data-protection-settings" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.kms.Key;
import com.pulumi.aws.kms.KeyArgs;
import com.pulumi.aws.workspacesweb.DataProtectionSettings;
import com.pulumi.aws.workspacesweb.DataProtectionSettingsArgs;
import com.pulumi.aws.workspacesweb.inputs.DataProtectionSettingsInlineRedactionConfigurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Key("example", KeyArgs.builder()
.description("KMS key for WorkSpaces Web Data Protection Settings")
.deletionWindowInDays(7)
.build());
var exampleDataProtectionSettings = new DataProtectionSettings("exampleDataProtectionSettings", DataProtectionSettingsArgs.builder()
.displayName("example-complete")
.description("Complete example data protection settings")
.customerManagedKey(example.arn())
.additionalEncryptionContext(Map.of("Environment", "Production"))
.inlineRedactionConfiguration(DataProtectionSettingsInlineRedactionConfigurationArgs.builder()
.globalConfidenceLevel(2)
.globalEnforcedUrls(
"https://example.com",
"https://test.example.com")
.globalExemptUrls("https://exempt.example.com")
.inlineRedactionPatterns(
DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs.builder()
.builtInPatternId("ssn")
.confidenceLevel(3)
.enforcedUrls("https://pattern1.example.com")
.exemptUrls("https://exempt-pattern1.example.com")
.redactionPlaceHolders(DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs.builder()
.redactionPlaceHolderType("CustomText")
.redactionPlaceHolderText("REDACTED-SSN")
.build())
.build(),
DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs.builder()
.customPattern(DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternCustomPatternArgs.builder()
.patternName("CustomPattern")
.patternRegex("/\\d{3}-\\d{2}-\\d{4}/g")
.keywordRegex("/SSN|Social Security/gi")
.patternDescription("Custom SSN pattern")
.build())
.redactionPlaceHolders(DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs.builder()
.redactionPlaceHolderType("CustomText")
.redactionPlaceHolderText("REDACTED-CUSTOM")
.build())
.build())
.build())
.tags(Map.of("Name", "example-data-protection-settings"))
.build());
}
}
resources:
example:
type: aws:kms:Key
properties:
description: KMS key for WorkSpaces Web Data Protection Settings
deletionWindowInDays: 7
exampleDataProtectionSettings:
type: aws:workspacesweb:DataProtectionSettings
name: example
properties:
displayName: example-complete
description: Complete example data protection settings
customerManagedKey: ${example.arn}
additionalEncryptionContext:
Environment: Production
inlineRedactionConfiguration:
globalConfidenceLevel: 2
globalEnforcedUrls:
- https://example.com
- https://test.example.com
globalExemptUrls:
- https://exempt.example.com
inlineRedactionPatterns:
- builtInPatternId: ssn
confidenceLevel: 3
enforcedUrls:
- https://pattern1.example.com
exemptUrls:
- https://exempt-pattern1.example.com
redactionPlaceHolders:
- redactionPlaceHolderType: CustomText
redactionPlaceHolderText: REDACTED-SSN
- customPattern:
patternName: CustomPattern
patternRegex: /\d{3}-\d{2}-\d{4}/g
keywordRegex: /SSN|Social Security/gi
patternDescription: Custom SSN pattern
redactionPlaceHolders:
- redactionPlaceHolderType: CustomText
redactionPlaceHolderText: REDACTED-CUSTOM
tags:
Name: example-data-protection-settings
Create DataProtectionSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataProtectionSettings(name: string, args: DataProtectionSettingsArgs, opts?: CustomResourceOptions);
@overload
def DataProtectionSettings(resource_name: str,
args: DataProtectionSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataProtectionSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
display_name: Optional[str] = None,
additional_encryption_context: Optional[Mapping[str, str]] = None,
customer_managed_key: Optional[str] = None,
description: Optional[str] = None,
inline_redaction_configuration: Optional[DataProtectionSettingsInlineRedactionConfigurationArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewDataProtectionSettings(ctx *Context, name string, args DataProtectionSettingsArgs, opts ...ResourceOption) (*DataProtectionSettings, error)
public DataProtectionSettings(string name, DataProtectionSettingsArgs args, CustomResourceOptions? opts = null)
public DataProtectionSettings(String name, DataProtectionSettingsArgs args)
public DataProtectionSettings(String name, DataProtectionSettingsArgs args, CustomResourceOptions options)
type: aws:workspacesweb:DataProtectionSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DataProtectionSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DataProtectionSettingsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DataProtectionSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataProtectionSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataProtectionSettingsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dataProtectionSettingsResource = new Aws.WorkSpacesWeb.DataProtectionSettings("dataProtectionSettingsResource", new()
{
DisplayName = "string",
AdditionalEncryptionContext =
{
{ "string", "string" },
},
CustomerManagedKey = "string",
Description = "string",
InlineRedactionConfiguration = new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationArgs
{
GlobalConfidenceLevel = 0,
GlobalEnforcedUrls = new[]
{
"string",
},
GlobalExemptUrls = new[]
{
"string",
},
InlineRedactionPatterns = new[]
{
new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs
{
BuiltInPatternId = "string",
ConfidenceLevel = 0,
CustomPattern = new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternCustomPatternArgs
{
PatternName = "string",
PatternRegex = "string",
KeywordRegex = "string",
PatternDescription = "string",
},
EnforcedUrls = new[]
{
"string",
},
ExemptUrls = new[]
{
"string",
},
RedactionPlaceHolders = new[]
{
new Aws.WorkSpacesWeb.Inputs.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs
{
RedactionPlaceHolderType = "string",
RedactionPlaceHolderText = "string",
},
},
},
},
},
Tags =
{
{ "string", "string" },
},
});
example, err := workspacesweb.NewDataProtectionSettings(ctx, "dataProtectionSettingsResource", &workspacesweb.DataProtectionSettingsArgs{
DisplayName: pulumi.String("string"),
AdditionalEncryptionContext: pulumi.StringMap{
"string": pulumi.String("string"),
},
CustomerManagedKey: pulumi.String("string"),
Description: pulumi.String("string"),
InlineRedactionConfiguration: &workspacesweb.DataProtectionSettingsInlineRedactionConfigurationArgs{
GlobalConfidenceLevel: pulumi.Int(0),
GlobalEnforcedUrls: pulumi.StringArray{
pulumi.String("string"),
},
GlobalExemptUrls: pulumi.StringArray{
pulumi.String("string"),
},
InlineRedactionPatterns: workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArray{
&workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs{
BuiltInPatternId: pulumi.String("string"),
ConfidenceLevel: pulumi.Int(0),
CustomPattern: &workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternCustomPatternArgs{
PatternName: pulumi.String("string"),
PatternRegex: pulumi.String("string"),
KeywordRegex: pulumi.String("string"),
PatternDescription: pulumi.String("string"),
},
EnforcedUrls: pulumi.StringArray{
pulumi.String("string"),
},
ExemptUrls: pulumi.StringArray{
pulumi.String("string"),
},
RedactionPlaceHolders: workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArray{
&workspacesweb.DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs{
RedactionPlaceHolderType: pulumi.String("string"),
RedactionPlaceHolderText: pulumi.String("string"),
},
},
},
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var dataProtectionSettingsResource = new DataProtectionSettings("dataProtectionSettingsResource", DataProtectionSettingsArgs.builder()
.displayName("string")
.additionalEncryptionContext(Map.of("string", "string"))
.customerManagedKey("string")
.description("string")
.inlineRedactionConfiguration(DataProtectionSettingsInlineRedactionConfigurationArgs.builder()
.globalConfidenceLevel(0)
.globalEnforcedUrls("string")
.globalExemptUrls("string")
.inlineRedactionPatterns(DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs.builder()
.builtInPatternId("string")
.confidenceLevel(0)
.customPattern(DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternCustomPatternArgs.builder()
.patternName("string")
.patternRegex("string")
.keywordRegex("string")
.patternDescription("string")
.build())
.enforcedUrls("string")
.exemptUrls("string")
.redactionPlaceHolders(DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs.builder()
.redactionPlaceHolderType("string")
.redactionPlaceHolderText("string")
.build())
.build())
.build())
.tags(Map.of("string", "string"))
.build());
data_protection_settings_resource = aws.workspacesweb.DataProtectionSettings("dataProtectionSettingsResource",
display_name="string",
additional_encryption_context={
"string": "string",
},
customer_managed_key="string",
description="string",
inline_redaction_configuration={
"global_confidence_level": 0,
"global_enforced_urls": ["string"],
"global_exempt_urls": ["string"],
"inline_redaction_patterns": [{
"built_in_pattern_id": "string",
"confidence_level": 0,
"custom_pattern": {
"pattern_name": "string",
"pattern_regex": "string",
"keyword_regex": "string",
"pattern_description": "string",
},
"enforced_urls": ["string"],
"exempt_urls": ["string"],
"redaction_place_holders": [{
"redaction_place_holder_type": "string",
"redaction_place_holder_text": "string",
}],
}],
},
tags={
"string": "string",
})
const dataProtectionSettingsResource = new aws.workspacesweb.DataProtectionSettings("dataProtectionSettingsResource", {
displayName: "string",
additionalEncryptionContext: {
string: "string",
},
customerManagedKey: "string",
description: "string",
inlineRedactionConfiguration: {
globalConfidenceLevel: 0,
globalEnforcedUrls: ["string"],
globalExemptUrls: ["string"],
inlineRedactionPatterns: [{
builtInPatternId: "string",
confidenceLevel: 0,
customPattern: {
patternName: "string",
patternRegex: "string",
keywordRegex: "string",
patternDescription: "string",
},
enforcedUrls: ["string"],
exemptUrls: ["string"],
redactionPlaceHolders: [{
redactionPlaceHolderType: "string",
redactionPlaceHolderText: "string",
}],
}],
},
tags: {
string: "string",
},
});
type: aws:workspacesweb:DataProtectionSettings
properties:
additionalEncryptionContext:
string: string
customerManagedKey: string
description: string
displayName: string
inlineRedactionConfiguration:
globalConfidenceLevel: 0
globalEnforcedUrls:
- string
globalExemptUrls:
- string
inlineRedactionPatterns:
- builtInPatternId: string
confidenceLevel: 0
customPattern:
keywordRegex: string
patternDescription: string
patternName: string
patternRegex: string
enforcedUrls:
- string
exemptUrls:
- string
redactionPlaceHolders:
- redactionPlaceHolderText: string
redactionPlaceHolderType: string
tags:
string: string
DataProtectionSettings Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataProtectionSettings resource accepts the following input properties:
- Display
Name string The display name of the data protection settings.
The following arguments are optional:
- Additional
Encryption Dictionary<string, string>Context - Additional encryption context for the data protection settings.
- Customer
Managed stringKey - ARN of the customer managed KMS key.
- Description string
- The description of the data protection settings.
- Inline
Redaction DataConfiguration Protection Settings Inline Redaction Configuration - The inline redaction configuration of the data protection settings. Detailed below.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- Display
Name string The display name of the data protection settings.
The following arguments are optional:
- Additional
Encryption map[string]stringContext - Additional encryption context for the data protection settings.
- Customer
Managed stringKey - ARN of the customer managed KMS key.
- Description string
- The description of the data protection settings.
- Inline
Redaction DataConfiguration Protection Settings Inline Redaction Configuration Args - The inline redaction configuration of the data protection settings. Detailed below.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- display
Name String The display name of the data protection settings.
The following arguments are optional:
- additional
Encryption Map<String,String>Context - Additional encryption context for the data protection settings.
- customer
Managed StringKey - ARN of the customer managed KMS key.
- description String
- The description of the data protection settings.
- inline
Redaction DataConfiguration Protection Settings Inline Redaction Configuration - The inline redaction configuration of the data protection settings. Detailed below.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- display
Name string The display name of the data protection settings.
The following arguments are optional:
- additional
Encryption {[key: string]: string}Context - Additional encryption context for the data protection settings.
- customer
Managed stringKey - ARN of the customer managed KMS key.
- description string
- The description of the data protection settings.
- inline
Redaction DataConfiguration Protection Settings Inline Redaction Configuration - The inline redaction configuration of the data protection settings. Detailed below.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- display_
name str The display name of the data protection settings.
The following arguments are optional:
- additional_
encryption_ Mapping[str, str]context - Additional encryption context for the data protection settings.
- customer_
managed_ strkey - ARN of the customer managed KMS key.
- description str
- The description of the data protection settings.
- inline_
redaction_ Dataconfiguration Protection Settings Inline Redaction Configuration Args - The inline redaction configuration of the data protection settings. Detailed below.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
- display
Name String The display name of the data protection settings.
The following arguments are optional:
- additional
Encryption Map<String>Context - Additional encryption context for the data protection settings.
- customer
Managed StringKey - ARN of the customer managed KMS key.
- description String
- The description of the data protection settings.
- inline
Redaction Property MapConfiguration - The inline redaction configuration of the data protection settings. Detailed below.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Outputs
All input properties are implicitly available as output properties. Additionally, the DataProtectionSettings resource produces the following output properties:
- Associated
Portal List<string>Arns - List of web portal ARNs that this data protection settings resource is associated with.
- Data
Protection stringSettings Arn - ARN of the data protection settings resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Associated
Portal []stringArns - List of web portal ARNs that this data protection settings resource is associated with.
- Data
Protection stringSettings Arn - ARN of the data protection settings resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- associated
Portal List<String>Arns - List of web portal ARNs that this data protection settings resource is associated with.
- data
Protection StringSettings Arn - ARN of the data protection settings resource.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- associated
Portal string[]Arns - List of web portal ARNs that this data protection settings resource is associated with.
- data
Protection stringSettings Arn - ARN of the data protection settings resource.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- associated_
portal_ Sequence[str]arns - List of web portal ARNs that this data protection settings resource is associated with.
- data_
protection_ strsettings_ arn - ARN of the data protection settings resource.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- associated
Portal List<String>Arns - List of web portal ARNs that this data protection settings resource is associated with.
- data
Protection StringSettings Arn - ARN of the data protection settings resource.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing DataProtectionSettings Resource
Get an existing DataProtectionSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: DataProtectionSettingsState, opts?: CustomResourceOptions): DataProtectionSettings
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
additional_encryption_context: Optional[Mapping[str, str]] = None,
associated_portal_arns: Optional[Sequence[str]] = None,
customer_managed_key: Optional[str] = None,
data_protection_settings_arn: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
inline_redaction_configuration: Optional[DataProtectionSettingsInlineRedactionConfigurationArgs] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> DataProtectionSettings
func GetDataProtectionSettings(ctx *Context, name string, id IDInput, state *DataProtectionSettingsState, opts ...ResourceOption) (*DataProtectionSettings, error)
public static DataProtectionSettings Get(string name, Input<string> id, DataProtectionSettingsState? state, CustomResourceOptions? opts = null)
public static DataProtectionSettings get(String name, Output<String> id, DataProtectionSettingsState state, CustomResourceOptions options)
resources: _: type: aws:workspacesweb:DataProtectionSettings get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Additional
Encryption Dictionary<string, string>Context - Additional encryption context for the data protection settings.
- Associated
Portal List<string>Arns - List of web portal ARNs that this data protection settings resource is associated with.
- Customer
Managed stringKey - ARN of the customer managed KMS key.
- Data
Protection stringSettings Arn - ARN of the data protection settings resource.
- Description string
- The description of the data protection settings.
- Display
Name string The display name of the data protection settings.
The following arguments are optional:
- Inline
Redaction DataConfiguration Protection Settings Inline Redaction Configuration - The inline redaction configuration of the data protection settings. Detailed below.
- Dictionary<string, string>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Additional
Encryption map[string]stringContext - Additional encryption context for the data protection settings.
- Associated
Portal []stringArns - List of web portal ARNs that this data protection settings resource is associated with.
- Customer
Managed stringKey - ARN of the customer managed KMS key.
- Data
Protection stringSettings Arn - ARN of the data protection settings resource.
- Description string
- The description of the data protection settings.
- Display
Name string The display name of the data protection settings.
The following arguments are optional:
- Inline
Redaction DataConfiguration Protection Settings Inline Redaction Configuration Args - The inline redaction configuration of the data protection settings. Detailed below.
- map[string]string
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- additional
Encryption Map<String,String>Context - Additional encryption context for the data protection settings.
- associated
Portal List<String>Arns - List of web portal ARNs that this data protection settings resource is associated with.
- customer
Managed StringKey - ARN of the customer managed KMS key.
- data
Protection StringSettings Arn - ARN of the data protection settings resource.
- description String
- The description of the data protection settings.
- display
Name String The display name of the data protection settings.
The following arguments are optional:
- inline
Redaction DataConfiguration Protection Settings Inline Redaction Configuration - The inline redaction configuration of the data protection settings. Detailed below.
- Map<String,String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- additional
Encryption {[key: string]: string}Context - Additional encryption context for the data protection settings.
- associated
Portal string[]Arns - List of web portal ARNs that this data protection settings resource is associated with.
- customer
Managed stringKey - ARN of the customer managed KMS key.
- data
Protection stringSettings Arn - ARN of the data protection settings resource.
- description string
- The description of the data protection settings.
- display
Name string The display name of the data protection settings.
The following arguments are optional:
- inline
Redaction DataConfiguration Protection Settings Inline Redaction Configuration - The inline redaction configuration of the data protection settings. Detailed below.
- {[key: string]: string}
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- additional_
encryption_ Mapping[str, str]context - Additional encryption context for the data protection settings.
- associated_
portal_ Sequence[str]arns - List of web portal ARNs that this data protection settings resource is associated with.
- customer_
managed_ strkey - ARN of the customer managed KMS key.
- data_
protection_ strsettings_ arn - ARN of the data protection settings resource.
- description str
- The description of the data protection settings.
- display_
name str The display name of the data protection settings.
The following arguments are optional:
- inline_
redaction_ Dataconfiguration Protection Settings Inline Redaction Configuration Args - The inline redaction configuration of the data protection settings. Detailed below.
- Mapping[str, str]
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- additional
Encryption Map<String>Context - Additional encryption context for the data protection settings.
- associated
Portal List<String>Arns - List of web portal ARNs that this data protection settings resource is associated with.
- customer
Managed StringKey - ARN of the customer managed KMS key.
- data
Protection StringSettings Arn - ARN of the data protection settings resource.
- description String
- The description of the data protection settings.
- display
Name String The display name of the data protection settings.
The following arguments are optional:
- inline
Redaction Property MapConfiguration - The inline redaction configuration of the data protection settings. Detailed below.
- Map<String>
- Map of tags assigned to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level. - Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Supporting Types
DataProtectionSettingsInlineRedactionConfiguration, DataProtectionSettingsInlineRedactionConfigurationArgs
- Global
Confidence intLevel - The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- Global
Enforced List<string>Urls - The global enforced URL configuration for the inline redaction configuration.
- Global
Exempt List<string>Urls - The global exempt URL configuration for the inline redaction configuration.
- Inline
Redaction List<DataPatterns Protection Settings Inline Redaction Configuration Inline Redaction Pattern> - The inline redaction patterns to be enabled for the inline redaction configuration. Detailed below.
- Global
Confidence intLevel - The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- Global
Enforced []stringUrls - The global enforced URL configuration for the inline redaction configuration.
- Global
Exempt []stringUrls - The global exempt URL configuration for the inline redaction configuration.
- Inline
Redaction []DataPatterns Protection Settings Inline Redaction Configuration Inline Redaction Pattern - The inline redaction patterns to be enabled for the inline redaction configuration. Detailed below.
- global
Confidence IntegerLevel - The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- global
Enforced List<String>Urls - The global enforced URL configuration for the inline redaction configuration.
- global
Exempt List<String>Urls - The global exempt URL configuration for the inline redaction configuration.
- inline
Redaction List<DataPatterns Protection Settings Inline Redaction Configuration Inline Redaction Pattern> - The inline redaction patterns to be enabled for the inline redaction configuration. Detailed below.
- global
Confidence numberLevel - The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- global
Enforced string[]Urls - The global enforced URL configuration for the inline redaction configuration.
- global
Exempt string[]Urls - The global exempt URL configuration for the inline redaction configuration.
- inline
Redaction DataPatterns Protection Settings Inline Redaction Configuration Inline Redaction Pattern[] - The inline redaction patterns to be enabled for the inline redaction configuration. Detailed below.
- global_
confidence_ intlevel - The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- global_
enforced_ Sequence[str]urls - The global enforced URL configuration for the inline redaction configuration.
- global_
exempt_ Sequence[str]urls - The global exempt URL configuration for the inline redaction configuration.
- inline_
redaction_ Sequence[Datapatterns Protection Settings Inline Redaction Configuration Inline Redaction Pattern] - The inline redaction patterns to be enabled for the inline redaction configuration. Detailed below.
- global
Confidence NumberLevel - The global confidence level for the inline redaction configuration. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- global
Enforced List<String>Urls - The global enforced URL configuration for the inline redaction configuration.
- global
Exempt List<String>Urls - The global exempt URL configuration for the inline redaction configuration.
- inline
Redaction List<Property Map>Patterns - The inline redaction patterns to be enabled for the inline redaction configuration. Detailed below.
DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPattern, DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternArgs
- Built
In stringPattern Id - The built-in pattern from the list of preconfigured patterns. Either a
custom_pattern
orbuilt_in_pattern_id
is required. - Confidence
Level int - The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- Custom
Pattern DataProtection Settings Inline Redaction Configuration Inline Redaction Pattern Custom Pattern - The configuration for a custom pattern. Either a
custom_pattern
orbuilt_in_pattern_id
is required. Detailed below. - Enforced
Urls List<string> - The enforced URL configuration for the inline redaction pattern.
- Exempt
Urls List<string> - The exempt URL configuration for the inline redaction pattern.
- Redaction
Place List<DataHolders Protection Settings Inline Redaction Configuration Inline Redaction Pattern Redaction Place Holder> - The redaction placeholder that will replace the redacted text in session. Detailed below.
- Built
In stringPattern Id - The built-in pattern from the list of preconfigured patterns. Either a
custom_pattern
orbuilt_in_pattern_id
is required. - Confidence
Level int - The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- Custom
Pattern DataProtection Settings Inline Redaction Configuration Inline Redaction Pattern Custom Pattern - The configuration for a custom pattern. Either a
custom_pattern
orbuilt_in_pattern_id
is required. Detailed below. - Enforced
Urls []string - The enforced URL configuration for the inline redaction pattern.
- Exempt
Urls []string - The exempt URL configuration for the inline redaction pattern.
- Redaction
Place []DataHolders Protection Settings Inline Redaction Configuration Inline Redaction Pattern Redaction Place Holder - The redaction placeholder that will replace the redacted text in session. Detailed below.
- built
In StringPattern Id - The built-in pattern from the list of preconfigured patterns. Either a
custom_pattern
orbuilt_in_pattern_id
is required. - confidence
Level Integer - The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- custom
Pattern DataProtection Settings Inline Redaction Configuration Inline Redaction Pattern Custom Pattern - The configuration for a custom pattern. Either a
custom_pattern
orbuilt_in_pattern_id
is required. Detailed below. - enforced
Urls List<String> - The enforced URL configuration for the inline redaction pattern.
- exempt
Urls List<String> - The exempt URL configuration for the inline redaction pattern.
- redaction
Place List<DataHolders Protection Settings Inline Redaction Configuration Inline Redaction Pattern Redaction Place Holder> - The redaction placeholder that will replace the redacted text in session. Detailed below.
- built
In stringPattern Id - The built-in pattern from the list of preconfigured patterns. Either a
custom_pattern
orbuilt_in_pattern_id
is required. - confidence
Level number - The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- custom
Pattern DataProtection Settings Inline Redaction Configuration Inline Redaction Pattern Custom Pattern - The configuration for a custom pattern. Either a
custom_pattern
orbuilt_in_pattern_id
is required. Detailed below. - enforced
Urls string[] - The enforced URL configuration for the inline redaction pattern.
- exempt
Urls string[] - The exempt URL configuration for the inline redaction pattern.
- redaction
Place DataHolders Protection Settings Inline Redaction Configuration Inline Redaction Pattern Redaction Place Holder[] - The redaction placeholder that will replace the redacted text in session. Detailed below.
- built_
in_ strpattern_ id - The built-in pattern from the list of preconfigured patterns. Either a
custom_pattern
orbuilt_in_pattern_id
is required. - confidence_
level int - The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- custom_
pattern DataProtection Settings Inline Redaction Configuration Inline Redaction Pattern Custom Pattern - The configuration for a custom pattern. Either a
custom_pattern
orbuilt_in_pattern_id
is required. Detailed below. - enforced_
urls Sequence[str] - The enforced URL configuration for the inline redaction pattern.
- exempt_
urls Sequence[str] - The exempt URL configuration for the inline redaction pattern.
- redaction_
place_ Sequence[Dataholders Protection Settings Inline Redaction Configuration Inline Redaction Pattern Redaction Place Holder] - The redaction placeholder that will replace the redacted text in session. Detailed below.
- built
In StringPattern Id - The built-in pattern from the list of preconfigured patterns. Either a
custom_pattern
orbuilt_in_pattern_id
is required. - confidence
Level Number - The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Values range from 1 (low confidence) to 3 (high confidence).
- custom
Pattern Property Map - The configuration for a custom pattern. Either a
custom_pattern
orbuilt_in_pattern_id
is required. Detailed below. - enforced
Urls List<String> - The enforced URL configuration for the inline redaction pattern.
- exempt
Urls List<String> - The exempt URL configuration for the inline redaction pattern.
- redaction
Place List<Property Map>Holders - The redaction placeholder that will replace the redacted text in session. Detailed below.
DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternCustomPattern, DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternCustomPatternArgs
- Pattern
Name string - The pattern name for the custom pattern.
- Pattern
Regex string - The pattern regex for the customer pattern. The format must follow JavaScript regex format.
- Keyword
Regex string - The keyword regex for the customer pattern.
- Pattern
Description string - The pattern description for the customer pattern.
- Pattern
Name string - The pattern name for the custom pattern.
- Pattern
Regex string - The pattern regex for the customer pattern. The format must follow JavaScript regex format.
- Keyword
Regex string - The keyword regex for the customer pattern.
- Pattern
Description string - The pattern description for the customer pattern.
- pattern
Name String - The pattern name for the custom pattern.
- pattern
Regex String - The pattern regex for the customer pattern. The format must follow JavaScript regex format.
- keyword
Regex String - The keyword regex for the customer pattern.
- pattern
Description String - The pattern description for the customer pattern.
- pattern
Name string - The pattern name for the custom pattern.
- pattern
Regex string - The pattern regex for the customer pattern. The format must follow JavaScript regex format.
- keyword
Regex string - The keyword regex for the customer pattern.
- pattern
Description string - The pattern description for the customer pattern.
- pattern_
name str - The pattern name for the custom pattern.
- pattern_
regex str - The pattern regex for the customer pattern. The format must follow JavaScript regex format.
- keyword_
regex str - The keyword regex for the customer pattern.
- pattern_
description str - The pattern description for the customer pattern.
- pattern
Name String - The pattern name for the custom pattern.
- pattern
Regex String - The pattern regex for the customer pattern. The format must follow JavaScript regex format.
- keyword
Regex String - The keyword regex for the customer pattern.
- pattern
Description String - The pattern description for the customer pattern.
DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolder, DataProtectionSettingsInlineRedactionConfigurationInlineRedactionPatternRedactionPlaceHolderArgs
- Redaction
Place stringHolder Type - The redaction placeholder type that will replace the redacted text in session. Currently, only
CustomText
is supported. - Redaction
Place stringHolder Text - The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
- Redaction
Place stringHolder Type - The redaction placeholder type that will replace the redacted text in session. Currently, only
CustomText
is supported. - Redaction
Place stringHolder Text - The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
- redaction
Place StringHolder Type - The redaction placeholder type that will replace the redacted text in session. Currently, only
CustomText
is supported. - redaction
Place StringHolder Text - The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
- redaction
Place stringHolder Type - The redaction placeholder type that will replace the redacted text in session. Currently, only
CustomText
is supported. - redaction
Place stringHolder Text - The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
- redaction_
place_ strholder_ type - The redaction placeholder type that will replace the redacted text in session. Currently, only
CustomText
is supported. - redaction_
place_ strholder_ text - The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
- redaction
Place StringHolder Type - The redaction placeholder type that will replace the redacted text in session. Currently, only
CustomText
is supported. - redaction
Place StringHolder Text - The redaction placeholder text that will replace the redacted text in session for the custom text redaction placeholder type.
Import
Using pulumi import
, import WorkSpaces Web Data Protection Settings using the data_protection_settings_arn
. For example:
$ pulumi import aws:workspacesweb/dataProtectionSettings:DataProtectionSettings example arn:aws:workspaces-web:us-west-2:123456789012:dataprotectionsettings/abcdef12345
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.