Class RadiusSettings


  • public class RadiusSettings
    extends com.pulumi.resources.CustomResource
    Manages a directory's multi-factor authentication (MFA) using a Remote Authentication Dial In User Service (RADIUS) server. ## Example Usage <!--Start PulumiCodeChooser -->
     
     package generated_program;
     
     import com.pulumi.Context;
     import com.pulumi.Pulumi;
     import com.pulumi.core.Output;
     import com.pulumi.aws.directoryservice.RadiusSettings;
     import com.pulumi.aws.directoryservice.RadiusSettingsArgs;
     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 RadiusSettings("example", RadiusSettingsArgs.builder()        
                 .directoryId(exampleAwsDirectoryServiceDirectory.id())
                 .authenticationProtocol("PAP")
                 .displayLabel("example")
                 .radiusPort(1812)
                 .radiusRetries(4)
                 .radiusServers("10.0.1.5")
                 .radiusTimeout(1)
                 .sharedSecret("12345678")
                 .build());
     
         }
     }
     
     
    <!--End PulumiCodeChooser --> ## Import Using `pulumi import`, import RADIUS settings using the directory ID. For example: ```sh $ pulumi import aws:directoryservice/radiusSettings:RadiusSettings example d-926724cf57 ```
    • 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.lang.String> authenticationProtocol()  
      com.pulumi.core.Output<java.lang.String> directoryId()  
      com.pulumi.core.Output<java.lang.String> displayLabel()  
      static RadiusSettings get​(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, RadiusSettingsState 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.lang.Integer> radiusPort()  
      com.pulumi.core.Output<java.lang.Integer> radiusRetries()  
      com.pulumi.core.Output<java.util.List<java.lang.String>> radiusServers()  
      com.pulumi.core.Output<java.lang.Integer> radiusTimeout()  
      com.pulumi.core.Output<java.lang.String> sharedSecret()  
      com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> useSameUsername()  
      • 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

      • RadiusSettings

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

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

        public RadiusSettings​(java.lang.String name,
                              RadiusSettingsArgs 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

      • authenticationProtocol

        public com.pulumi.core.Output<java.lang.String> authenticationProtocol()
        Returns:
        The protocol specified for your RADIUS endpoints. Valid values: `PAP`, `CHAP`, `MS-CHAPv1`, `MS-CHAPv2`.
      • directoryId

        public com.pulumi.core.Output<java.lang.String> directoryId()
        Returns:
        The identifier of the directory for which you want to manager RADIUS settings.
      • displayLabel

        public com.pulumi.core.Output<java.lang.String> displayLabel()
        Returns:
        Display label.
      • radiusPort

        public com.pulumi.core.Output<java.lang.Integer> radiusPort()
        Returns:
        The port that your RADIUS server is using for communications. Your self-managed network must allow inbound traffic over this port from the AWS Directory Service servers.
      • radiusRetries

        public com.pulumi.core.Output<java.lang.Integer> radiusRetries()
        Returns:
        The maximum number of times that communication with the RADIUS server is attempted. Minimum value of `0`. Maximum value of `10`.
      • radiusServers

        public com.pulumi.core.Output<java.util.List<java.lang.String>> radiusServers()
        Returns:
        An array of strings that contains the fully qualified domain name (FQDN) or IP addresses of the RADIUS server endpoints, or the FQDN or IP addresses of your RADIUS server load balancer.
      • radiusTimeout

        public com.pulumi.core.Output<java.lang.Integer> radiusTimeout()
        Returns:
        The amount of time, in seconds, to wait for the RADIUS server to respond. Minimum value of `1`. Maximum value of `50`.
      • sharedSecret

        public com.pulumi.core.Output<java.lang.String> sharedSecret()
        Returns:
        Required for enabling RADIUS on the directory.
      • useSameUsername

        public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> useSameUsername()
        Returns:
        Not currently used.
      • get

        public static RadiusSettings get​(java.lang.String name,
                                         com.pulumi.core.Output<java.lang.String> id,
                                         @Nullable
                                         RadiusSettingsState 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.