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",
});
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")
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
})
}
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",
});
});
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());
}
}
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'
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 string
- The unique name of the resource.
- args ServiceSettingArgs
- 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 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 string
- The unique name of the resource.
- args ServiceSettingArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceSettingArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
example, err := ssm.NewServiceSetting(ctx, "serviceSettingResource", &ssm.ServiceSettingArgs{
SettingId: pulumi.String("string"),
SettingValue: pulumi.String("string"),
})
var serviceSettingResource = new ServiceSetting("serviceSettingResource", ServiceSettingArgs.builder()
.settingId("string")
.settingValue("string")
.build());
service_setting_resource = aws.ssm.ServiceSetting("serviceSettingResource",
setting_id="string",
setting_value="string")
const serviceSettingResource = new aws.ssm.ServiceSetting("serviceSettingResource", {
settingId: "string",
settingValue: "string",
});
type: aws:ssm:ServiceSetting
properties:
settingId: string
settingValue: string
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:
- Setting
Id string - ID of the service setting.
- Setting
Value string - Value of the service setting.
- Setting
Id string - ID of the service setting.
- Setting
Value string - Value of the service setting.
- setting
Id String - ID of the service setting.
- setting
Value String - Value of the service setting.
- setting
Id string - ID of the service setting.
- setting
Value string - Value of the service setting.
- setting_
id str - ID of the service setting.
- setting_
value str - Value of the service setting.
- setting
Id String - ID of the service setting.
- setting
Value 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:
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)
Resource lookup is not supported in YAML
- 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.
- Arn string
- ARN of the service setting.
- Setting
Id string - ID of the service setting.
- Setting
Value string - Value of the service setting.
- Status string
- Status of the service setting. Value can be
Default
,Customized
orPendingUpdate
.
- Arn string
- ARN of the service setting.
- Setting
Id string - ID of the service setting.
- Setting
Value string - Value of the service setting.
- Status string
- Status of the service setting. Value can be
Default
,Customized
orPendingUpdate
.
- arn String
- ARN of the service setting.
- setting
Id String - ID of the service setting.
- setting
Value String - Value of the service setting.
- status String
- Status of the service setting. Value can be
Default
,Customized
orPendingUpdate
.
- arn string
- ARN of the service setting.
- setting
Id string - ID of the service setting.
- setting
Value string - Value of the service setting.
- status string
- Status of the service setting. Value can be
Default
,Customized
orPendingUpdate
.
- 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
orPendingUpdate
.
- arn String
- ARN of the service setting.
- setting
Id String - ID of the service setting.
- setting
Value String - Value of the service setting.
- status String
- Status of the service setting. Value can be
Default
,Customized
orPendingUpdate
.
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
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.