Class ConditionalForwader
Provides a conditional forwarder for managed Microsoft AD in AWS Directory Service.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.DirectoryService.ConditionalForwader("example", new Aws.DirectoryService.ConditionalForwaderArgs
{
DirectoryId = aws_directory_service_directory.Ad.Id,
DnsIps =
{
"8.8.8.8",
"8.8.4.4",
},
RemoteDomainName = "example.com",
});
}
}
Inherited Members
Namespace: Pulumi.Aws.DirectoryService
Assembly: Pulumi.Aws.dll
Syntax
public class ConditionalForwader : CustomResource
Constructors
View SourceConditionalForwader(String, ConditionalForwaderArgs, CustomResourceOptions)
Create a ConditionalForwader resource with the given unique name, arguments, and options.
Declaration
public ConditionalForwader(string name, ConditionalForwaderArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ConditionalForwaderArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDirectoryId
The id of directory.
Declaration
public Output<string> DirectoryId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DnsIps
A list of forwarder IP addresses.
Declaration
public Output<ImmutableArray<string>> DnsIps { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
RemoteDomainName
The fully qualified domain name of the remote domain for which forwarders will be used.
Declaration
public Output<string> RemoteDomainName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ConditionalForwaderState, CustomResourceOptions)
Get an existing ConditionalForwader resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ConditionalForwader Get(string name, Input<string> id, ConditionalForwaderState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ConditionalForwaderState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ConditionalForwader |