workspaces

package
v1.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Directory added in v1.18.0

type Directory struct {
	pulumi.CustomResourceState

	// The directory identifier for registration in WorkSpaces service.
	DirectoryId pulumi.StringOutput `pulumi:"directoryId"`
	// The permissions to enable or disable self-service capabilities.
	SelfServicePermissions DirectorySelfServicePermissionsOutput `pulumi:"selfServicePermissions"`
	// The identifiers of the subnets where the directory resides.
	SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"`
	// A mapping of tags assigned to the WorkSpaces directory.
	Tags pulumi.MapOutput `pulumi:"tags"`
}

Provides a directory registration in AWS WorkSpaces Service

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/workspaces_directory.html.markdown.

func GetDirectory added in v1.18.0

func GetDirectory(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DirectoryState, opts ...pulumi.ResourceOption) (*Directory, error)

GetDirectory gets an existing Directory resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDirectory added in v1.18.0

func NewDirectory(ctx *pulumi.Context,
	name string, args *DirectoryArgs, opts ...pulumi.ResourceOption) (*Directory, error)

NewDirectory registers a new resource with the given unique name, arguments, and options.

type DirectoryArgs added in v1.18.0

type DirectoryArgs struct {
	// The directory identifier for registration in WorkSpaces service.
	DirectoryId pulumi.StringInput
	// The permissions to enable or disable self-service capabilities.
	SelfServicePermissions DirectorySelfServicePermissionsPtrInput
	// The identifiers of the subnets where the directory resides.
	SubnetIds pulumi.StringArrayInput
	// A mapping of tags assigned to the WorkSpaces directory.
	Tags pulumi.MapInput
}

The set of arguments for constructing a Directory resource.

func (DirectoryArgs) ElementType added in v1.19.0

func (DirectoryArgs) ElementType() reflect.Type

type DirectorySelfServicePermissions added in v1.19.0

type DirectorySelfServicePermissions struct {
	// Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.
	ChangeComputeType *bool `pulumi:"changeComputeType"`
	// Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.
	IncreaseVolumeSize *bool `pulumi:"increaseVolumeSize"`
	// Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.
	RebuildWorkspace *bool `pulumi:"rebuildWorkspace"`
	// Whether WorkSpaces directory users can restart their workspace. Default `true`.
	RestartWorkspace *bool `pulumi:"restartWorkspace"`
	// Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.
	SwitchRunningMode *bool `pulumi:"switchRunningMode"`
}

type DirectorySelfServicePermissionsArgs added in v1.19.0

type DirectorySelfServicePermissionsArgs struct {
	// Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.
	ChangeComputeType pulumi.BoolPtrInput `pulumi:"changeComputeType"`
	// Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.
	IncreaseVolumeSize pulumi.BoolPtrInput `pulumi:"increaseVolumeSize"`
	// Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.
	RebuildWorkspace pulumi.BoolPtrInput `pulumi:"rebuildWorkspace"`
	// Whether WorkSpaces directory users can restart their workspace. Default `true`.
	RestartWorkspace pulumi.BoolPtrInput `pulumi:"restartWorkspace"`
	// Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.
	SwitchRunningMode pulumi.BoolPtrInput `pulumi:"switchRunningMode"`
}

func (DirectorySelfServicePermissionsArgs) ElementType added in v1.19.0

