1. Packages
  2. AWS
  3. API Docs
  4. ssm
  5. ServiceSetting
AWS v6.75.0 published on Wednesday, Apr 2, 2025 by Pulumi

aws.ssm.ServiceSetting

Explore with Pulumi AI

This setting defines how a user interacts with or uses a service or a feature of a service.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const testSetting = new aws.ssm.ServiceSetting("test_setting", {
    settingId: "arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled",
    settingValue: "true",
});
Copy
import pulumi
import pulumi_aws as aws

test_setting = aws.ssm.ServiceSetting("test_setting",
    setting_id="arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled",
    setting_value="true")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ssm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ssm.NewServiceSetting(ctx, "test_setting", &ssm.ServiceSettingArgs{
			SettingId:    pulumi.String("arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled"),
			SettingValue: pulumi.String("true"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var testSetting = new Aws.Ssm.ServiceSetting("test_setting", new()
    {
        SettingId = "arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled",
        SettingValue = "true",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ssm.ServiceSetting;
import com.pulumi.aws.ssm.ServiceSettingArgs;
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 testSetting = new ServiceSetting("testSetting", ServiceSettingArgs.builder()
            .settingId("arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled")
            .settingValue("true")
            .build());

    }
}
Copy
resources:
  testSetting:
    type: aws:ssm:ServiceSetting
    name: test_setting
    properties:
      settingId: arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled
      settingValue: 'true'
Copy

Create ServiceSetting Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ServiceSetting(name: string, args: ServiceSettingArgs, opts?: CustomResourceOptions);
@overload
def ServiceSetting(resource_name: str,
                   args: ServiceSettingArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def ServiceSetting(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   setting_id: Optional[str] = None,
                   setting_value: Optional[str] = None)
func NewServiceSetting(ctx *Context, name string, args ServiceSettingArgs, opts ...ResourceOption) (*ServiceSetting, error)
public ServiceSetting(string name, ServiceSettingArgs args, CustomResourceOptions? opts = null)
public ServiceSetting(String name, ServiceSettingArgs args)
public ServiceSetting(String name, ServiceSettingArgs args, CustomResourceOptions options)
type: aws:ssm:ServiceSetting
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ServiceSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ServiceSettingArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ServiceSettingArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ServiceSettingArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ServiceSettingArgs
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 serviceSettingResource = new Aws.Ssm.ServiceSetting("serviceSettingResource", new()
{
    SettingId = "string",
    SettingValue = "string",
});
Copy
example, err := ssm.NewServiceSetting(ctx, "serviceSettingResource", &ssm.ServiceSettingArgs{
	SettingId:    pulumi.String("string"),
	SettingValue: pulumi.String("string"),
})
Copy
var serviceSettingResource = new ServiceSetting("serviceSettingResource", ServiceSettingArgs.builder()
    .settingId("string")
    .settingValue("string")
    .build());
Copy
service_setting_resource = aws.ssm.ServiceSetting("serviceSettingResource",
    setting_id="string",
    setting_value="string")
Copy
const serviceSettingResource = new aws.ssm.ServiceSetting("serviceSettingResource", {
    settingId: "string",
    settingValue: "string",
});
Copy
type: aws:ssm:ServiceSetting
properties:
    settingId: string
    settingValue: string
Copy

ServiceSetting 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 ServiceSetting resource accepts the following input properties:

SettingId This property is required. string
ID of the service setting.
SettingValue This property is required. string
Value of the service setting.
SettingId This property is required. string
ID of the service setting.
SettingValue This property is required. string
Value of the service setting.
settingId This property is required. String
ID of the service setting.
settingValue This property is required. String
Value of the service setting.
settingId This property is required. string
ID of the service setting.
settingValue This property is required. string
Value of the service setting.
setting_id This property is required. str
ID of the service setting.
setting_value This property is required. str
Value of the service setting.
settingId This property is required. String
ID of the service setting.
settingValue This property is required. String
Value of the service setting.

Outputs

All input properties are implicitly available as output properties. Additionally, the ServiceSetting resource produces the following output properties:

Arn string
ARN of the service setting.
Id string
The provider-assigned unique ID for this managed resource.
Status string
Status of the service setting. Value can be Default, Customized or PendingUpdate.
Arn string
ARN of the service setting.
Id string
The provider-assigned unique ID for this managed resource.
Status string
Status of the service setting. Value can be Default, Customized or PendingUpdate.
arn String
ARN of the service setting.
id String
The provider-assigned unique ID for this managed resource.
status String
Status of the service setting. Value can be Default, Customized or PendingUpdate.
arn string
ARN of the service setting.
id string
The provider-assigned unique ID for this managed resource.
status string
Status of the service setting. Value can be Default, Customized or PendingUpdate.
arn str
ARN of the service setting.
id str
The provider-assigned unique ID for this managed resource.
status str
Status of the service setting. Value can be Default, Customized or PendingUpdate.
arn String
ARN of the service setting.
id String
The provider-assigned unique ID for this managed resource.
status String
Status of the service setting. Value can be Default, Customized or PendingUpdate.

Look up Existing ServiceSetting Resource

Get an existing ServiceSetting 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?: ServiceSettingState, opts?: CustomResourceOptions): ServiceSetting
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        setting_id: Optional[str] = None,
        setting_value: Optional[str] = None,
        status: Optional[str] = None) -> ServiceSetting
func GetServiceSetting(ctx *Context, name string, id IDInput, state *ServiceSettingState, opts ...ResourceOption) (*ServiceSetting, error)
public static ServiceSetting Get(string name, Input<string> id, ServiceSettingState? state, CustomResourceOptions? opts = null)
public static ServiceSetting get(String name, Output<String> id, ServiceSettingState state, CustomResourceOptions options)
resources:  _:    type: aws:ssm:ServiceSetting    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Arn string
ARN of the service setting.
SettingId string
ID of the service setting.
SettingValue string
Value of the service setting.
Status string
Status of the service setting. Value can be Default, Customized or PendingUpdate.
Arn string
ARN of the service setting.
SettingId string
ID of the service setting.
SettingValue string
Value of the service setting.
Status string
Status of the service setting. Value can be Default, Customized or PendingUpdate.
arn String
ARN of the service setting.
settingId String
ID of the service setting.
settingValue String
Value of the service setting.
status String
Status of the service setting. Value can be Default, Customized or PendingUpdate.
arn string
ARN of the service setting.
settingId string
ID of the service setting.
settingValue string
Value of the service setting.
status string
Status of the service setting. Value can be Default, Customized or PendingUpdate.
arn str
ARN of the service setting.
setting_id str
ID of the service setting.
setting_value str
Value of the service setting.
status str
Status of the service setting. Value can be Default, Customized or PendingUpdate.
arn String
ARN of the service setting.
settingId String
ID of the service setting.
settingValue String
Value of the service setting.
status String
Status of the service setting. Value can be Default, Customized or PendingUpdate.

Import

Using pulumi import, import AWS SSM Service Setting using the setting_id. For example:

$ pulumi import aws:ssm/serviceSetting:ServiceSetting example arn:aws:ssm:us-east-1:123456789012:servicesetting/ssm/parameter-store/high-throughput-enabled
Copy

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.