1. Packages
  2. AWS Classic
  3. API Docs
  4. chime
  5. SdkvoiceGlobalSettings

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

aws.chime.SdkvoiceGlobalSettings

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

    Resource for managing Amazon Chime SDK Voice Global Settings.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.chime.SdkvoiceGlobalSettings("example", {voiceConnector: {
        cdrBucket: "example-bucket-name",
    }});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.chime.SdkvoiceGlobalSettings("example", voice_connector=aws.chime.SdkvoiceGlobalSettingsVoiceConnectorArgs(
        cdr_bucket="example-bucket-name",
    ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/chime"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := chime.NewSdkvoiceGlobalSettings(ctx, "example", &chime.SdkvoiceGlobalSettingsArgs{
    			VoiceConnector: &chime.SdkvoiceGlobalSettingsVoiceConnectorArgs{
    				CdrBucket: pulumi.String("example-bucket-name"),
    			},
    		})
    		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.Chime.SdkvoiceGlobalSettings("example", new()
        {
            VoiceConnector = new Aws.Chime.Inputs.SdkvoiceGlobalSettingsVoiceConnectorArgs
            {
                CdrBucket = "example-bucket-name",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.chime.SdkvoiceGlobalSettings;
    import com.pulumi.aws.chime.SdkvoiceGlobalSettingsArgs;
    import com.pulumi.aws.chime.inputs.SdkvoiceGlobalSettingsVoiceConnectorArgs;
    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 SdkvoiceGlobalSettings("example", SdkvoiceGlobalSettingsArgs.builder()        
                .voiceConnector(SdkvoiceGlobalSettingsVoiceConnectorArgs.builder()
                    .cdrBucket("example-bucket-name")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:chime:SdkvoiceGlobalSettings
        properties:
          voiceConnector:
            cdrBucket: example-bucket-name
    

    Create SdkvoiceGlobalSettings Resource

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

    Constructor syntax

    new SdkvoiceGlobalSettings(name: string, args: SdkvoiceGlobalSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def SdkvoiceGlobalSettings(resource_name: str,
                               args: SdkvoiceGlobalSettingsArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def SdkvoiceGlobalSettings(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               voice_connector: Optional[SdkvoiceGlobalSettingsVoiceConnectorArgs] = None)
    func NewSdkvoiceGlobalSettings(ctx *Context, name string, args SdkvoiceGlobalSettingsArgs, opts ...ResourceOption) (*SdkvoiceGlobalSettings, error)
    public SdkvoiceGlobalSettings(string name, SdkvoiceGlobalSettingsArgs args, CustomResourceOptions? opts = null)
    public SdkvoiceGlobalSettings(String name, SdkvoiceGlobalSettingsArgs args)
    public SdkvoiceGlobalSettings(String name, SdkvoiceGlobalSettingsArgs args, CustomResourceOptions options)
    
    type: aws:chime:SdkvoiceGlobalSettings
    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 SdkvoiceGlobalSettingsArgs
    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 SdkvoiceGlobalSettingsArgs
    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 SdkvoiceGlobalSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SdkvoiceGlobalSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SdkvoiceGlobalSettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var sdkvoiceGlobalSettingsResource = new Aws.Chime.SdkvoiceGlobalSettings("sdkvoiceGlobalSettingsResource", new()
    {
        VoiceConnector = new Aws.Chime.Inputs.SdkvoiceGlobalSettingsVoiceConnectorArgs
        {
            CdrBucket = "string",
        },
    });
    
    example, err := chime.NewSdkvoiceGlobalSettings(ctx, "sdkvoiceGlobalSettingsResource", &chime.SdkvoiceGlobalSettingsArgs{
    	VoiceConnector: &chime.SdkvoiceGlobalSettingsVoiceConnectorArgs{
    		CdrBucket: pulumi.String("string"),
    	},
    })
    
    var sdkvoiceGlobalSettingsResource = new SdkvoiceGlobalSettings("sdkvoiceGlobalSettingsResource", SdkvoiceGlobalSettingsArgs.builder()        
        .voiceConnector(SdkvoiceGlobalSettingsVoiceConnectorArgs.builder()
            .cdrBucket("string")
            .build())
        .build());
    
    sdkvoice_global_settings_resource = aws.chime.SdkvoiceGlobalSettings("sdkvoiceGlobalSettingsResource", voice_connector=aws.chime.SdkvoiceGlobalSettingsVoiceConnectorArgs(
        cdr_bucket="string",
    ))
    
    const sdkvoiceGlobalSettingsResource = new aws.chime.SdkvoiceGlobalSettings("sdkvoiceGlobalSettingsResource", {voiceConnector: {
        cdrBucket: "string",
    }});
    
    type: aws:chime:SdkvoiceGlobalSettings
    properties:
        voiceConnector:
            cdrBucket: string
    

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

    VoiceConnector SdkvoiceGlobalSettingsVoiceConnector
    The Voice Connector settings. See voice_connector.
    VoiceConnector SdkvoiceGlobalSettingsVoiceConnectorArgs
    The Voice Connector settings. See voice_connector.
    voiceConnector SdkvoiceGlobalSettingsVoiceConnector
    The Voice Connector settings. See voice_connector.
    voiceConnector SdkvoiceGlobalSettingsVoiceConnector
    The Voice Connector settings. See voice_connector.
    voice_connector SdkvoiceGlobalSettingsVoiceConnectorArgs
    The Voice Connector settings. See voice_connector.
    voiceConnector Property Map
    The Voice Connector settings. See voice_connector.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SdkvoiceGlobalSettings 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 SdkvoiceGlobalSettings Resource

    Get an existing SdkvoiceGlobalSettings 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?: SdkvoiceGlobalSettingsState, opts?: CustomResourceOptions): SdkvoiceGlobalSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            voice_connector: Optional[SdkvoiceGlobalSettingsVoiceConnectorArgs] = None) -> SdkvoiceGlobalSettings
    func GetSdkvoiceGlobalSettings(ctx *Context, name string, id IDInput, state *SdkvoiceGlobalSettingsState, opts ...ResourceOption) (*SdkvoiceGlobalSettings, error)
    public static SdkvoiceGlobalSettings Get(string name, Input<string> id, SdkvoiceGlobalSettingsState? state, CustomResourceOptions? opts = null)
    public static SdkvoiceGlobalSettings get(String name, Output<String> id, SdkvoiceGlobalSettingsState 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.
    The following state arguments are supported:
    VoiceConnector SdkvoiceGlobalSettingsVoiceConnector
    The Voice Connector settings. See voice_connector.
    VoiceConnector SdkvoiceGlobalSettingsVoiceConnectorArgs
    The Voice Connector settings. See voice_connector.
    voiceConnector SdkvoiceGlobalSettingsVoiceConnector
    The Voice Connector settings. See voice_connector.
    voiceConnector SdkvoiceGlobalSettingsVoiceConnector
    The Voice Connector settings. See voice_connector.
    voice_connector SdkvoiceGlobalSettingsVoiceConnectorArgs
    The Voice Connector settings. See voice_connector.
    voiceConnector Property Map
    The Voice Connector settings. See voice_connector.

    Supporting Types

    SdkvoiceGlobalSettingsVoiceConnector, SdkvoiceGlobalSettingsVoiceConnectorArgs

    CdrBucket string
    The S3 bucket that stores the Voice Connector's call detail records.
    CdrBucket string
    The S3 bucket that stores the Voice Connector's call detail records.
    cdrBucket String
    The S3 bucket that stores the Voice Connector's call detail records.
    cdrBucket string
    The S3 bucket that stores the Voice Connector's call detail records.
    cdr_bucket str
    The S3 bucket that stores the Voice Connector's call detail records.
    cdrBucket String
    The S3 bucket that stores the Voice Connector's call detail records.

    Import

    Using pulumi import, import AWS Chime SDK Voice Global Settings using the id (AWS account ID). For example:

    $ pulumi import aws:chime/sdkvoiceGlobalSettings:SdkvoiceGlobalSettings example 123456789012
    

    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.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi