aws.workspaces.WebIpAccessSettings
Explore with Pulumi AI
Resource for managing an AWS WorkSpaces Web IP Access Settings resource. Once associated with a web portal, IP access settings control which IP addresses users can connect from.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.workspacesweb.IpAccessSettings("example", {
displayName: "example",
ipRules: [{
ipRange: "10.0.0.0/16",
}],
});
import pulumi
import pulumi_aws as aws
example = aws.workspacesweb.IpAccessSettings("example",
display_name="example",
ip_rules=[{
"ip_range": "10.0.0.0/16",
}])
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.NewIpAccessSettings(ctx, "example", &workspacesweb.IpAccessSettingsArgs{
DisplayName: pulumi.String("example"),
IpRules: workspacesweb.IpAccessSettingsIpRuleArray{
&workspacesweb.IpAccessSettingsIpRuleArgs{
IpRange: pulumi.String("10.0.0.0/16"),
},
},
})
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.IpAccessSettings("example", new()
{
DisplayName = "example",
IpRules = new[]
{
new Aws.WorkSpacesWeb.Inputs.IpAccessSettingsIpRuleArgs
{
IpRange = "10.0.0.0/16",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.workspacesweb.IpAccessSettings;
import com.pulumi.aws.workspacesweb.IpAccessSettingsArgs;
import com.pulumi.aws.workspacesweb.inputs.IpAccessSettingsIpRuleArgs;
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 IpAccessSettings("example", IpAccessSettingsArgs.builder()
.displayName("example")
.ipRules(IpAccessSettingsIpRuleArgs.builder()
.ipRange("10.0.0.0/16")
.build())
.build());
}
}
resources:
example:
type: aws:workspacesweb:IpAccessSettings
properties:
displayName: example
ipRules:
- ipRange: 10.0.0.0/16
With Multiple IP Rules
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.workspacesweb.IpAccessSettings("example", {
displayName: "example",
description: "Example IP access settings",
ipRules: [
{
ipRange: "10.0.0.0/16",
description: "Main office",
},
{
ipRange: "192.168.0.0/24",
description: "Branch office",
},
],
});
import pulumi
import pulumi_aws as aws
example = aws.workspacesweb.IpAccessSettings("example",
display_name="example",
description="Example IP access settings",
ip_rules=[
{
"ip_range": "10.0.0.0/16",
"description": "Main office",
},
{
"ip_range": "192.168.0.0/24",
"description": "Branch office",
},
])
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.NewIpAccessSettings(ctx, "example", &workspacesweb.IpAccessSettingsArgs{
DisplayName: pulumi.String("example"),
Description: pulumi.String("Example IP access settings"),
IpRules: workspacesweb.IpAccessSettingsIpRuleArray{
&workspacesweb.IpAccessSettingsIpRuleArgs{
IpRange: pulumi.String("10.0.0.0/16"),
Description: pulumi.String("Main office"),
},
&workspacesweb.IpAccessSettingsIpRuleArgs{
IpRange: pulumi.String("192.168.0.0/24"),
Description: pulumi.String("Branch office"),
},
},
})
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.IpAccessSettings("example", new()
{
DisplayName = "example",
Description = "Example IP access settings",
IpRules = new[]
{
new Aws.WorkSpacesWeb.Inputs.IpAccessSettingsIpRuleArgs
{
IpRange = "10.0.0.0/16",
Description = "Main office",
},
new Aws.WorkSpacesWeb.Inputs.IpAccessSettingsIpRuleArgs
{
IpRange = "192.168.0.0/24",
Description = "Branch office",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.workspacesweb.IpAccessSettings;
import com.pulumi.aws.workspacesweb.IpAccessSettingsArgs;
import com.pulumi.aws.workspacesweb.inputs.IpAccessSettingsIpRuleArgs;
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 IpAccessSettings("example", IpAccessSettingsArgs.builder()
.displayName("example")
.description("Example IP access settings")
.ipRules(
IpAccessSettingsIpRuleArgs.builder()
.ipRange("10.0.0.0/16")
.description("Main office")
.build(),
IpAccessSettingsIpRuleArgs.builder()
.ipRange("192.168.0.0/24")
.description("Branch office")
.build())
.build());
}
}
resources:
example:
type: aws:workspacesweb:IpAccessSettings
properties:
displayName: example
description: Example IP access settings
ipRules:
- ipRange: 10.0.0.0/16
description: Main office
- ipRange: 192.168.0.0/24
description: Branch office
With All Arguments
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 IP Access Settings",
deletionWindowInDays: 7,
});
const exampleIpAccessSettings = new aws.workspacesweb.IpAccessSettings("example", {
displayName: "example",
description: "Example IP access settings",
customerManagedKey: example.arn,
additionalEncryptionContext: {
Environment: "Production",
},
ipRules: [
{
ipRange: "10.0.0.0/16",
description: "Main office",
},
{
ipRange: "192.168.0.0/24",
description: "Branch office",
},
],
tags: {
Name: "example-ip-access-settings",
},
});
import pulumi
import pulumi_aws as aws
example = aws.kms.Key("example",
description="KMS key for WorkSpaces Web IP Access Settings",
deletion_window_in_days=7)
example_ip_access_settings = aws.workspacesweb.IpAccessSettings("example",
display_name="example",
description="Example IP access settings",
customer_managed_key=example.arn,
additional_encryption_context={
"Environment": "Production",
},
ip_rules=[
{
"ip_range": "10.0.0.0/16",
"description": "Main office",
},
{
"ip_range": "192.168.0.0/24",
"description": "Branch office",
},
],
tags={
"Name": "example-ip-access-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 IP Access Settings"),
DeletionWindowInDays: pulumi.Int(7),
})
if err != nil {
return err
}
_, err = workspacesweb.NewIpAccessSettings(ctx, "example", &workspacesweb.IpAccessSettingsArgs{
DisplayName: pulumi.String("example"),
Description: pulumi.String("Example IP access settings"),
CustomerManagedKey: example.Arn,
AdditionalEncryptionContext: pulumi.StringMap{
"Environment": pulumi.String("Production"),
},
IpRules: workspacesweb.IpAccessSettingsIpRuleArray{
&workspacesweb.IpAccessSettingsIpRuleArgs{
IpRange: pulumi.String("10.0.0.0/16"),
Description: pulumi.String("Main office"),
},
&workspacesweb.IpAccessSettingsIpRuleArgs{
IpRange: pulumi.String("192.168.0.0/24"),
Description: pulumi.String("Branch office"),
},
},
Tags: pulumi.StringMap{
"Name": pulumi.String("example-ip-access-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 IP Access Settings",
DeletionWindowInDays = 7,
});
var exampleIpAccessSettings = new Aws.WorkSpacesWeb.IpAccessSettings("example", new()
{
DisplayName = "example",
Description = "Example IP access settings",
CustomerManagedKey = example.Arn,
AdditionalEncryptionContext =
{
{ "Environment", "Production" },
},
IpRules = new[]
{
new Aws.WorkSpacesWeb.Inputs.IpAccessSettingsIpRuleArgs
{
IpRange = "10.0.0.0/16",
Description = "Main office",
},
new Aws.WorkSpacesWeb.Inputs.IpAccessSettingsIpRuleArgs
{
IpRange = "192.168.0.0/24",
Description = "Branch office",
},
},
Tags =
{
{ "Name", "example-ip-access-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.IpAccessSettings;
import com.pulumi.aws.workspacesweb.IpAccessSettingsArgs;
import com.pulumi.aws.workspacesweb.inputs.IpAccessSettingsIpRuleArgs;
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 IP Access Settings")
.deletionWindowInDays(7)
.build());
var exampleIpAccessSettings = new IpAccessSettings("exampleIpAccessSettings", IpAccessSettingsArgs.builder()
.displayName("example")
.description("Example IP access settings")
.customerManagedKey(example.arn())
.additionalEncryptionContext(Map.of("Environment", "Production"))
.ipRules(
IpAccessSettingsIpRuleArgs.builder()
.ipRange("10.0.0.0/16")
.description("Main office")
.build(),
IpAccessSettingsIpRuleArgs.builder()
.ipRange("192.168.0.0/24")
.description("Branch office")
.build())
.tags(Map.of("Name", "example-ip-access-settings"))
.build());
}
}
resources:
example:
type: aws:kms:Key
properties:
description: KMS key for WorkSpaces Web IP Access Settings
deletionWindowInDays: 7
exampleIpAccessSettings:
type: aws:workspacesweb:IpAccessSettings
name: example
properties:
displayName: example
description: Example IP access settings
customerManagedKey: ${example.arn}
additionalEncryptionContext:
Environment: Production
ipRules:
- ipRange: 10.0.0.0/16
description: Main office
- ipRange: 192.168.0.0/24
description: Branch office
tags:
Name: example-ip-access-settings
Create WebIpAccessSettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WebIpAccessSettings(name: string, args: WebIpAccessSettingsArgs, opts?: CustomResourceOptions);
@overload
def WebIpAccessSettings(resource_name: str,
args: WebIpAccessSettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WebIpAccessSettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
additional_encryption_context: Optional[Mapping[str, str]] = None,
customer_managed_key: Optional[str] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
ip_rules: Optional[Sequence[WebIpAccessSettingsIpRuleArgs]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewWebIpAccessSettings(ctx *Context, name string, args WebIpAccessSettingsArgs, opts ...ResourceOption) (*WebIpAccessSettings, error)
public WebIpAccessSettings(string name, WebIpAccessSettingsArgs args, CustomResourceOptions? opts = null)
public WebIpAccessSettings(String name, WebIpAccessSettingsArgs args)
public WebIpAccessSettings(String name, WebIpAccessSettingsArgs args, CustomResourceOptions options)
type: aws:workspaces:WebIpAccessSettings
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 WebIpAccessSettingsArgs
- 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 WebIpAccessSettingsArgs
- 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 WebIpAccessSettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebIpAccessSettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WebIpAccessSettingsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WebIpAccessSettings 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 WebIpAccessSettings resource accepts the following input properties:
- Display
Name string - The display name of the IP access settings.
- Additional
Encryption Dictionary<string, string>Context - Additional encryption context for the IP access settings.
- Customer
Managed stringKey - ARN of the customer managed KMS key.
- Description string
- The description of the IP access settings.
- Ip
Rules List<WebIp Access Settings Ip Rule> The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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 IP access settings.
- Additional
Encryption map[string]stringContext - Additional encryption context for the IP access settings.
- Customer
Managed stringKey - ARN of the customer managed KMS key.
- Description string
- The description of the IP access settings.
- Ip
Rules []WebIp Access Settings Ip Rule Args The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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 IP access settings.
- additional
Encryption Map<String,String>Context - Additional encryption context for the IP access settings.
- customer
Managed StringKey - ARN of the customer managed KMS key.
- description String
- The description of the IP access settings.
- ip
Rules List<WebIp Access Settings Ip Rule> The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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 IP access settings.
- additional
Encryption {[key: string]: string}Context - Additional encryption context for the IP access settings.
- customer
Managed stringKey - ARN of the customer managed KMS key.
- description string
- The description of the IP access settings.
- ip
Rules WebIp Access Settings Ip Rule[] The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- {[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 IP access settings.
- additional_
encryption_ Mapping[str, str]context - Additional encryption context for the IP access settings.
- customer_
managed_ strkey - ARN of the customer managed KMS key.
- description str
- The description of the IP access settings.
- ip_
rules Sequence[WebIp Access Settings Ip Rule Args] The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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 IP access settings.
- additional
Encryption Map<String>Context - Additional encryption context for the IP access settings.
- customer
Managed StringKey - ARN of the customer managed KMS key.
- description String
- The description of the IP access settings.
- ip
Rules List<Property Map> The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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 WebIpAccessSettings resource produces the following output properties:
- Associated
Portal List<string>Arns - List of web portal ARNs that this IP access settings resource is associated with.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Access stringSettings Arn - ARN of the IP access settings 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 IP access settings resource is associated with.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Access stringSettings Arn - ARN of the IP access settings 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 IP access settings resource is associated with.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Access StringSettings Arn - ARN of the IP access settings 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 IP access settings resource is associated with.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Access stringSettings Arn - ARN of the IP access settings 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 IP access settings resource is associated with.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
access_ strsettings_ arn - ARN of the IP access settings 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 IP access settings resource is associated with.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Access StringSettings Arn - ARN of the IP access settings resource.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing WebIpAccessSettings Resource
Get an existing WebIpAccessSettings 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?: WebIpAccessSettingsState, opts?: CustomResourceOptions): WebIpAccessSettings
@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,
description: Optional[str] = None,
display_name: Optional[str] = None,
ip_access_settings_arn: Optional[str] = None,
ip_rules: Optional[Sequence[WebIpAccessSettingsIpRuleArgs]] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None) -> WebIpAccessSettings
func GetWebIpAccessSettings(ctx *Context, name string, id IDInput, state *WebIpAccessSettingsState, opts ...ResourceOption) (*WebIpAccessSettings, error)
public static WebIpAccessSettings Get(string name, Input<string> id, WebIpAccessSettingsState? state, CustomResourceOptions? opts = null)
public static WebIpAccessSettings get(String name, Output<String> id, WebIpAccessSettingsState state, CustomResourceOptions options)
resources: _: type: aws:workspaces:WebIpAccessSettings 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 IP access settings.
- Associated
Portal List<string>Arns - List of web portal ARNs that this IP access settings resource is associated with.
- Customer
Managed stringKey - ARN of the customer managed KMS key.
- Description string
- The description of the IP access settings.
- Display
Name string - The display name of the IP access settings.
- Ip
Access stringSettings Arn - ARN of the IP access settings resource.
- Ip
Rules List<WebIp Access Settings Ip Rule> The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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 IP access settings.
- Associated
Portal []stringArns - List of web portal ARNs that this IP access settings resource is associated with.
- Customer
Managed stringKey - ARN of the customer managed KMS key.
- Description string
- The description of the IP access settings.
- Display
Name string - The display name of the IP access settings.
- Ip
Access stringSettings Arn - ARN of the IP access settings resource.
- Ip
Rules []WebIp Access Settings Ip Rule Args The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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 IP access settings.
- associated
Portal List<String>Arns - List of web portal ARNs that this IP access settings resource is associated with.
- customer
Managed StringKey - ARN of the customer managed KMS key.
- description String
- The description of the IP access settings.
- display
Name String - The display name of the IP access settings.
- ip
Access StringSettings Arn - ARN of the IP access settings resource.
- ip
Rules List<WebIp Access Settings Ip Rule> The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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 IP access settings.
- associated
Portal string[]Arns - List of web portal ARNs that this IP access settings resource is associated with.
- customer
Managed stringKey - ARN of the customer managed KMS key.
- description string
- The description of the IP access settings.
- display
Name string - The display name of the IP access settings.
- ip
Access stringSettings Arn - ARN of the IP access settings resource.
- ip
Rules WebIp Access Settings Ip Rule[] The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- {[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 IP access settings.
- associated_
portal_ Sequence[str]arns - List of web portal ARNs that this IP access settings resource is associated with.
- customer_
managed_ strkey - ARN of the customer managed KMS key.
- description str
- The description of the IP access settings.
- display_
name str - The display name of the IP access settings.
- ip_
access_ strsettings_ arn - ARN of the IP access settings resource.
- ip_
rules Sequence[WebIp Access Settings Ip Rule Args] The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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 IP access settings.
- associated
Portal List<String>Arns - List of web portal ARNs that this IP access settings resource is associated with.
- customer
Managed StringKey - ARN of the customer managed KMS key.
- description String
- The description of the IP access settings.
- display
Name String - The display name of the IP access settings.
- ip
Access StringSettings Arn - ARN of the IP access settings resource.
- ip
Rules List<Property Map> The IP rules of the IP access settings. See IP Rule below.
The following arguments are optional:
- 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
WebIpAccessSettingsIpRule, WebIpAccessSettingsIpRuleArgs
- Ip
Range string - The IP range of the IP rule.
- Description string
- The description of the IP access settings.
- Ip
Range string - The IP range of the IP rule.
- Description string
- The description of the IP access settings.
- ip
Range String - The IP range of the IP rule.
- description String
- The description of the IP access settings.
- ip
Range string - The IP range of the IP rule.
- description string
- The description of the IP access settings.
- ip_
range str - The IP range of the IP rule.
- description str
- The description of the IP access settings.
- ip
Range String - The IP range of the IP rule.
- description String
- The description of the IP access settings.
Import
Using pulumi import
, import WorkSpaces Web IP Access Settings using the ip_access_settings_arn
. For example:
$ pulumi import aws:workspaces/webIpAccessSettings:WebIpAccessSettings example arn:aws:workspaces-web:us-west-2:123456789012:ipAccessSettings/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.