AWS Native is in preview. AWS Classic is fully supported.
aws-native.aps.Workspace
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Resource Type definition for AWS::APS::Workspace
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var apsWorkspace = new AwsNative.Aps.Workspace("apsWorkspace", new()
{
Alias = "TestWorkspace",
Tags = new[]
{
new AwsNative.Aps.Inputs.WorkspaceTagArgs
{
Key = "BusinessPurpose",
Value = "LoadTesting",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/aps"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aps.NewWorkspace(ctx, "apsWorkspace", &aps.WorkspaceArgs{
Alias: pulumi.String("TestWorkspace"),
Tags: []aps.WorkspaceTagArgs{
{
Key: pulumi.String("BusinessPurpose"),
Value: pulumi.String("LoadTesting"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
aps_workspace = aws_native.aps.Workspace("apsWorkspace",
alias="TestWorkspace",
tags=[aws_native.aps.WorkspaceTagArgs(
key="BusinessPurpose",
value="LoadTesting",
)])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const apsWorkspace = new aws_native.aps.Workspace("apsWorkspace", {
alias: "TestWorkspace",
tags: [{
key: "BusinessPurpose",
value: "LoadTesting",
}],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var apsWorkspace = new AwsNative.Aps.Workspace("apsWorkspace", new()
{
Alias = "TestWorkspace",
LoggingConfiguration = new AwsNative.Aps.Inputs.WorkspaceLoggingConfigurationArgs
{
LogGroupArn = "arn:aws:logs:{region}:{account}:log-group:test-log-group:*",
},
Tags = new[]
{
new AwsNative.Aps.Inputs.WorkspaceTagArgs
{
Key = "BusinessPurpose",
Value = "LoadTesting",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/aps"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aps.NewWorkspace(ctx, "apsWorkspace", &aps.WorkspaceArgs{
Alias: pulumi.String("TestWorkspace"),
LoggingConfiguration: &aps.WorkspaceLoggingConfigurationArgs{
LogGroupArn: pulumi.String("arn:aws:logs:{region}:{account}:log-group:test-log-group:*"),
},
Tags: []aps.WorkspaceTagArgs{
{
Key: pulumi.String("BusinessPurpose"),
Value: pulumi.String("LoadTesting"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
aps_workspace = aws_native.aps.Workspace("apsWorkspace",
alias="TestWorkspace",
logging_configuration=aws_native.aps.WorkspaceLoggingConfigurationArgs(
log_group_arn="arn:aws:logs:{region}:{account}:log-group:test-log-group:*",
),
tags=[aws_native.aps.WorkspaceTagArgs(
key="BusinessPurpose",
value="LoadTesting",
)])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const apsWorkspace = new aws_native.aps.Workspace("apsWorkspace", {
alias: "TestWorkspace",
loggingConfiguration: {
logGroupArn: "arn:aws:logs:{region}:{account}:log-group:test-log-group:*",
},
tags: [{
key: "BusinessPurpose",
value: "LoadTesting",
}],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var apsWorkspace = new AwsNative.Aps.Workspace("apsWorkspace", new()
{
Alias = "TestWorkspace",
LoggingConfiguration = new AwsNative.Aps.Inputs.WorkspaceLoggingConfigurationArgs
{
LogGroupArn = "arn:aws:logs:{region}:{account}:log-group:test-log-group:*",
},
Tags = new[]
{
new AwsNative.Aps.Inputs.WorkspaceTagArgs
{
Key = "BusinessPurpose",
Value = "LoadTesting",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/aps"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aps.NewWorkspace(ctx, "apsWorkspace", &aps.WorkspaceArgs{
Alias: pulumi.String("TestWorkspace"),
LoggingConfiguration: &aps.WorkspaceLoggingConfigurationArgs{
LogGroupArn: pulumi.String("arn:aws:logs:{region}:{account}:log-group:test-log-group:*"),
},
Tags: []aps.WorkspaceTagArgs{
{
Key: pulumi.String("BusinessPurpose"),
Value: pulumi.String("LoadTesting"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
aps_workspace = aws_native.aps.Workspace("apsWorkspace",
alias="TestWorkspace",
logging_configuration=aws_native.aps.WorkspaceLoggingConfigurationArgs(
log_group_arn="arn:aws:logs:{region}:{account}:log-group:test-log-group:*",
),
tags=[aws_native.aps.WorkspaceTagArgs(
key="BusinessPurpose",
value="LoadTesting",
)])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const apsWorkspace = new aws_native.aps.Workspace("apsWorkspace", {
alias: "TestWorkspace",
loggingConfiguration: {
logGroupArn: "arn:aws:logs:{region}:{account}:log-group:test-log-group:*",
},
tags: [{
key: "BusinessPurpose",
value: "LoadTesting",
}],
});
Coming soon!
Create Workspace Resource
new Workspace(name: string, args?: WorkspaceArgs, opts?: CustomResourceOptions);
@overload
def Workspace(resource_name: str,
opts: Optional[ResourceOptions] = None,
alert_manager_definition: Optional[str] = None,
alias: Optional[str] = None,
logging_configuration: Optional[WorkspaceLoggingConfigurationArgs] = None,
tags: Optional[Sequence[WorkspaceTagArgs]] = None)
@overload
def Workspace(resource_name: str,
args: Optional[WorkspaceArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewWorkspace(ctx *Context, name string, args *WorkspaceArgs, opts ...ResourceOption) (*Workspace, error)
public Workspace(string name, WorkspaceArgs? args = null, CustomResourceOptions? opts = null)
public Workspace(String name, WorkspaceArgs args)
public Workspace(String name, WorkspaceArgs args, CustomResourceOptions options)
type: aws-native:aps:Workspace
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkspaceArgs
- 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 WorkspaceArgs
- 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 WorkspaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkspaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Workspace Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Workspace resource accepts the following input properties:
- Alert
Manager stringDefinition The AMP Workspace alert manager definition data
- Alias string
AMP Workspace alias.
- Logging
Configuration Pulumi.Aws Native. Aps. Inputs. Workspace Logging Configuration - List<Pulumi.
Aws Native. Aps. Inputs. Workspace Tag> An array of key-value pairs to apply to this resource.
- Alert
Manager stringDefinition The AMP Workspace alert manager definition data
- Alias string
AMP Workspace alias.
- Logging
Configuration WorkspaceLogging Configuration Args - []Workspace
Tag Args An array of key-value pairs to apply to this resource.
- alert
Manager StringDefinition The AMP Workspace alert manager definition data
- alias String
AMP Workspace alias.
- logging
Configuration WorkspaceLogging Configuration - List<Workspace
Tag> An array of key-value pairs to apply to this resource.
- alert
Manager stringDefinition The AMP Workspace alert manager definition data
- alias string
AMP Workspace alias.
- logging
Configuration WorkspaceLogging Configuration - Workspace
Tag[] An array of key-value pairs to apply to this resource.
- alert_
manager_ strdefinition The AMP Workspace alert manager definition data
- alias str
AMP Workspace alias.
- logging_
configuration WorkspaceLogging Configuration Args - Sequence[Workspace
Tag Args] An array of key-value pairs to apply to this resource.
- alert
Manager StringDefinition The AMP Workspace alert manager definition data
- alias String
AMP Workspace alias.
- logging
Configuration Property Map - List<Property Map>
An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Workspace resource produces the following output properties:
- Arn string
Workspace arn.
- Id string
The provider-assigned unique ID for this managed resource.
- Prometheus
Endpoint string AMP Workspace prometheus endpoint
- Workspace
Id string Required to identify a specific APS Workspace.
- Arn string
Workspace arn.
- Id string
The provider-assigned unique ID for this managed resource.
- Prometheus
Endpoint string AMP Workspace prometheus endpoint
- Workspace
Id string Required to identify a specific APS Workspace.
- arn String
Workspace arn.
- id String
The provider-assigned unique ID for this managed resource.
- prometheus
Endpoint String AMP Workspace prometheus endpoint
- workspace
Id String Required to identify a specific APS Workspace.
- arn string
Workspace arn.
- id string
The provider-assigned unique ID for this managed resource.
- prometheus
Endpoint string AMP Workspace prometheus endpoint
- workspace
Id string Required to identify a specific APS Workspace.
- arn str
Workspace arn.
- id str
The provider-assigned unique ID for this managed resource.
- prometheus_
endpoint str AMP Workspace prometheus endpoint
- workspace_
id str Required to identify a specific APS Workspace.
- arn String
Workspace arn.
- id String
The provider-assigned unique ID for this managed resource.
- prometheus
Endpoint String AMP Workspace prometheus endpoint
- workspace
Id String Required to identify a specific APS Workspace.
Supporting Types
WorkspaceLoggingConfiguration, WorkspaceLoggingConfigurationArgs
- Log
Group stringArn CloudWatch log group ARN
- Log
Group stringArn CloudWatch log group ARN
- log
Group StringArn CloudWatch log group ARN
- log
Group stringArn CloudWatch log group ARN
- log_
group_ strarn CloudWatch log group ARN
- log
Group StringArn CloudWatch log group ARN
WorkspaceTag, WorkspaceTagArgs
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.