Class VoiceConnectorOrganization


  • public class VoiceConnectorOrganization
    extends com.pulumi.resources.CustomResource
    Enable origination settings to control inbound calling to your SIP infrastructure. ## Example Usage ```java package generated_program; import com.pulumi.Context; import com.pulumi.Pulumi; import com.pulumi.core.Output; import com.pulumi.aws.chime.VoiceConnector; import com.pulumi.aws.chime.VoiceConnectorArgs; import com.pulumi.aws.chime.VoiceConnectorOrganization; import com.pulumi.aws.chime.VoiceConnectorOrganizationArgs; import com.pulumi.aws.chime.inputs.VoiceConnectorOrganizationRouteArgs; 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 defaultVoiceConnector = new VoiceConnector("defaultVoiceConnector", VoiceConnectorArgs.builder() .requireEncryption(true) .build()); var defaultVoiceConnectorOrganization = new VoiceConnectorOrganization("defaultVoiceConnectorOrganization", VoiceConnectorOrganizationArgs.builder() .disabled(false) .voiceConnectorId(defaultVoiceConnector.id()) .routes( VoiceConnectorOrganizationRouteArgs.builder() .host("127.0.0.1") .port(8081) .protocol("TCP") .priority(1) .weight(1) .build(), VoiceConnectorOrganizationRouteArgs.builder() .host("127.0.0.2") .port(8082) .protocol("TCP") .priority(2) .weight(10) .build()) .build()); } } ``` ## Import Using `pulumi import`, import Chime Voice Connector Origination using the `voice_connector_id`. For example: ```sh $ pulumi import aws:chime/voiceConnectorOrganization:VoiceConnectorOrganization default abcdef1ghij2klmno3pqr4 ```
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.pulumi.resources.CustomResource

        com.pulumi.resources.CustomResource.CustomResourceInternal
      • Nested classes/interfaces inherited from class com.pulumi.resources.Resource

        com.pulumi.resources.Resource.LazyField<T extends java.lang.Object>, com.pulumi.resources.Resource.LazyFields, com.pulumi.resources.Resource.ResourceInternal
    • Field Summary

      • Fields inherited from class com.pulumi.resources.Resource

        childResources, remote
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> disabled()  
      static VoiceConnectorOrganization get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, VoiceConnectorOrganizationState state, com.pulumi.resources.CustomResourceOptions options)
      Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
      com.pulumi.core.Output<java.util.List<VoiceConnectorOrganizationRoute>> routes()  
      com.pulumi.core.Output<java.lang.String> voiceConnectorId()  
      • Methods inherited from class com.pulumi.resources.CustomResource

        getId, id, idFuture
      • Methods inherited from class com.pulumi.resources.Resource

        getChildResources, getResourceName, getResourceType, getUrn, pulumiChildResources, pulumiResourceName, pulumiResourceType, urn
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VoiceConnectorOrganization

        public VoiceConnectorOrganization​(java.lang.String name)
        Parameters:
        name - The _unique_ name of the resulting resource.
      • VoiceConnectorOrganization

        public VoiceConnectorOrganization​(java.lang.String name,
                                          VoiceConnectorOrganizationArgs args)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
      • VoiceConnectorOrganization

        public VoiceConnectorOrganization​(java.lang.String name,
                                          VoiceConnectorOrganizationArgs args,
                                          @Nullable
                                          com.pulumi.resources.CustomResourceOptions options)
        Parameters:
        name - The _unique_ name of the resulting resource.
        args - The arguments to use to populate this resource's properties.
        options - A bag of options that control this resource's behavior.
    • Method Detail

      • disabled

        public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> disabled()
        Returns:
        When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector.
      • routes

        public com.pulumi.core.Output<java.util.List<VoiceConnectorOrganizationRoute>> routes()
        Returns:
        Set of call distribution properties defined for your SIP hosts. See route below for more details. Minimum of 1. Maximum of 20.
      • voiceConnectorId

        public com.pulumi.core.Output<java.lang.String> voiceConnectorId()
        Returns:
        The Amazon Chime Voice Connector ID.
      • get

        public static VoiceConnectorOrganization get​(java.lang.String name,
                                                     com.pulumi.core.Output<java.lang.String> id,
                                                     @Nullable
                                                     VoiceConnectorOrganizationState state,
                                                     @Nullable
                                                     com.pulumi.resources.CustomResourceOptions options)
        Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
        Parameters:
        name - The _unique_ name of the resulting resource.
        id - The _unique_ provider ID of the resource to lookup.
        state -
        options - Optional settings to control the behavior of the CustomResource.