func (DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutput added in v1.19.0

func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutput() DirectorySelfServicePermissionsOutput

func (DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutputWithContext added in v1.19.0

func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsOutput

func (DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutput added in v1.19.0

func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput

func (DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutputWithContext added in v1.19.0

func (i DirectorySelfServicePermissionsArgs) ToDirectorySelfServicePermissionsPtrOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsPtrOutput

type DirectorySelfServicePermissionsInput added in v1.19.0

type DirectorySelfServicePermissionsInput interface {
	pulumi.Input

	ToDirectorySelfServicePermissionsOutput() DirectorySelfServicePermissionsOutput
	ToDirectorySelfServicePermissionsOutputWithContext(context.Context) DirectorySelfServicePermissionsOutput
}

type DirectorySelfServicePermissionsOutput added in v1.19.0

type DirectorySelfServicePermissionsOutput struct{ *pulumi.OutputState }

func (DirectorySelfServicePermissionsOutput) ChangeComputeType added in v1.19.0

Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.

func (DirectorySelfServicePermissionsOutput) ElementType added in v1.19.0

func (DirectorySelfServicePermissionsOutput) IncreaseVolumeSize added in v1.19.0

Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.

func (DirectorySelfServicePermissionsOutput) RebuildWorkspace added in v1.19.0

Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.

func (DirectorySelfServicePermissionsOutput) RestartWorkspace added in v1.19.0

Whether WorkSpaces directory users can restart their workspace. Default `true`.

func (DirectorySelfServicePermissionsOutput) SwitchRunningMode added in v1.19.0

Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.

func (DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutput added in v1.19.0

func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutput() DirectorySelfServicePermissionsOutput

func (DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutputWithContext added in v1.19.0

func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsOutput

func (DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutput added in v1.19.0

func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput

func (DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext added in v1.19.0

func (o DirectorySelfServicePermissionsOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsPtrOutput

type DirectorySelfServicePermissionsPtrInput added in v1.19.0

type DirectorySelfServicePermissionsPtrInput interface {
	pulumi.Input

	ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput
	ToDirectorySelfServicePermissionsPtrOutputWithContext(context.Context) DirectorySelfServicePermissionsPtrOutput
}

type DirectorySelfServicePermissionsPtrOutput added in v1.19.0

type DirectorySelfServicePermissionsPtrOutput struct{ *pulumi.OutputState }

func (DirectorySelfServicePermissionsPtrOutput) ChangeComputeType added in v1.19.0

Whether WorkSpaces directory users can change the compute type (bundle) for their workspace. Default `false`.

func (DirectorySelfServicePermissionsPtrOutput) Elem added in v1.19.0

func (DirectorySelfServicePermissionsPtrOutput) ElementType added in v1.19.0

func (DirectorySelfServicePermissionsPtrOutput) IncreaseVolumeSize added in v1.19.0

Whether WorkSpaces directory users can increase the volume size of the drives on their workspace. Default `false`.

func (DirectorySelfServicePermissionsPtrOutput) RebuildWorkspace added in v1.19.0

Whether WorkSpaces directory users can rebuild the operating system of a workspace to its original state. Default `false`.

func (DirectorySelfServicePermissionsPtrOutput) RestartWorkspace added in v1.19.0

Whether WorkSpaces directory users can restart their workspace. Default `true`.

func (DirectorySelfServicePermissionsPtrOutput) SwitchRunningMode added in v1.19.0

Whether WorkSpaces directory users can switch the running mode of their workspace. Default `false`.

func (DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutput added in v1.19.0

func (o DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutput() DirectorySelfServicePermissionsPtrOutput

func (DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext added in v1.19.0

func (o DirectorySelfServicePermissionsPtrOutput) ToDirectorySelfServicePermissionsPtrOutputWithContext(ctx context.Context) DirectorySelfServicePermissionsPtrOutput

type DirectoryState added in v1.18.0

type DirectoryState struct {
	// The directory identifier for registration in WorkSpaces service.
	DirectoryId pulumi.StringPtrInput
	// The permissions to enable or disable self-service capabilities.
	SelfServicePermissions DirectorySelfServicePermissionsPtrInput
	// The identifiers of the subnets where the directory resides.
	SubnetIds pulumi.StringArrayInput
	// A mapping of tags assigned to the WorkSpaces directory.
	Tags pulumi.MapInput
}

func (DirectoryState) ElementType added in v1.19.0

func (DirectoryState) ElementType() reflect.Type

type GetBundleArgs

type GetBundleArgs struct {
	// The ID of the bundle.
	BundleId string `pulumi:"bundleId"`
}

A collection of arguments for invoking getBundle.

type GetBundleComputeType added in v1.19.0

type GetBundleComputeType struct {
	// The name of the compute type.
	Name string `pulumi:"name"`
}

type GetBundleComputeTypeArgs added in v1.19.0

type GetBundleComputeTypeArgs struct {
	// The name of the compute type.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetBundleComputeTypeArgs) ElementType added in v1.19.0

func (GetBundleComputeTypeArgs) ElementType() reflect.Type

func (GetBundleComputeTypeArgs) ToGetBundleComputeTypeOutput added in v1.19.0

func (i GetBundleComputeTypeArgs) ToGetBundleComputeTypeOutput() GetBundleComputeTypeOutput

func (GetBundleComputeTypeArgs) ToGetBundleComputeTypeOutputWithContext added in v1.19.0

func (i GetBundleComputeTypeArgs) ToGetBundleComputeTypeOutputWithContext(ctx context.Context) GetBundleComputeTypeOutput

type GetBundleComputeTypeArray added in v1.19.0

type GetBundleComputeTypeArray []GetBundleComputeTypeInput

func (GetBundleComputeTypeArray) ElementType added in v1.19.0

func (GetBundleComputeTypeArray) ElementType() reflect.Type

func (GetBundleComputeTypeArray) ToGetBundleComputeTypeArrayOutput added in v1.19.0

func (i GetBundleComputeTypeArray) ToGetBundleComputeTypeArrayOutput() GetBundleComputeTypeArrayOutput

func (GetBundleComputeTypeArray) ToGetBundleComputeTypeArrayOutputWithContext added in v1.19.0

func (i GetBundleComputeTypeArray) ToGetBundleComputeTypeArrayOutputWithContext(ctx context.Context) GetBundleComputeTypeArrayOutput

type GetBundleComputeTypeArrayInput added in v1.19.0

type GetBundleComputeTypeArrayInput interface {
	pulumi.Input

	ToGetBundleComputeTypeArrayOutput() GetBundleComputeTypeArrayOutput
	ToGetBundleComputeTypeArrayOutputWithContext(context.Context) GetBundleComputeTypeArrayOutput
}

type GetBundleComputeTypeArrayOutput added in v1.19.0

type GetBundleComputeTypeArrayOutput struct{ *pulumi.OutputState }

func (GetBundleComputeTypeArrayOutput) ElementType added in v1.19.0

func (GetBundleComputeTypeArrayOutput) Index added in v1.19.0

func (GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutput added in v1.19.0

func (o GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutput() GetBundleComputeTypeArrayOutput

func (GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutputWithContext added in v1.19.0

func (o GetBundleComputeTypeArrayOutput) ToGetBundleComputeTypeArrayOutputWithContext(ctx context.Context) GetBundleComputeTypeArrayOutput

type GetBundleComputeTypeInput added in v1.19.0

type GetBundleComputeTypeInput interface {
	pulumi.Input

	ToGetBundleComputeTypeOutput() GetBundleComputeTypeOutput
	ToGetBundleComputeTypeOutputWithContext(context.Context) GetBundleComputeTypeOutput
}

type GetBundleComputeTypeOutput added in v1.19.0

type GetBundleComputeTypeOutput struct{ *pulumi.OutputState }

func (GetBundleComputeTypeOutput) ElementType added in v1.19.0

func (GetBundleComputeTypeOutput) ElementType() reflect.Type

func (GetBundleComputeTypeOutput) Name added in v1.19.0

The name of the compute type.

func (GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutput added in v1.19.0

func (o GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutput() GetBundleComputeTypeOutput

func (GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutputWithContext added in v1.19.0

func (o GetBundleComputeTypeOutput) ToGetBundleComputeTypeOutputWithContext(ctx context.Context) GetBundleComputeTypeOutput

type GetBundleResult

type GetBundleResult struct {
	BundleId string `pulumi:"bundleId"`
	// The compute type. See supported fields below.
	ComputeTypes []GetBundleComputeType `pulumi:"computeTypes"`
	// The description of the bundle.
	Description string `pulumi:"description"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the compute type.
	Name string `pulumi:"name"`
	// The owner of the bundle.
	Owner string `pulumi:"owner"`
	// The root volume. See supported fields below.
	RootStorages []GetBundleRootStorage `pulumi:"rootStorages"`
	// The user storage. See supported fields below.
	UserStorages []GetBundleUserStorage `pulumi:"userStorages"`
}

A collection of values returned by getBundle.

func GetBundle added in v1.19.0

func GetBundle(ctx *pulumi.Context, args *GetBundleArgs, opts ...pulumi.InvokeOption) (*GetBundleResult, error)

Use this data source to get information about a WorkSpaces Bundle.

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/d/workspaces_bundle.html.markdown.

type GetBundleRootStorage added in v1.19.0

type GetBundleRootStorage struct {
	// The size of the user storage.
	Capacity string `pulumi:"capacity"`
}

type GetBundleRootStorageArgs added in v1.19.0

type GetBundleRootStorageArgs struct {
	// The size of the user storage.
	Capacity pulumi.StringInput `pulumi:"capacity"`
}

func (GetBundleRootStorageArgs) ElementType added in v1.19.0

func (GetBundleRootStorageArgs) ElementType() reflect.Type

func (GetBundleRootStorageArgs) ToGetBundleRootStorageOutput added in v1.19.0

func (i GetBundleRootStorageArgs) ToGetBundleRootStorageOutput() GetBundleRootStorageOutput

func (GetBundleRootStorageArgs) ToGetBundleRootStorageOutputWithContext added in v1.19.0

func (i GetBundleRootStorageArgs) ToGetBundleRootStorageOutputWithContext(ctx context.Context) GetBundleRootStorageOutput

type GetBundleRootStorageArray added in v1.19.0

type GetBundleRootStorageArray []GetBundleRootStorageInput

func (GetBundleRootStorageArray) ElementType added in v1.19.0

func (GetBundleRootStorageArray) ElementType() reflect.Type

func (GetBundleRootStorageArray) ToGetBundleRootStorageArrayOutput added in v1.19.0

func (i GetBundleRootStorageArray) ToGetBundleRootStorageArrayOutput() GetBundleRootStorageArrayOutput

func (GetBundleRootStorageArray) ToGetBundleRootStorageArrayOutputWithContext added in v1.19.0

func (i GetBundleRootStorageArray) ToGetBundleRootStorageArrayOutputWithContext(ctx context.Context) GetBundleRootStorageArrayOutput

type GetBundleRootStorageArrayInput added in v1.19.0

type GetBundleRootStorageArrayInput interface {
	pulumi.Input

	ToGetBundleRootStorageArrayOutput() GetBundleRootStorageArrayOutput
	ToGetBundleRootStorageArrayOutputWithContext(context.Context) GetBundleRootStorageArrayOutput
}

type GetBundleRootStorageArrayOutput added in v1.19.0

type GetBundleRootStorageArrayOutput struct{ *pulumi.OutputState }

func (GetBundleRootStorageArrayOutput) ElementType added in v1.19.0

func (GetBundleRootStorageArrayOutput) Index added in v1.19.0

func (GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutput added in v1.19.0

func (o GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutput() GetBundleRootStorageArrayOutput

func (GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutputWithContext added in v1.19.0

func (o GetBundleRootStorageArrayOutput) ToGetBundleRootStorageArrayOutputWithContext(ctx context.Context) GetBundleRootStorageArrayOutput

type GetBundleRootStorageInput added in v1.19.0

type GetBundleRootStorageInput interface {
	pulumi.Input

	ToGetBundleRootStorageOutput() GetBundleRootStorageOutput
	ToGetBundleRootStorageOutputWithContext(context.Context) GetBundleRootStorageOutput
}

type GetBundleRootStorageOutput added in v1.19.0

type GetBundleRootStorageOutput struct{ *pulumi.OutputState }

func (GetBundleRootStorageOutput) Capacity added in v1.19.0

The size of the user storage.

func (GetBundleRootStorageOutput) ElementType added in v1.19.0

func (GetBundleRootStorageOutput) ElementType() reflect.Type

func (GetBundleRootStorageOutput) ToGetBundleRootStorageOutput added in v1.19.0

func (o GetBundleRootStorageOutput) ToGetBundleRootStorageOutput() GetBundleRootStorageOutput

func (GetBundleRootStorageOutput) ToGetBundleRootStorageOutputWithContext added in v1.19.0

func (o GetBundleRootStorageOutput) ToGetBundleRootStorageOutputWithContext(ctx context.Context) GetBundleRootStorageOutput

type GetBundleUserStorage added in v1.19.0

type GetBundleUserStorage struct {
	// The size of the user storage.
	Capacity string `pulumi:"capacity"`
}

type GetBundleUserStorageArgs added in v1.19.0

type GetBundleUserStorageArgs struct {
	// The size of the user storage.
	Capacity pulumi.StringInput `pulumi:"capacity"`
}

func (GetBundleUserStorageArgs) ElementType added in v1.19.0

func (GetBundleUserStorageArgs) ElementType() reflect.Type

func (GetBundleUserStorageArgs) ToGetBundleUserStorageOutput added in v1.19.0

func (i GetBundleUserStorageArgs) ToGetBundleUserStorageOutput() GetBundleUserStorageOutput

func (GetBundleUserStorageArgs) ToGetBundleUserStorageOutputWithContext added in v1.19.0

func (i GetBundleUserStorageArgs) ToGetBundleUserStorageOutputWithContext(ctx context.Context) GetBundleUserStorageOutput

type GetBundleUserStorageArray added in v1.19.0

type GetBundleUserStorageArray []GetBundleUserStorageInput

func (GetBundleUserStorageArray) ElementType added in v1.19.0

func (GetBundleUserStorageArray) ElementType() reflect.Type

func (GetBundleUserStorageArray) ToGetBundleUserStorageArrayOutput added in v1.19.0

func (i GetBundleUserStorageArray) ToGetBundleUserStorageArrayOutput() GetBundleUserStorageArrayOutput

func (GetBundleUserStorageArray) ToGetBundleUserStorageArrayOutputWithContext added in v1.19.0

func (i GetBundleUserStorageArray) ToGetBundleUserStorageArrayOutputWithContext(ctx context.Context) GetBundleUserStorageArrayOutput

type GetBundleUserStorageArrayInput added in v1.19.0

type GetBundleUserStorageArrayInput interface {
	pulumi.Input

	ToGetBundleUserStorageArrayOutput() GetBundleUserStorageArrayOutput
	ToGetBundleUserStorageArrayOutputWithContext(context.Context) GetBundleUserStorageArrayOutput
}

type GetBundleUserStorageArrayOutput added in v1.19.0

type GetBundleUserStorageArrayOutput struct{ *pulumi.OutputState }

func (GetBundleUserStorageArrayOutput) ElementType added in v1.19.0

func (GetBundleUserStorageArrayOutput) Index added in v1.19.0

func (GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutput added in v1.19.0

func (o GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutput() GetBundleUserStorageArrayOutput

func (GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutputWithContext added in v1.19.0

func (o GetBundleUserStorageArrayOutput) ToGetBundleUserStorageArrayOutputWithContext(ctx context.Context) GetBundleUserStorageArrayOutput

type GetBundleUserStorageInput added in v1.19.0

type GetBundleUserStorageInput interface {
	pulumi.Input

	ToGetBundleUserStorageOutput() GetBundleUserStorageOutput
	ToGetBundleUserStorageOutputWithContext(context.Context) GetBundleUserStorageOutput
}

type GetBundleUserStorageOutput added in v1.19.0

type GetBundleUserStorageOutput struct{ *pulumi.OutputState }

func (GetBundleUserStorageOutput) Capacity added in v1.19.0

The size of the user storage.

func (GetBundleUserStorageOutput) ElementType added in v1.19.0

func (GetBundleUserStorageOutput) ElementType() reflect.Type

func (GetBundleUserStorageOutput) ToGetBundleUserStorageOutput added in v1.19.0

func (o GetBundleUserStorageOutput) ToGetBundleUserStorageOutput() GetBundleUserStorageOutput

func (GetBundleUserStorageOutput) ToGetBundleUserStorageOutputWithContext added in v1.19.0

func (o GetBundleUserStorageOutput) ToGetBundleUserStorageOutputWithContext(ctx context.Context) GetBundleUserStorageOutput

type IpGroup added in v1.16.0

type IpGroup struct {
	pulumi.CustomResourceState

	// The description.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the IP group.
	Name pulumi.StringOutput `pulumi:"name"`
	// One or more pairs specifying the IP group rule (in CIDR format) from which web requests originate.
	Rules IpGroupRuleArrayOutput `pulumi:"rules"`
	Tags  pulumi.MapOutput       `pulumi:"tags"`
}

Provides an IP access control group in AWS WorkSpaces Service

> This content is derived from https://github.com/terraform-providers/terraform-provider-aws/blob/master/website/docs/r/workspaces_ip_group.html.markdown.

func GetIpGroup added in v1.16.0

func GetIpGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IpGroupState, opts ...pulumi.ResourceOption) (*IpGroup, error)

GetIpGroup gets an existing IpGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIpGroup added in v1.16.0

func NewIpGroup(ctx *pulumi.Context,
	name string, args *IpGroupArgs, opts ...pulumi.ResourceOption) (*IpGroup, error)

NewIpGroup registers a new resource with the given unique name, arguments, and options.

type IpGroupArgs added in v1.16.0

type IpGroupArgs struct {
	// The description.
	Description pulumi.StringPtrInput
	// The name of the IP group.
	Name pulumi.StringPtrInput
	// One or more pairs specifying the IP group rule (in CIDR format) from which web requests originate.
	Rules IpGroupRuleArrayInput
	Tags  pulumi.MapInput
}

The set of arguments for constructing a IpGroup resource.

func (IpGroupArgs) ElementType added in v1.19.0

func (IpGroupArgs) ElementType() reflect.Type

type IpGroupRule added in v1.19.0

type IpGroupRule struct {
	// The description.
	Description *string `pulumi:"description"`
	// The IP address range, in CIDR notation, e.g. `10.0.0.0/16`
	Source string `pulumi:"source"`
}

type IpGroupRuleArgs added in v1.19.0

type IpGroupRuleArgs struct {
	// The description.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The IP address range, in CIDR notation, e.g. `10.0.0.0/16`
	Source pulumi.StringInput `pulumi:"source"`
}

func (IpGroupRuleArgs) ElementType added in v1.19.0

func (IpGroupRuleArgs) ElementType() reflect.Type

func (IpGroupRuleArgs) ToIpGroupRuleOutput added in v1.19.0

func (i IpGroupRuleArgs) ToIpGroupRuleOutput() IpGroupRuleOutput

func (IpGroupRuleArgs) ToIpGroupRuleOutputWithContext added in v1.19.0

func (i IpGroupRuleArgs) ToIpGroupRuleOutputWithContext(ctx context.Context) IpGroupRuleOutput

type IpGroupRuleArray added in v1.19.0

type IpGroupRuleArray []IpGroupRuleInput

func (IpGroupRuleArray) ElementType added in v1.19.0

func (IpGroupRuleArray) ElementType() reflect.Type

func (IpGroupRuleArray) ToIpGroupRuleArrayOutput added in v1.19.0

func (i IpGroupRuleArray) ToIpGroupRuleArrayOutput() IpGroupRuleArrayOutput

func (IpGroupRuleArray) ToIpGroupRuleArrayOutputWithContext added in v1.19.0

func (i IpGroupRuleArray) ToIpGroupRuleArrayOutputWithContext(ctx context.Context) IpGroupRuleArrayOutput

type IpGroupRuleArrayInput added in v1.19.0

type IpGroupRuleArrayInput interface {
	pulumi.Input

	ToIpGroupRuleArrayOutput() IpGroupRuleArrayOutput
	ToIpGroupRuleArrayOutputWithContext(context.Context) IpGroupRuleArrayOutput
}

type IpGroupRuleArrayOutput added in v1.19.0

type IpGroupRuleArrayOutput struct{ *pulumi.OutputState }

func (IpGroupRuleArrayOutput) ElementType added in v1.19.0

func (IpGroupRuleArrayOutput) ElementType() reflect.Type

func (IpGroupRuleArrayOutput) Index added in v1.19.0

func (IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutput added in v1.19.0

func (o IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutput() IpGroupRuleArrayOutput

func (IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutputWithContext added in v1.19.0

func (o IpGroupRuleArrayOutput) ToIpGroupRuleArrayOutputWithContext(ctx context.Context) IpGroupRuleArrayOutput

type IpGroupRuleInput added in v1.19.0

type IpGroupRuleInput interface {
	pulumi.Input

	ToIpGroupRuleOutput() IpGroupRuleOutput
	ToIpGroupRuleOutputWithContext(context.Context) IpGroupRuleOutput
}

type IpGroupRuleOutput added in v1.19.0

type IpGroupRuleOutput struct{ *pulumi.OutputState }

func (IpGroupRuleOutput) Description added in v1.19.0

func (o IpGroupRuleOutput) Description() pulumi.StringPtrOutput

The description.

func (IpGroupRuleOutput) ElementType added in v1.19.0

func (IpGroupRuleOutput) ElementType() reflect.Type

func (IpGroupRuleOutput) Source added in v1.19.0

The IP address range, in CIDR notation, e.g. `10.0.0.0/16`

func (IpGroupRuleOutput) ToIpGroupRuleOutput added in v1.19.0

func (o IpGroupRuleOutput) ToIpGroupRuleOutput() IpGroupRuleOutput

func (IpGroupRuleOutput) ToIpGroupRuleOutputWithContext added in v1.19.0

func (o IpGroupRuleOutput) ToIpGroupRuleOutputWithContext(ctx context.Context) IpGroupRuleOutput

type IpGroupState added in v1.16.0

type IpGroupState struct {
	// The description.
	Description pulumi.StringPtrInput
	// The name of the IP group.
	Name pulumi.StringPtrInput
	// One or more pairs specifying the IP group rule (in CIDR format) from which web requests originate.
	Rules IpGroupRuleArrayInput
	Tags  pulumi.MapInput
}

func (IpGroupState) ElementType added in v1.19.0

func (IpGroupState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL