aws.amp.QueryLoggingConfiguration
Explore with Pulumi AI
Manages an Amazon Managed Service for Prometheus (AMP) Query Logging Configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.amp.Workspace("example", {alias: "example"});
const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/prometheus/query-logs/example"});
const exampleQueryLoggingConfiguration = new aws.amp.QueryLoggingConfiguration("example", {
workspaceId: example.id,
destinations: [{
cloudwatchLogs: {
logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
},
filters: {
qspThreshold: 1000,
},
}],
});
import pulumi
import pulumi_aws as aws
example = aws.amp.Workspace("example", alias="example")
example_log_group = aws.cloudwatch.LogGroup("example", name="/aws/prometheus/query-logs/example")
example_query_logging_configuration = aws.amp.QueryLoggingConfiguration("example",
workspace_id=example.id,
destinations=[{
"cloudwatch_logs": {
"log_group_arn": example_log_group.arn.apply(lambda arn: f"{arn}:*"),
},
"filters": {
"qsp_threshold": 1000,
},
}])
package main
import (
"fmt"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/amp"
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/cloudwatch"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := amp.NewWorkspace(ctx, "example", &.WorkspaceArgs{
Alias: pulumi.String("example"),
})
if err != nil {
return err
}
exampleLogGroup, err := cloudwatch.NewLogGroup(ctx, "example", &cloudwatch.LogGroupArgs{
Name: pulumi.String("/aws/prometheus/query-logs/example"),
})
if err != nil {
return err
}
_, err = amp.NewQueryLoggingConfiguration(ctx, "example", &.QueryLoggingConfigurationArgs{
WorkspaceId: example.ID(),
Destinations: amp.QueryLoggingConfigurationDestinationArray{
&.QueryLoggingConfigurationDestinationArgs{
CloudwatchLogs: &.QueryLoggingConfigurationDestinationCloudwatchLogsArgs{
LogGroupArn: exampleLogGroup.Arn.ApplyT(func(arn string) (string, error) {
return fmt.Sprintf("%v:*", arn), nil
}).(pulumi.StringOutput),
},
Filters: &.QueryLoggingConfigurationDestinationFiltersArgs{
QspThreshold: pulumi.Int(1000),
},
},
},
})
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.Amp.Workspace("example", new()
{
Alias = "example",
});
var exampleLogGroup = new Aws.CloudWatch.LogGroup("example", new()
{
Name = "/aws/prometheus/query-logs/example",
});
var exampleQueryLoggingConfiguration = new Aws.Amp.QueryLoggingConfiguration("example", new()
{
WorkspaceId = example.Id,
Destinations = new[]
{
new Aws.Amp.Inputs.QueryLoggingConfigurationDestinationArgs
{
CloudwatchLogs = new Aws.Amp.Inputs.QueryLoggingConfigurationDestinationCloudwatchLogsArgs
{
LogGroupArn = exampleLogGroup.Arn.Apply(arn => $"{arn}:*"),
},
Filters = new Aws.Amp.Inputs.QueryLoggingConfigurationDestinationFiltersArgs
{
QspThreshold = 1000,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.amp.Workspace;
import com.pulumi.aws.amp.WorkspaceArgs;
import com.pulumi.aws.cloudwatch.LogGroup;
import com.pulumi.aws.cloudwatch.LogGroupArgs;
import com.pulumi.aws.amp.QueryLoggingConfiguration;
import com.pulumi.aws.amp.QueryLoggingConfigurationArgs;
import com.pulumi.aws.amp.inputs.QueryLoggingConfigurationDestinationArgs;
import com.pulumi.aws.amp.inputs.QueryLoggingConfigurationDestinationCloudwatchLogsArgs;
import com.pulumi.aws.amp.inputs.QueryLoggingConfigurationDestinationFiltersArgs;
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 Workspace("example", WorkspaceArgs.builder()
.alias("example")
.build());
var exampleLogGroup = new LogGroup("exampleLogGroup", LogGroupArgs.builder()
.name("/aws/prometheus/query-logs/example")
.build());
var exampleQueryLoggingConfiguration = new QueryLoggingConfiguration("exampleQueryLoggingConfiguration", QueryLoggingConfigurationArgs.builder()
.workspaceId(example.id())
.destinations(QueryLoggingConfigurationDestinationArgs.builder()
.cloudwatchLogs(QueryLoggingConfigurationDestinationCloudwatchLogsArgs.builder()
.logGroupArn(exampleLogGroup.arn().applyValue(_arn -> String.format("%s:*", _arn)))
.build())
.filters(QueryLoggingConfigurationDestinationFiltersArgs.builder()
.qspThreshold(1000)
.build())
.build())
.build());
}
}
resources:
example:
type: aws:amp:Workspace
properties:
alias: example
exampleLogGroup:
type: aws:cloudwatch:LogGroup
name: example
properties:
name: /aws/prometheus/query-logs/example
exampleQueryLoggingConfiguration:
type: aws:amp:QueryLoggingConfiguration
name: example
properties:
workspaceId: ${example.id}
destinations:
- cloudwatchLogs:
logGroupArn: ${exampleLogGroup.arn}:*
filters:
qspThreshold: 1000
Create QueryLoggingConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new QueryLoggingConfiguration(name: string, args: QueryLoggingConfigurationArgs, opts?: CustomResourceOptions);
@overload
def QueryLoggingConfiguration(resource_name: str,
args: QueryLoggingConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def QueryLoggingConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
workspace_id: Optional[str] = None,
destinations: Optional[Sequence[QueryLoggingConfigurationDestinationArgs]] = None,
region: Optional[str] = None,
timeouts: Optional[QueryLoggingConfigurationTimeoutsArgs] = None)
func NewQueryLoggingConfiguration(ctx *Context, name string, args QueryLoggingConfigurationArgs, opts ...ResourceOption) (*QueryLoggingConfiguration, error)
public QueryLoggingConfiguration(string name, QueryLoggingConfigurationArgs args, CustomResourceOptions? opts = null)
public QueryLoggingConfiguration(String name, QueryLoggingConfigurationArgs args)
public QueryLoggingConfiguration(String name, QueryLoggingConfigurationArgs args, CustomResourceOptions options)
type: aws:amp:QueryLoggingConfiguration
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 QueryLoggingConfigurationArgs
- 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 QueryLoggingConfigurationArgs
- 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 QueryLoggingConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args QueryLoggingConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args QueryLoggingConfigurationArgs
- 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 queryLoggingConfigurationResource = new Aws.Amp.QueryLoggingConfiguration("queryLoggingConfigurationResource", new()
{
WorkspaceId = "string",
Destinations = new[]
{
new Aws.Amp.Inputs.QueryLoggingConfigurationDestinationArgs
{
CloudwatchLogs = new Aws.Amp.Inputs.QueryLoggingConfigurationDestinationCloudwatchLogsArgs
{
LogGroupArn = "string",
},
Filters = new Aws.Amp.Inputs.QueryLoggingConfigurationDestinationFiltersArgs
{
QspThreshold = 0,
},
},
},
Region = "string",
Timeouts = new Aws.Amp.Inputs.QueryLoggingConfigurationTimeoutsArgs
{
Create = "string",
Delete = "string",
Update = "string",
},
});
example, err := amp.NewQueryLoggingConfiguration(ctx, "queryLoggingConfigurationResource", &.QueryLoggingConfigurationArgs{
WorkspaceId: pulumi.String("string"),
Destinations: amp.QueryLoggingConfigurationDestinationArray{
&.QueryLoggingConfigurationDestinationArgs{
CloudwatchLogs: &.QueryLoggingConfigurationDestinationCloudwatchLogsArgs{
LogGroupArn: pulumi.String("string"),
},
Filters: &.QueryLoggingConfigurationDestinationFiltersArgs{
QspThreshold: pulumi.Int(0),
},
},
},
Region: pulumi.String("string"),
Timeouts: &.QueryLoggingConfigurationTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
var queryLoggingConfigurationResource = new QueryLoggingConfiguration("queryLoggingConfigurationResource", QueryLoggingConfigurationArgs.builder()
.workspaceId("string")
.destinations(QueryLoggingConfigurationDestinationArgs.builder()
.cloudwatchLogs(QueryLoggingConfigurationDestinationCloudwatchLogsArgs.builder()
.logGroupArn("string")
.build())
.filters(QueryLoggingConfigurationDestinationFiltersArgs.builder()
.qspThreshold(0)
.build())
.build())
.region("string")
.timeouts(QueryLoggingConfigurationTimeoutsArgs.builder()
.create("string")
.delete("string")
.update("string")
.build())
.build());
query_logging_configuration_resource = aws.amp.QueryLoggingConfiguration("queryLoggingConfigurationResource",
workspace_id="string",
destinations=[{
"cloudwatch_logs": {
"log_group_arn": "string",
},
"filters": {
"qsp_threshold": 0,
},
}],
region="string",
timeouts={
"create": "string",
"delete": "string",
"update": "string",
})
const queryLoggingConfigurationResource = new aws.amp.QueryLoggingConfiguration("queryLoggingConfigurationResource", {
workspaceId: "string",
destinations: [{
cloudwatchLogs: {
logGroupArn: "string",
},
filters: {
qspThreshold: 0,
},
}],
region: "string",
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:amp:QueryLoggingConfiguration
properties:
destinations:
- cloudwatchLogs:
logGroupArn: string
filters:
qspThreshold: 0
region: string
timeouts:
create: string
delete: string
update: string
workspaceId: string
QueryLoggingConfiguration 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 QueryLoggingConfiguration resource accepts the following input properties:
- Workspace
Id string The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- Destinations
List<Query
Logging Configuration Destination> - Configuration block for the logging destinations. See
destinations
. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Timeouts
Query
Logging Configuration Timeouts
- Workspace
Id string The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- Destinations
[]Query
Logging Configuration Destination Args - Configuration block for the logging destinations. See
destinations
. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Timeouts
Query
Logging Configuration Timeouts Args
- workspace
Id String The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- destinations
List<Query
Logging Configuration Destination> - Configuration block for the logging destinations. See
destinations
. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
Query
Logging Configuration Timeouts
- workspace
Id string The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- destinations
Query
Logging Configuration Destination[] - Configuration block for the logging destinations. See
destinations
. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
Query
Logging Configuration Timeouts
- workspace_
id str The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- destinations
Sequence[Query
Logging Configuration Destination Args] - Configuration block for the logging destinations. See
destinations
. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
Query
Logging Configuration Timeouts Args
- workspace
Id String The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- destinations List<Property Map>
- Configuration block for the logging destinations. See
destinations
. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the QueryLoggingConfiguration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing QueryLoggingConfiguration Resource
Get an existing QueryLoggingConfiguration 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?: QueryLoggingConfigurationState, opts?: CustomResourceOptions): QueryLoggingConfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
destinations: Optional[Sequence[QueryLoggingConfigurationDestinationArgs]] = None,
region: Optional[str] = None,
timeouts: Optional[QueryLoggingConfigurationTimeoutsArgs] = None,
workspace_id: Optional[str] = None) -> QueryLoggingConfiguration
func GetQueryLoggingConfiguration(ctx *Context, name string, id IDInput, state *QueryLoggingConfigurationState, opts ...ResourceOption) (*QueryLoggingConfiguration, error)
public static QueryLoggingConfiguration Get(string name, Input<string> id, QueryLoggingConfigurationState? state, CustomResourceOptions? opts = null)
public static QueryLoggingConfiguration get(String name, Output<String> id, QueryLoggingConfigurationState state, CustomResourceOptions options)
resources: _: type: aws:amp:QueryLoggingConfiguration 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.
- Destinations
List<Query
Logging Configuration Destination> - Configuration block for the logging destinations. See
destinations
. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Timeouts
Query
Logging Configuration Timeouts - Workspace
Id string The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- Destinations
[]Query
Logging Configuration Destination Args - Configuration block for the logging destinations. See
destinations
. - Region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- Timeouts
Query
Logging Configuration Timeouts Args - Workspace
Id string The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- destinations
List<Query
Logging Configuration Destination> - Configuration block for the logging destinations. See
destinations
. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
Query
Logging Configuration Timeouts - workspace
Id String The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- destinations
Query
Logging Configuration Destination[] - Configuration block for the logging destinations. See
destinations
. - region string
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
Query
Logging Configuration Timeouts - workspace
Id string The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- destinations
Sequence[Query
Logging Configuration Destination Args] - Configuration block for the logging destinations. See
destinations
. - region str
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts
Query
Logging Configuration Timeouts Args - workspace_
id str The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
- destinations List<Property Map>
- Configuration block for the logging destinations. See
destinations
. - region String
- Region where this resource will be managed. Defaults to the Region set in the provider configuration.
- timeouts Property Map
- workspace
Id String The ID of the AMP workspace for which to configure query logging.
The following arguments are optional:
Supporting Types
QueryLoggingConfigurationDestination, QueryLoggingConfigurationDestinationArgs
- Cloudwatch
Logs QueryLogging Configuration Destination Cloudwatch Logs - Configuration block for CloudWatch Logs destination. See
cloudwatch_logs
. - Filters
Query
Logging Configuration Destination Filters - A list of filter configurations that specify which logs should be sent to the destination. See
filters
.
- Cloudwatch
Logs QueryLogging Configuration Destination Cloudwatch Logs - Configuration block for CloudWatch Logs destination. See
cloudwatch_logs
. - Filters
Query
Logging Configuration Destination Filters - A list of filter configurations that specify which logs should be sent to the destination. See
filters
.
- cloudwatch
Logs QueryLogging Configuration Destination Cloudwatch Logs - Configuration block for CloudWatch Logs destination. See
cloudwatch_logs
. - filters
Query
Logging Configuration Destination Filters - A list of filter configurations that specify which logs should be sent to the destination. See
filters
.
- cloudwatch
Logs QueryLogging Configuration Destination Cloudwatch Logs - Configuration block for CloudWatch Logs destination. See
cloudwatch_logs
. - filters
Query
Logging Configuration Destination Filters - A list of filter configurations that specify which logs should be sent to the destination. See
filters
.
- cloudwatch_
logs QueryLogging Configuration Destination Cloudwatch Logs - Configuration block for CloudWatch Logs destination. See
cloudwatch_logs
. - filters
Query
Logging Configuration Destination Filters - A list of filter configurations that specify which logs should be sent to the destination. See
filters
.
- cloudwatch
Logs Property Map - Configuration block for CloudWatch Logs destination. See
cloudwatch_logs
. - filters Property Map
- A list of filter configurations that specify which logs should be sent to the destination. See
filters
.
QueryLoggingConfigurationDestinationCloudwatchLogs, QueryLoggingConfigurationDestinationCloudwatchLogsArgs
- Log
Group stringArn - The ARN of the CloudWatch log group to which query logs will be sent.
- Log
Group stringArn - The ARN of the CloudWatch log group to which query logs will be sent.
- log
Group StringArn - The ARN of the CloudWatch log group to which query logs will be sent.
- log
Group stringArn - The ARN of the CloudWatch log group to which query logs will be sent.
- log_
group_ strarn - The ARN of the CloudWatch log group to which query logs will be sent.
- log
Group StringArn - The ARN of the CloudWatch log group to which query logs will be sent.
QueryLoggingConfigurationDestinationFilters, QueryLoggingConfigurationDestinationFiltersArgs
- Qsp
Threshold int - The Query Samples Processed (QSP) threshold above which queries will be logged. Queries processing more samples than this threshold will be captured in logs.
- Qsp
Threshold int - The Query Samples Processed (QSP) threshold above which queries will be logged. Queries processing more samples than this threshold will be captured in logs.
- qsp
Threshold Integer - The Query Samples Processed (QSP) threshold above which queries will be logged. Queries processing more samples than this threshold will be captured in logs.
- qsp
Threshold number - The Query Samples Processed (QSP) threshold above which queries will be logged. Queries processing more samples than this threshold will be captured in logs.
- qsp_
threshold int - The Query Samples Processed (QSP) threshold above which queries will be logged. Queries processing more samples than this threshold will be captured in logs.
- qsp
Threshold Number - The Query Samples Processed (QSP) threshold above which queries will be logged. Queries processing more samples than this threshold will be captured in logs.
QueryLoggingConfigurationTimeouts, QueryLoggingConfigurationTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aws
Terraform Provider.