Documentation ¶
Index ¶
- type ConditionalForwader
- func (*ConditionalForwader) ElementType() reflect.Type
- func (i *ConditionalForwader) ToConditionalForwaderOutput() ConditionalForwaderOutput
- func (i *ConditionalForwader) ToConditionalForwaderOutputWithContext(ctx context.Context) ConditionalForwaderOutput
- func (i *ConditionalForwader) ToConditionalForwaderPtrOutput() ConditionalForwaderPtrOutput
- func (i *ConditionalForwader) ToConditionalForwaderPtrOutputWithContext(ctx context.Context) ConditionalForwaderPtrOutput
- type ConditionalForwaderArgs
- type ConditionalForwaderArray
- type ConditionalForwaderArrayInput
- type ConditionalForwaderArrayOutput
- func (ConditionalForwaderArrayOutput) ElementType() reflect.Type
- func (o ConditionalForwaderArrayOutput) Index(i pulumi.IntInput) ConditionalForwaderOutput
- func (o ConditionalForwaderArrayOutput) ToConditionalForwaderArrayOutput() ConditionalForwaderArrayOutput
- func (o ConditionalForwaderArrayOutput) ToConditionalForwaderArrayOutputWithContext(ctx context.Context) ConditionalForwaderArrayOutput
- type ConditionalForwaderInput
- type ConditionalForwaderMap
- type ConditionalForwaderMapInput
- type ConditionalForwaderMapOutput
- func (ConditionalForwaderMapOutput) ElementType() reflect.Type
- func (o ConditionalForwaderMapOutput) MapIndex(k pulumi.StringInput) ConditionalForwaderOutput
- func (o ConditionalForwaderMapOutput) ToConditionalForwaderMapOutput() ConditionalForwaderMapOutput
- func (o ConditionalForwaderMapOutput) ToConditionalForwaderMapOutputWithContext(ctx context.Context) ConditionalForwaderMapOutput
- type ConditionalForwaderOutput
- func (ConditionalForwaderOutput) ElementType() reflect.Type
- func (o ConditionalForwaderOutput) ToConditionalForwaderOutput() ConditionalForwaderOutput
- func (o ConditionalForwaderOutput) ToConditionalForwaderOutputWithContext(ctx context.Context) ConditionalForwaderOutput
- func (o ConditionalForwaderOutput) ToConditionalForwaderPtrOutput() ConditionalForwaderPtrOutput
- func (o ConditionalForwaderOutput) ToConditionalForwaderPtrOutputWithContext(ctx context.Context) ConditionalForwaderPtrOutput
- type ConditionalForwaderPtrInput
- type ConditionalForwaderPtrOutput
- func (o ConditionalForwaderPtrOutput) Elem() ConditionalForwaderOutput
- func (ConditionalForwaderPtrOutput) ElementType() reflect.Type
- func (o ConditionalForwaderPtrOutput) ToConditionalForwaderPtrOutput() ConditionalForwaderPtrOutput
- func (o ConditionalForwaderPtrOutput) ToConditionalForwaderPtrOutputWithContext(ctx context.Context) ConditionalForwaderPtrOutput
- type ConditionalForwaderState
- type Directory
- func (*Directory) ElementType() reflect.Type
- func (i *Directory) ToDirectoryOutput() DirectoryOutput
- func (i *Directory) ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput
- func (i *Directory) ToDirectoryPtrOutput() DirectoryPtrOutput
- func (i *Directory) ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput
- type DirectoryArgs
- type DirectoryArray
- type DirectoryArrayInput
- type DirectoryArrayOutput
- func (DirectoryArrayOutput) ElementType() reflect.Type
- func (o DirectoryArrayOutput) Index(i pulumi.IntInput) DirectoryOutput
- func (o DirectoryArrayOutput) ToDirectoryArrayOutput() DirectoryArrayOutput
- func (o DirectoryArrayOutput) ToDirectoryArrayOutputWithContext(ctx context.Context) DirectoryArrayOutput
- type DirectoryConnectSettings
- type DirectoryConnectSettingsArgs
- func (DirectoryConnectSettingsArgs) ElementType() reflect.Type
- func (i DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsOutput() DirectoryConnectSettingsOutput
- func (i DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsOutputWithContext(ctx context.Context) DirectoryConnectSettingsOutput
- func (i DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsPtrOutput() DirectoryConnectSettingsPtrOutput
- func (i DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsPtrOutputWithContext(ctx context.Context) DirectoryConnectSettingsPtrOutput
- type DirectoryConnectSettingsInput
- type DirectoryConnectSettingsOutput
- func (o DirectoryConnectSettingsOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o DirectoryConnectSettingsOutput) ConnectIps() pulumi.StringArrayOutput
- func (o DirectoryConnectSettingsOutput) CustomerDnsIps() pulumi.StringArrayOutput
- func (o DirectoryConnectSettingsOutput) CustomerUsername() pulumi.StringOutput
- func (DirectoryConnectSettingsOutput) ElementType() reflect.Type
- func (o DirectoryConnectSettingsOutput) SubnetIds() pulumi.StringArrayOutput
- func (o DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsOutput() DirectoryConnectSettingsOutput
- func (o DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsOutputWithContext(ctx context.Context) DirectoryConnectSettingsOutput
- func (o DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsPtrOutput() DirectoryConnectSettingsPtrOutput
- func (o DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsPtrOutputWithContext(ctx context.Context) DirectoryConnectSettingsPtrOutput
- func (o DirectoryConnectSettingsOutput) VpcId() pulumi.StringOutput
- type DirectoryConnectSettingsPtrInput
- type DirectoryConnectSettingsPtrOutput
- func (o DirectoryConnectSettingsPtrOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o DirectoryConnectSettingsPtrOutput) ConnectIps() pulumi.StringArrayOutput
- func (o DirectoryConnectSettingsPtrOutput) CustomerDnsIps() pulumi.StringArrayOutput
- func (o DirectoryConnectSettingsPtrOutput) CustomerUsername() pulumi.StringPtrOutput
- func (o DirectoryConnectSettingsPtrOutput) Elem() DirectoryConnectSettingsOutput
- func (DirectoryConnectSettingsPtrOutput) ElementType() reflect.Type
- func (o DirectoryConnectSettingsPtrOutput) SubnetIds() pulumi.StringArrayOutput
- func (o DirectoryConnectSettingsPtrOutput) ToDirectoryConnectSettingsPtrOutput() DirectoryConnectSettingsPtrOutput
- func (o DirectoryConnectSettingsPtrOutput) ToDirectoryConnectSettingsPtrOutputWithContext(ctx context.Context) DirectoryConnectSettingsPtrOutput
- func (o DirectoryConnectSettingsPtrOutput) VpcId() pulumi.StringPtrOutput
- type DirectoryInput
- type DirectoryMap
- type DirectoryMapInput
- type DirectoryMapOutput
- type DirectoryOutput
- func (DirectoryOutput) ElementType() reflect.Type
- func (o DirectoryOutput) ToDirectoryOutput() DirectoryOutput
- func (o DirectoryOutput) ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput
- func (o DirectoryOutput) ToDirectoryPtrOutput() DirectoryPtrOutput
- func (o DirectoryOutput) ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput
- type DirectoryPtrInput
- type DirectoryPtrOutput
- type DirectoryState
- type DirectoryVpcSettings
- type DirectoryVpcSettingsArgs
- func (DirectoryVpcSettingsArgs) ElementType() reflect.Type
- func (i DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsOutput() DirectoryVpcSettingsOutput
- func (i DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsOutputWithContext(ctx context.Context) DirectoryVpcSettingsOutput
- func (i DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsPtrOutput() DirectoryVpcSettingsPtrOutput
- func (i DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsPtrOutputWithContext(ctx context.Context) DirectoryVpcSettingsPtrOutput
- type DirectoryVpcSettingsInput
- type DirectoryVpcSettingsOutput
- func (o DirectoryVpcSettingsOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (DirectoryVpcSettingsOutput) ElementType() reflect.Type
- func (o DirectoryVpcSettingsOutput) SubnetIds() pulumi.StringArrayOutput
- func (o DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsOutput() DirectoryVpcSettingsOutput
- func (o DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsOutputWithContext(ctx context.Context) DirectoryVpcSettingsOutput
- func (o DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsPtrOutput() DirectoryVpcSettingsPtrOutput
- func (o DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsPtrOutputWithContext(ctx context.Context) DirectoryVpcSettingsPtrOutput
- func (o DirectoryVpcSettingsOutput) VpcId() pulumi.StringOutput
- type DirectoryVpcSettingsPtrInput
- type DirectoryVpcSettingsPtrOutput
- func (o DirectoryVpcSettingsPtrOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o DirectoryVpcSettingsPtrOutput) Elem() DirectoryVpcSettingsOutput
- func (DirectoryVpcSettingsPtrOutput) ElementType() reflect.Type
- func (o DirectoryVpcSettingsPtrOutput) SubnetIds() pulumi.StringArrayOutput
- func (o DirectoryVpcSettingsPtrOutput) ToDirectoryVpcSettingsPtrOutput() DirectoryVpcSettingsPtrOutput
- func (o DirectoryVpcSettingsPtrOutput) ToDirectoryVpcSettingsPtrOutputWithContext(ctx context.Context) DirectoryVpcSettingsPtrOutput
- func (o DirectoryVpcSettingsPtrOutput) VpcId() pulumi.StringPtrOutput
- type GetDirectoryConnectSetting
- type GetDirectoryConnectSettingArgs
- func (GetDirectoryConnectSettingArgs) ElementType() reflect.Type
- func (i GetDirectoryConnectSettingArgs) ToGetDirectoryConnectSettingOutput() GetDirectoryConnectSettingOutput
- func (i GetDirectoryConnectSettingArgs) ToGetDirectoryConnectSettingOutputWithContext(ctx context.Context) GetDirectoryConnectSettingOutput
- type GetDirectoryConnectSettingArray
- func (GetDirectoryConnectSettingArray) ElementType() reflect.Type
- func (i GetDirectoryConnectSettingArray) ToGetDirectoryConnectSettingArrayOutput() GetDirectoryConnectSettingArrayOutput
- func (i GetDirectoryConnectSettingArray) ToGetDirectoryConnectSettingArrayOutputWithContext(ctx context.Context) GetDirectoryConnectSettingArrayOutput
- type GetDirectoryConnectSettingArrayInput
- type GetDirectoryConnectSettingArrayOutput
- func (GetDirectoryConnectSettingArrayOutput) ElementType() reflect.Type
- func (o GetDirectoryConnectSettingArrayOutput) Index(i pulumi.IntInput) GetDirectoryConnectSettingOutput
- func (o GetDirectoryConnectSettingArrayOutput) ToGetDirectoryConnectSettingArrayOutput() GetDirectoryConnectSettingArrayOutput
- func (o GetDirectoryConnectSettingArrayOutput) ToGetDirectoryConnectSettingArrayOutputWithContext(ctx context.Context) GetDirectoryConnectSettingArrayOutput
- type GetDirectoryConnectSettingInput
- type GetDirectoryConnectSettingOutput
- func (o GetDirectoryConnectSettingOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o GetDirectoryConnectSettingOutput) ConnectIps() pulumi.StringArrayOutput
- func (o GetDirectoryConnectSettingOutput) CustomerDnsIps() pulumi.StringArrayOutput
- func (o GetDirectoryConnectSettingOutput) CustomerUsername() pulumi.StringOutput
- func (GetDirectoryConnectSettingOutput) ElementType() reflect.Type
- func (o GetDirectoryConnectSettingOutput) SubnetIds() pulumi.StringArrayOutput
- func (o GetDirectoryConnectSettingOutput) ToGetDirectoryConnectSettingOutput() GetDirectoryConnectSettingOutput
- func (o GetDirectoryConnectSettingOutput) ToGetDirectoryConnectSettingOutputWithContext(ctx context.Context) GetDirectoryConnectSettingOutput
- func (o GetDirectoryConnectSettingOutput) VpcId() pulumi.StringOutput
- type GetDirectoryVpcSetting
- type GetDirectoryVpcSettingArgs
- type GetDirectoryVpcSettingArray
- func (GetDirectoryVpcSettingArray) ElementType() reflect.Type
- func (i GetDirectoryVpcSettingArray) ToGetDirectoryVpcSettingArrayOutput() GetDirectoryVpcSettingArrayOutput
- func (i GetDirectoryVpcSettingArray) ToGetDirectoryVpcSettingArrayOutputWithContext(ctx context.Context) GetDirectoryVpcSettingArrayOutput
- type GetDirectoryVpcSettingArrayInput
- type GetDirectoryVpcSettingArrayOutput
- func (GetDirectoryVpcSettingArrayOutput) ElementType() reflect.Type
- func (o GetDirectoryVpcSettingArrayOutput) Index(i pulumi.IntInput) GetDirectoryVpcSettingOutput
- func (o GetDirectoryVpcSettingArrayOutput) ToGetDirectoryVpcSettingArrayOutput() GetDirectoryVpcSettingArrayOutput
- func (o GetDirectoryVpcSettingArrayOutput) ToGetDirectoryVpcSettingArrayOutputWithContext(ctx context.Context) GetDirectoryVpcSettingArrayOutput
- type GetDirectoryVpcSettingInput
- type GetDirectoryVpcSettingOutput
- func (o GetDirectoryVpcSettingOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (GetDirectoryVpcSettingOutput) ElementType() reflect.Type
- func (o GetDirectoryVpcSettingOutput) SubnetIds() pulumi.StringArrayOutput
- func (o GetDirectoryVpcSettingOutput) ToGetDirectoryVpcSettingOutput() GetDirectoryVpcSettingOutput
- func (o GetDirectoryVpcSettingOutput) ToGetDirectoryVpcSettingOutputWithContext(ctx context.Context) GetDirectoryVpcSettingOutput
- func (o GetDirectoryVpcSettingOutput) VpcId() pulumi.StringOutput
- type LogService
- func (*LogService) ElementType() reflect.Type
- func (i *LogService) ToLogServiceOutput() LogServiceOutput
- func (i *LogService) ToLogServiceOutputWithContext(ctx context.Context) LogServiceOutput
- func (i *LogService) ToLogServicePtrOutput() LogServicePtrOutput
- func (i *LogService) ToLogServicePtrOutputWithContext(ctx context.Context) LogServicePtrOutput
- type LogServiceArgs
- type LogServiceArray
- type LogServiceArrayInput
- type LogServiceArrayOutput
- func (LogServiceArrayOutput) ElementType() reflect.Type
- func (o LogServiceArrayOutput) Index(i pulumi.IntInput) LogServiceOutput
- func (o LogServiceArrayOutput) ToLogServiceArrayOutput() LogServiceArrayOutput
- func (o LogServiceArrayOutput) ToLogServiceArrayOutputWithContext(ctx context.Context) LogServiceArrayOutput
- type LogServiceInput
- type LogServiceMap
- type LogServiceMapInput
- type LogServiceMapOutput
- func (LogServiceMapOutput) ElementType() reflect.Type
- func (o LogServiceMapOutput) MapIndex(k pulumi.StringInput) LogServiceOutput
- func (o LogServiceMapOutput) ToLogServiceMapOutput() LogServiceMapOutput
- func (o LogServiceMapOutput) ToLogServiceMapOutputWithContext(ctx context.Context) LogServiceMapOutput
- type LogServiceOutput
- func (LogServiceOutput) ElementType() reflect.Type
- func (o LogServiceOutput) ToLogServiceOutput() LogServiceOutput
- func (o LogServiceOutput) ToLogServiceOutputWithContext(ctx context.Context) LogServiceOutput
- func (o LogServiceOutput) ToLogServicePtrOutput() LogServicePtrOutput
- func (o LogServiceOutput) ToLogServicePtrOutputWithContext(ctx context.Context) LogServicePtrOutput
- type LogServicePtrInput
- type LogServicePtrOutput
- type LogServiceState
- type LookupDirectoryArgs
- type LookupDirectoryResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConditionalForwader ¶
type ConditionalForwader struct { pulumi.CustomResourceState // The id of directory. DirectoryId pulumi.StringOutput `pulumi:"directoryId"` // A list of forwarder IP addresses. DnsIps pulumi.StringArrayOutput `pulumi:"dnsIps"` // The fully qualified domain name of the remote domain for which forwarders will be used. RemoteDomainName pulumi.StringOutput `pulumi:"remoteDomainName"` }
Provides a conditional forwarder for managed Microsoft AD in AWS Directory Service.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/directoryservice" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directoryservice.NewConditionalForwader(ctx, "example", &directoryservice.ConditionalForwaderArgs{ DirectoryId: pulumi.Any(aws_directory_service_directory.Ad.Id), RemoteDomainName: pulumi.String("example.com"), DnsIps: pulumi.StringArray{ pulumi.String("8.8.8.8"), pulumi.String("8.8.4.4"), }, }) if err != nil { return err } return nil }) }
```
## Import
Conditional forwarders can be imported using the directory id and remote_domain_name, e.g.
```sh
$ pulumi import aws:directoryservice/conditionalForwader:ConditionalForwader example d-1234567890:example.com
```
func GetConditionalForwader ¶
func GetConditionalForwader(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConditionalForwaderState, opts ...pulumi.ResourceOption) (*ConditionalForwader, error)
GetConditionalForwader gets an existing ConditionalForwader resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewConditionalForwader ¶
func NewConditionalForwader(ctx *pulumi.Context, name string, args *ConditionalForwaderArgs, opts ...pulumi.ResourceOption) (*ConditionalForwader, error)
NewConditionalForwader registers a new resource with the given unique name, arguments, and options.
func (*ConditionalForwader) ElementType ¶
func (*ConditionalForwader) ElementType() reflect.Type
func (*ConditionalForwader) ToConditionalForwaderOutput ¶
func (i *ConditionalForwader) ToConditionalForwaderOutput() ConditionalForwaderOutput
func (*ConditionalForwader) ToConditionalForwaderOutputWithContext ¶
func (i *ConditionalForwader) ToConditionalForwaderOutputWithContext(ctx context.Context) ConditionalForwaderOutput
func (*ConditionalForwader) ToConditionalForwaderPtrOutput ¶
func (i *ConditionalForwader) ToConditionalForwaderPtrOutput() ConditionalForwaderPtrOutput
func (*ConditionalForwader) ToConditionalForwaderPtrOutputWithContext ¶
func (i *ConditionalForwader) ToConditionalForwaderPtrOutputWithContext(ctx context.Context) ConditionalForwaderPtrOutput
type ConditionalForwaderArgs ¶
type ConditionalForwaderArgs struct { // The id of directory. DirectoryId pulumi.StringInput // A list of forwarder IP addresses. DnsIps pulumi.StringArrayInput // The fully qualified domain name of the remote domain for which forwarders will be used. RemoteDomainName pulumi.StringInput }
The set of arguments for constructing a ConditionalForwader resource.
func (ConditionalForwaderArgs) ElementType ¶
func (ConditionalForwaderArgs) ElementType() reflect.Type
type ConditionalForwaderArray ¶
type ConditionalForwaderArray []ConditionalForwaderInput
func (ConditionalForwaderArray) ElementType ¶
func (ConditionalForwaderArray) ElementType() reflect.Type
func (ConditionalForwaderArray) ToConditionalForwaderArrayOutput ¶
func (i ConditionalForwaderArray) ToConditionalForwaderArrayOutput() ConditionalForwaderArrayOutput
func (ConditionalForwaderArray) ToConditionalForwaderArrayOutputWithContext ¶
func (i ConditionalForwaderArray) ToConditionalForwaderArrayOutputWithContext(ctx context.Context) ConditionalForwaderArrayOutput
type ConditionalForwaderArrayInput ¶
type ConditionalForwaderArrayInput interface { pulumi.Input ToConditionalForwaderArrayOutput() ConditionalForwaderArrayOutput ToConditionalForwaderArrayOutputWithContext(context.Context) ConditionalForwaderArrayOutput }
ConditionalForwaderArrayInput is an input type that accepts ConditionalForwaderArray and ConditionalForwaderArrayOutput values. You can construct a concrete instance of `ConditionalForwaderArrayInput` via:
ConditionalForwaderArray{ ConditionalForwaderArgs{...} }
type ConditionalForwaderArrayOutput ¶
type ConditionalForwaderArrayOutput struct{ *pulumi.OutputState }
func (ConditionalForwaderArrayOutput) ElementType ¶
func (ConditionalForwaderArrayOutput) ElementType() reflect.Type
func (ConditionalForwaderArrayOutput) Index ¶
func (o ConditionalForwaderArrayOutput) Index(i pulumi.IntInput) ConditionalForwaderOutput
func (ConditionalForwaderArrayOutput) ToConditionalForwaderArrayOutput ¶
func (o ConditionalForwaderArrayOutput) ToConditionalForwaderArrayOutput() ConditionalForwaderArrayOutput
func (ConditionalForwaderArrayOutput) ToConditionalForwaderArrayOutputWithContext ¶
func (o ConditionalForwaderArrayOutput) ToConditionalForwaderArrayOutputWithContext(ctx context.Context) ConditionalForwaderArrayOutput
type ConditionalForwaderInput ¶
type ConditionalForwaderInput interface { pulumi.Input ToConditionalForwaderOutput() ConditionalForwaderOutput ToConditionalForwaderOutputWithContext(ctx context.Context) ConditionalForwaderOutput }
type ConditionalForwaderMap ¶
type ConditionalForwaderMap map[string]ConditionalForwaderInput
func (ConditionalForwaderMap) ElementType ¶
func (ConditionalForwaderMap) ElementType() reflect.Type
func (ConditionalForwaderMap) ToConditionalForwaderMapOutput ¶
func (i ConditionalForwaderMap) ToConditionalForwaderMapOutput() ConditionalForwaderMapOutput
func (ConditionalForwaderMap) ToConditionalForwaderMapOutputWithContext ¶
func (i ConditionalForwaderMap) ToConditionalForwaderMapOutputWithContext(ctx context.Context) ConditionalForwaderMapOutput
type ConditionalForwaderMapInput ¶
type ConditionalForwaderMapInput interface { pulumi.Input ToConditionalForwaderMapOutput() ConditionalForwaderMapOutput ToConditionalForwaderMapOutputWithContext(context.Context) ConditionalForwaderMapOutput }
ConditionalForwaderMapInput is an input type that accepts ConditionalForwaderMap and ConditionalForwaderMapOutput values. You can construct a concrete instance of `ConditionalForwaderMapInput` via:
ConditionalForwaderMap{ "key": ConditionalForwaderArgs{...} }
type ConditionalForwaderMapOutput ¶
type ConditionalForwaderMapOutput struct{ *pulumi.OutputState }
func (ConditionalForwaderMapOutput) ElementType ¶
func (ConditionalForwaderMapOutput) ElementType() reflect.Type
func (ConditionalForwaderMapOutput) MapIndex ¶
func (o ConditionalForwaderMapOutput) MapIndex(k pulumi.StringInput) ConditionalForwaderOutput
func (ConditionalForwaderMapOutput) ToConditionalForwaderMapOutput ¶
func (o ConditionalForwaderMapOutput) ToConditionalForwaderMapOutput() ConditionalForwaderMapOutput
func (ConditionalForwaderMapOutput) ToConditionalForwaderMapOutputWithContext ¶
func (o ConditionalForwaderMapOutput) ToConditionalForwaderMapOutputWithContext(ctx context.Context) ConditionalForwaderMapOutput
type ConditionalForwaderOutput ¶
type ConditionalForwaderOutput struct{ *pulumi.OutputState }
func (ConditionalForwaderOutput) ElementType ¶
func (ConditionalForwaderOutput) ElementType() reflect.Type
func (ConditionalForwaderOutput) ToConditionalForwaderOutput ¶
func (o ConditionalForwaderOutput) ToConditionalForwaderOutput() ConditionalForwaderOutput
func (ConditionalForwaderOutput) ToConditionalForwaderOutputWithContext ¶
func (o ConditionalForwaderOutput) ToConditionalForwaderOutputWithContext(ctx context.Context) ConditionalForwaderOutput
func (ConditionalForwaderOutput) ToConditionalForwaderPtrOutput ¶
func (o ConditionalForwaderOutput) ToConditionalForwaderPtrOutput() ConditionalForwaderPtrOutput
func (ConditionalForwaderOutput) ToConditionalForwaderPtrOutputWithContext ¶
func (o ConditionalForwaderOutput) ToConditionalForwaderPtrOutputWithContext(ctx context.Context) ConditionalForwaderPtrOutput
type ConditionalForwaderPtrInput ¶
type ConditionalForwaderPtrInput interface { pulumi.Input ToConditionalForwaderPtrOutput() ConditionalForwaderPtrOutput ToConditionalForwaderPtrOutputWithContext(ctx context.Context) ConditionalForwaderPtrOutput }
type ConditionalForwaderPtrOutput ¶
type ConditionalForwaderPtrOutput struct{ *pulumi.OutputState }
func (ConditionalForwaderPtrOutput) Elem ¶ added in v4.15.0
func (o ConditionalForwaderPtrOutput) Elem() ConditionalForwaderOutput
func (ConditionalForwaderPtrOutput) ElementType ¶
func (ConditionalForwaderPtrOutput) ElementType() reflect.Type
func (ConditionalForwaderPtrOutput) ToConditionalForwaderPtrOutput ¶
func (o ConditionalForwaderPtrOutput) ToConditionalForwaderPtrOutput() ConditionalForwaderPtrOutput
func (ConditionalForwaderPtrOutput) ToConditionalForwaderPtrOutputWithContext ¶
func (o ConditionalForwaderPtrOutput) ToConditionalForwaderPtrOutputWithContext(ctx context.Context) ConditionalForwaderPtrOutput
type ConditionalForwaderState ¶
type ConditionalForwaderState struct { // The id of directory. DirectoryId pulumi.StringPtrInput // A list of forwarder IP addresses. DnsIps pulumi.StringArrayInput // The fully qualified domain name of the remote domain for which forwarders will be used. RemoteDomainName pulumi.StringPtrInput }
func (ConditionalForwaderState) ElementType ¶
func (ConditionalForwaderState) ElementType() reflect.Type
type Directory ¶
type Directory struct { pulumi.CustomResourceState // The access URL for the directory, such as `http://alias.awsapps.com`. AccessUrl pulumi.StringOutput `pulumi:"accessUrl"` // The alias for the directory (must be unique amongst all aliases in AWS). Required for `enableSso`. Alias pulumi.StringOutput `pulumi:"alias"` // Connector related information about the directory. Fields documented below. ConnectSettings DirectoryConnectSettingsPtrOutput `pulumi:"connectSettings"` // A textual description for the directory. Description pulumi.StringPtrOutput `pulumi:"description"` // A list of IP addresses of the DNS servers for the directory or connector. DnsIpAddresses pulumi.StringArrayOutput `pulumi:"dnsIpAddresses"` // The MicrosoftAD edition (`Standard` or `Enterprise`). Defaults to `Enterprise` (applies to MicrosoftAD type only). Edition pulumi.StringOutput `pulumi:"edition"` // Whether to enable single-sign on for the directory. Requires `alias`. Defaults to `false`. EnableSso pulumi.BoolPtrOutput `pulumi:"enableSso"` // The fully qualified name for the directory, such as `corp.example.com` Name pulumi.StringOutput `pulumi:"name"` // The password for the directory administrator or connector user. Password pulumi.StringOutput `pulumi:"password"` // The ID of the security group created by the directory. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // The short name of the directory, such as `CORP`. ShortName pulumi.StringOutput `pulumi:"shortName"` // The size of the directory (`Small` or `Large` are accepted values). Size pulumi.StringOutput `pulumi:"size"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The directory type (`SimpleAD`, `ADConnector` or `MicrosoftAD` are accepted values). Defaults to `SimpleAD`. Type pulumi.StringPtrOutput `pulumi:"type"` // VPC related information about the directory. Fields documented below. VpcSettings DirectoryVpcSettingsPtrOutput `pulumi:"vpcSettings"` }
Provides a Simple or Managed Microsoft directory in AWS Directory Service.
## Example Usage ### SimpleAD
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/directoryservice" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } foo, err := ec2.NewSubnet(ctx, "foo", &ec2.SubnetArgs{ VpcId: main.ID(), AvailabilityZone: pulumi.String("us-west-2a"), CidrBlock: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } barSubnet, err := ec2.NewSubnet(ctx, "barSubnet", &ec2.SubnetArgs{ VpcId: main.ID(), AvailabilityZone: pulumi.String("us-west-2b"), CidrBlock: pulumi.String("10.0.2.0/24"), }) if err != nil { return err } _, err = directoryservice.NewDirectory(ctx, "barDirectory", &directoryservice.DirectoryArgs{ Name: pulumi.String("corp.notexample.com"), Password: pulumi.String("SuperSecretPassw0rd"), Size: pulumi.String("Small"), VpcSettings: &directoryservice.DirectoryVpcSettingsArgs{ VpcId: main.ID(), SubnetIds: pulumi.StringArray{ foo.ID(), barSubnet.ID(), }, }, Tags: pulumi.StringMap{ "Project": pulumi.String("foo"), }, }) if err != nil { return err } return nil }) }
``` ### Microsoft Active Directory (MicrosoftAD)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/directoryservice" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } foo, err := ec2.NewSubnet(ctx, "foo", &ec2.SubnetArgs{ VpcId: main.ID(), AvailabilityZone: pulumi.String("us-west-2a"), CidrBlock: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } barSubnet, err := ec2.NewSubnet(ctx, "barSubnet", &ec2.SubnetArgs{ VpcId: main.ID(), AvailabilityZone: pulumi.String("us-west-2b"), CidrBlock: pulumi.String("10.0.2.0/24"), }) if err != nil { return err } _, err = directoryservice.NewDirectory(ctx, "barDirectory", &directoryservice.DirectoryArgs{ Name: pulumi.String("corp.notexample.com"), Password: pulumi.String("SuperSecretPassw0rd"), Edition: pulumi.String("Standard"), Type: pulumi.String("MicrosoftAD"), VpcSettings: &directoryservice.DirectoryVpcSettingsArgs{ VpcId: main.ID(), SubnetIds: pulumi.StringArray{ foo.ID(), barSubnet.ID(), }, }, Tags: pulumi.StringMap{ "Project": pulumi.String("foo"), }, }) if err != nil { return err } return nil }) }
``` ### Microsoft Active Directory Connector (ADConnector)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/directoryservice" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := ec2.NewVpc(ctx, "main", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } foo, err := ec2.NewSubnet(ctx, "foo", &ec2.SubnetArgs{ VpcId: main.ID(), AvailabilityZone: pulumi.String("us-west-2a"), CidrBlock: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } bar, err := ec2.NewSubnet(ctx, "bar", &ec2.SubnetArgs{ VpcId: main.ID(), AvailabilityZone: pulumi.String("us-west-2b"), CidrBlock: pulumi.String("10.0.2.0/24"), }) if err != nil { return err } _, err = directoryservice.NewDirectory(ctx, "connector", &directoryservice.DirectoryArgs{ Name: pulumi.String("corp.notexample.com"), Password: pulumi.String("SuperSecretPassw0rd"), Size: pulumi.String("Small"), Type: pulumi.String("ADConnector"), ConnectSettings: &directoryservice.DirectoryConnectSettingsArgs{ CustomerDnsIps: pulumi.StringArray{ pulumi.String("A.B.C.D"), }, CustomerUsername: pulumi.String("Admin"), SubnetIds: pulumi.StringArray{ foo.ID(), bar.ID(), }, VpcId: main.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
DirectoryService directories can be imported using the directory `id`, e.g.
```sh
$ pulumi import aws:directoryservice/directory:Directory sample d-926724cf57
```
func GetDirectory ¶
func GetDirectory(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DirectoryState, opts ...pulumi.ResourceOption) (*Directory, error)
GetDirectory gets an existing Directory resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewDirectory ¶
func NewDirectory(ctx *pulumi.Context, name string, args *DirectoryArgs, opts ...pulumi.ResourceOption) (*Directory, error)
NewDirectory registers a new resource with the given unique name, arguments, and options.
func (*Directory) ElementType ¶
func (*Directory) ToDirectoryOutput ¶
func (i *Directory) ToDirectoryOutput() DirectoryOutput
func (*Directory) ToDirectoryOutputWithContext ¶
func (i *Directory) ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput
func (*Directory) ToDirectoryPtrOutput ¶
func (i *Directory) ToDirectoryPtrOutput() DirectoryPtrOutput
func (*Directory) ToDirectoryPtrOutputWithContext ¶
func (i *Directory) ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput
type DirectoryArgs ¶
type DirectoryArgs struct { // The alias for the directory (must be unique amongst all aliases in AWS). Required for `enableSso`. Alias pulumi.StringPtrInput // Connector related information about the directory. Fields documented below. ConnectSettings DirectoryConnectSettingsPtrInput // A textual description for the directory. Description pulumi.StringPtrInput // The MicrosoftAD edition (`Standard` or `Enterprise`). Defaults to `Enterprise` (applies to MicrosoftAD type only). Edition pulumi.StringPtrInput // Whether to enable single-sign on for the directory. Requires `alias`. Defaults to `false`. EnableSso pulumi.BoolPtrInput // The fully qualified name for the directory, such as `corp.example.com` Name pulumi.StringInput // The password for the directory administrator or connector user. Password pulumi.StringInput // The short name of the directory, such as `CORP`. ShortName pulumi.StringPtrInput // The size of the directory (`Small` or `Large` are accepted values). Size pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput // The directory type (`SimpleAD`, `ADConnector` or `MicrosoftAD` are accepted values). Defaults to `SimpleAD`. Type pulumi.StringPtrInput // VPC related information about the directory. Fields documented below. VpcSettings DirectoryVpcSettingsPtrInput }
The set of arguments for constructing a Directory resource.
func (DirectoryArgs) ElementType ¶
func (DirectoryArgs) ElementType() reflect.Type
type DirectoryArray ¶
type DirectoryArray []DirectoryInput
func (DirectoryArray) ElementType ¶
func (DirectoryArray) ElementType() reflect.Type
func (DirectoryArray) ToDirectoryArrayOutput ¶
func (i DirectoryArray) ToDirectoryArrayOutput() DirectoryArrayOutput
func (DirectoryArray) ToDirectoryArrayOutputWithContext ¶
func (i DirectoryArray) ToDirectoryArrayOutputWithContext(ctx context.Context) DirectoryArrayOutput
type DirectoryArrayInput ¶
type DirectoryArrayInput interface { pulumi.Input ToDirectoryArrayOutput() DirectoryArrayOutput ToDirectoryArrayOutputWithContext(context.Context) DirectoryArrayOutput }
DirectoryArrayInput is an input type that accepts DirectoryArray and DirectoryArrayOutput values. You can construct a concrete instance of `DirectoryArrayInput` via:
DirectoryArray{ DirectoryArgs{...} }
type DirectoryArrayOutput ¶
type DirectoryArrayOutput struct{ *pulumi.OutputState }
func (DirectoryArrayOutput) ElementType ¶
func (DirectoryArrayOutput) ElementType() reflect.Type
func (DirectoryArrayOutput) Index ¶
func (o DirectoryArrayOutput) Index(i pulumi.IntInput) DirectoryOutput
func (DirectoryArrayOutput) ToDirectoryArrayOutput ¶
func (o DirectoryArrayOutput) ToDirectoryArrayOutput() DirectoryArrayOutput
func (DirectoryArrayOutput) ToDirectoryArrayOutputWithContext ¶
func (o DirectoryArrayOutput) ToDirectoryArrayOutputWithContext(ctx context.Context) DirectoryArrayOutput
type DirectoryConnectSettings ¶
type DirectoryConnectSettings struct { AvailabilityZones []string `pulumi:"availabilityZones"` // The IP addresses of the AD Connector servers. ConnectIps []string `pulumi:"connectIps"` // The DNS IP addresses of the domain to connect to. CustomerDnsIps []string `pulumi:"customerDnsIps"` // The username corresponding to the password provided. CustomerUsername string `pulumi:"customerUsername"` // The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs). SubnetIds []string `pulumi:"subnetIds"` // The identifier of the VPC that the directory is in. VpcId string `pulumi:"vpcId"` }
type DirectoryConnectSettingsArgs ¶
type DirectoryConnectSettingsArgs struct { AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"` // The IP addresses of the AD Connector servers. ConnectIps pulumi.StringArrayInput `pulumi:"connectIps"` // The DNS IP addresses of the domain to connect to. CustomerDnsIps pulumi.StringArrayInput `pulumi:"customerDnsIps"` // The username corresponding to the password provided. CustomerUsername pulumi.StringInput `pulumi:"customerUsername"` // The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs). SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` // The identifier of the VPC that the directory is in. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (DirectoryConnectSettingsArgs) ElementType ¶
func (DirectoryConnectSettingsArgs) ElementType() reflect.Type
func (DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsOutput ¶
func (i DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsOutput() DirectoryConnectSettingsOutput
func (DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsOutputWithContext ¶
func (i DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsOutputWithContext(ctx context.Context) DirectoryConnectSettingsOutput
func (DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsPtrOutput ¶
func (i DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsPtrOutput() DirectoryConnectSettingsPtrOutput
func (DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsPtrOutputWithContext ¶
func (i DirectoryConnectSettingsArgs) ToDirectoryConnectSettingsPtrOutputWithContext(ctx context.Context) DirectoryConnectSettingsPtrOutput
type DirectoryConnectSettingsInput ¶
type DirectoryConnectSettingsInput interface { pulumi.Input ToDirectoryConnectSettingsOutput() DirectoryConnectSettingsOutput ToDirectoryConnectSettingsOutputWithContext(context.Context) DirectoryConnectSettingsOutput }
DirectoryConnectSettingsInput is an input type that accepts DirectoryConnectSettingsArgs and DirectoryConnectSettingsOutput values. You can construct a concrete instance of `DirectoryConnectSettingsInput` via:
DirectoryConnectSettingsArgs{...}
type DirectoryConnectSettingsOutput ¶
type DirectoryConnectSettingsOutput struct{ *pulumi.OutputState }
func (DirectoryConnectSettingsOutput) AvailabilityZones ¶
func (o DirectoryConnectSettingsOutput) AvailabilityZones() pulumi.StringArrayOutput
func (DirectoryConnectSettingsOutput) ConnectIps ¶
func (o DirectoryConnectSettingsOutput) ConnectIps() pulumi.StringArrayOutput
The IP addresses of the AD Connector servers.
func (DirectoryConnectSettingsOutput) CustomerDnsIps ¶
func (o DirectoryConnectSettingsOutput) CustomerDnsIps() pulumi.StringArrayOutput
The DNS IP addresses of the domain to connect to.
func (DirectoryConnectSettingsOutput) CustomerUsername ¶
func (o DirectoryConnectSettingsOutput) CustomerUsername() pulumi.StringOutput
The username corresponding to the password provided.
func (DirectoryConnectSettingsOutput) ElementType ¶
func (DirectoryConnectSettingsOutput) ElementType() reflect.Type
func (DirectoryConnectSettingsOutput) SubnetIds ¶
func (o DirectoryConnectSettingsOutput) SubnetIds() pulumi.StringArrayOutput
The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
func (DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsOutput ¶
func (o DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsOutput() DirectoryConnectSettingsOutput
func (DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsOutputWithContext ¶
func (o DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsOutputWithContext(ctx context.Context) DirectoryConnectSettingsOutput
func (DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsPtrOutput ¶
func (o DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsPtrOutput() DirectoryConnectSettingsPtrOutput
func (DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsPtrOutputWithContext ¶
func (o DirectoryConnectSettingsOutput) ToDirectoryConnectSettingsPtrOutputWithContext(ctx context.Context) DirectoryConnectSettingsPtrOutput
func (DirectoryConnectSettingsOutput) VpcId ¶
func (o DirectoryConnectSettingsOutput) VpcId() pulumi.StringOutput
The identifier of the VPC that the directory is in.
type DirectoryConnectSettingsPtrInput ¶
type DirectoryConnectSettingsPtrInput interface { pulumi.Input ToDirectoryConnectSettingsPtrOutput() DirectoryConnectSettingsPtrOutput ToDirectoryConnectSettingsPtrOutputWithContext(context.Context) DirectoryConnectSettingsPtrOutput }
DirectoryConnectSettingsPtrInput is an input type that accepts DirectoryConnectSettingsArgs, DirectoryConnectSettingsPtr and DirectoryConnectSettingsPtrOutput values. You can construct a concrete instance of `DirectoryConnectSettingsPtrInput` via:
DirectoryConnectSettingsArgs{...} or: nil
func DirectoryConnectSettingsPtr ¶
func DirectoryConnectSettingsPtr(v *DirectoryConnectSettingsArgs) DirectoryConnectSettingsPtrInput
type DirectoryConnectSettingsPtrOutput ¶
type DirectoryConnectSettingsPtrOutput struct{ *pulumi.OutputState }
func (DirectoryConnectSettingsPtrOutput) AvailabilityZones ¶
func (o DirectoryConnectSettingsPtrOutput) AvailabilityZones() pulumi.StringArrayOutput
func (DirectoryConnectSettingsPtrOutput) ConnectIps ¶
func (o DirectoryConnectSettingsPtrOutput) ConnectIps() pulumi.StringArrayOutput
The IP addresses of the AD Connector servers.
func (DirectoryConnectSettingsPtrOutput) CustomerDnsIps ¶
func (o DirectoryConnectSettingsPtrOutput) CustomerDnsIps() pulumi.StringArrayOutput
The DNS IP addresses of the domain to connect to.
func (DirectoryConnectSettingsPtrOutput) CustomerUsername ¶
func (o DirectoryConnectSettingsPtrOutput) CustomerUsername() pulumi.StringPtrOutput
The username corresponding to the password provided.
func (DirectoryConnectSettingsPtrOutput) Elem ¶
func (o DirectoryConnectSettingsPtrOutput) Elem() DirectoryConnectSettingsOutput
func (DirectoryConnectSettingsPtrOutput) ElementType ¶
func (DirectoryConnectSettingsPtrOutput) ElementType() reflect.Type
func (DirectoryConnectSettingsPtrOutput) SubnetIds ¶
func (o DirectoryConnectSettingsPtrOutput) SubnetIds() pulumi.StringArrayOutput
The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
func (DirectoryConnectSettingsPtrOutput) ToDirectoryConnectSettingsPtrOutput ¶
func (o DirectoryConnectSettingsPtrOutput) ToDirectoryConnectSettingsPtrOutput() DirectoryConnectSettingsPtrOutput
func (DirectoryConnectSettingsPtrOutput) ToDirectoryConnectSettingsPtrOutputWithContext ¶
func (o DirectoryConnectSettingsPtrOutput) ToDirectoryConnectSettingsPtrOutputWithContext(ctx context.Context) DirectoryConnectSettingsPtrOutput
func (DirectoryConnectSettingsPtrOutput) VpcId ¶
func (o DirectoryConnectSettingsPtrOutput) VpcId() pulumi.StringPtrOutput
The identifier of the VPC that the directory is in.
type DirectoryInput ¶
type DirectoryInput interface { pulumi.Input ToDirectoryOutput() DirectoryOutput ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput }
type DirectoryMap ¶
type DirectoryMap map[string]DirectoryInput
func (DirectoryMap) ElementType ¶
func (DirectoryMap) ElementType() reflect.Type
func (DirectoryMap) ToDirectoryMapOutput ¶
func (i DirectoryMap) ToDirectoryMapOutput() DirectoryMapOutput
func (DirectoryMap) ToDirectoryMapOutputWithContext ¶
func (i DirectoryMap) ToDirectoryMapOutputWithContext(ctx context.Context) DirectoryMapOutput
type DirectoryMapInput ¶
type DirectoryMapInput interface { pulumi.Input ToDirectoryMapOutput() DirectoryMapOutput ToDirectoryMapOutputWithContext(context.Context) DirectoryMapOutput }
DirectoryMapInput is an input type that accepts DirectoryMap and DirectoryMapOutput values. You can construct a concrete instance of `DirectoryMapInput` via:
DirectoryMap{ "key": DirectoryArgs{...} }
type DirectoryMapOutput ¶
type DirectoryMapOutput struct{ *pulumi.OutputState }
func (DirectoryMapOutput) ElementType ¶
func (DirectoryMapOutput) ElementType() reflect.Type
func (DirectoryMapOutput) MapIndex ¶
func (o DirectoryMapOutput) MapIndex(k pulumi.StringInput) DirectoryOutput
func (DirectoryMapOutput) ToDirectoryMapOutput ¶
func (o DirectoryMapOutput) ToDirectoryMapOutput() DirectoryMapOutput
func (DirectoryMapOutput) ToDirectoryMapOutputWithContext ¶
func (o DirectoryMapOutput) ToDirectoryMapOutputWithContext(ctx context.Context) DirectoryMapOutput
type DirectoryOutput ¶
type DirectoryOutput struct{ *pulumi.OutputState }
func (DirectoryOutput) ElementType ¶
func (DirectoryOutput) ElementType() reflect.Type
func (DirectoryOutput) ToDirectoryOutput ¶
func (o DirectoryOutput) ToDirectoryOutput() DirectoryOutput
func (DirectoryOutput) ToDirectoryOutputWithContext ¶
func (o DirectoryOutput) ToDirectoryOutputWithContext(ctx context.Context) DirectoryOutput
func (DirectoryOutput) ToDirectoryPtrOutput ¶
func (o DirectoryOutput) ToDirectoryPtrOutput() DirectoryPtrOutput
func (DirectoryOutput) ToDirectoryPtrOutputWithContext ¶
func (o DirectoryOutput) ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput
type DirectoryPtrInput ¶
type DirectoryPtrInput interface { pulumi.Input ToDirectoryPtrOutput() DirectoryPtrOutput ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput }
type DirectoryPtrOutput ¶
type DirectoryPtrOutput struct{ *pulumi.OutputState }
func (DirectoryPtrOutput) Elem ¶ added in v4.15.0
func (o DirectoryPtrOutput) Elem() DirectoryOutput
func (DirectoryPtrOutput) ElementType ¶
func (DirectoryPtrOutput) ElementType() reflect.Type
func (DirectoryPtrOutput) ToDirectoryPtrOutput ¶
func (o DirectoryPtrOutput) ToDirectoryPtrOutput() DirectoryPtrOutput
func (DirectoryPtrOutput) ToDirectoryPtrOutputWithContext ¶
func (o DirectoryPtrOutput) ToDirectoryPtrOutputWithContext(ctx context.Context) DirectoryPtrOutput
type DirectoryState ¶
type DirectoryState struct { // The access URL for the directory, such as `http://alias.awsapps.com`. AccessUrl pulumi.StringPtrInput // The alias for the directory (must be unique amongst all aliases in AWS). Required for `enableSso`. Alias pulumi.StringPtrInput // Connector related information about the directory. Fields documented below. ConnectSettings DirectoryConnectSettingsPtrInput // A textual description for the directory. Description pulumi.StringPtrInput // A list of IP addresses of the DNS servers for the directory or connector. DnsIpAddresses pulumi.StringArrayInput // The MicrosoftAD edition (`Standard` or `Enterprise`). Defaults to `Enterprise` (applies to MicrosoftAD type only). Edition pulumi.StringPtrInput // Whether to enable single-sign on for the directory. Requires `alias`. Defaults to `false`. EnableSso pulumi.BoolPtrInput // The fully qualified name for the directory, such as `corp.example.com` Name pulumi.StringPtrInput // The password for the directory administrator or connector user. Password pulumi.StringPtrInput // The ID of the security group created by the directory. SecurityGroupId pulumi.StringPtrInput // The short name of the directory, such as `CORP`. ShortName pulumi.StringPtrInput // The size of the directory (`Small` or `Large` are accepted values). Size pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput // The directory type (`SimpleAD`, `ADConnector` or `MicrosoftAD` are accepted values). Defaults to `SimpleAD`. Type pulumi.StringPtrInput // VPC related information about the directory. Fields documented below. VpcSettings DirectoryVpcSettingsPtrInput }
func (DirectoryState) ElementType ¶
func (DirectoryState) ElementType() reflect.Type
type DirectoryVpcSettings ¶
type DirectoryVpcSettings struct { AvailabilityZones []string `pulumi:"availabilityZones"` // The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs). SubnetIds []string `pulumi:"subnetIds"` // The identifier of the VPC that the directory is in. VpcId string `pulumi:"vpcId"` }
type DirectoryVpcSettingsArgs ¶
type DirectoryVpcSettingsArgs struct { AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"` // The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs). SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` // The identifier of the VPC that the directory is in. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (DirectoryVpcSettingsArgs) ElementType ¶
func (DirectoryVpcSettingsArgs) ElementType() reflect.Type
func (DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsOutput ¶
func (i DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsOutput() DirectoryVpcSettingsOutput
func (DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsOutputWithContext ¶
func (i DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsOutputWithContext(ctx context.Context) DirectoryVpcSettingsOutput
func (DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsPtrOutput ¶
func (i DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsPtrOutput() DirectoryVpcSettingsPtrOutput
func (DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsPtrOutputWithContext ¶
func (i DirectoryVpcSettingsArgs) ToDirectoryVpcSettingsPtrOutputWithContext(ctx context.Context) DirectoryVpcSettingsPtrOutput
type DirectoryVpcSettingsInput ¶
type DirectoryVpcSettingsInput interface { pulumi.Input ToDirectoryVpcSettingsOutput() DirectoryVpcSettingsOutput ToDirectoryVpcSettingsOutputWithContext(context.Context) DirectoryVpcSettingsOutput }
DirectoryVpcSettingsInput is an input type that accepts DirectoryVpcSettingsArgs and DirectoryVpcSettingsOutput values. You can construct a concrete instance of `DirectoryVpcSettingsInput` via:
DirectoryVpcSettingsArgs{...}
type DirectoryVpcSettingsOutput ¶
type DirectoryVpcSettingsOutput struct{ *pulumi.OutputState }
func (DirectoryVpcSettingsOutput) AvailabilityZones ¶
func (o DirectoryVpcSettingsOutput) AvailabilityZones() pulumi.StringArrayOutput
func (DirectoryVpcSettingsOutput) ElementType ¶
func (DirectoryVpcSettingsOutput) ElementType() reflect.Type
func (DirectoryVpcSettingsOutput) SubnetIds ¶
func (o DirectoryVpcSettingsOutput) SubnetIds() pulumi.StringArrayOutput
The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
func (DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsOutput ¶
func (o DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsOutput() DirectoryVpcSettingsOutput
func (DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsOutputWithContext ¶
func (o DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsOutputWithContext(ctx context.Context) DirectoryVpcSettingsOutput
func (DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsPtrOutput ¶
func (o DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsPtrOutput() DirectoryVpcSettingsPtrOutput
func (DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsPtrOutputWithContext ¶
func (o DirectoryVpcSettingsOutput) ToDirectoryVpcSettingsPtrOutputWithContext(ctx context.Context) DirectoryVpcSettingsPtrOutput
func (DirectoryVpcSettingsOutput) VpcId ¶
func (o DirectoryVpcSettingsOutput) VpcId() pulumi.StringOutput
The identifier of the VPC that the directory is in.
type DirectoryVpcSettingsPtrInput ¶
type DirectoryVpcSettingsPtrInput interface { pulumi.Input ToDirectoryVpcSettingsPtrOutput() DirectoryVpcSettingsPtrOutput ToDirectoryVpcSettingsPtrOutputWithContext(context.Context) DirectoryVpcSettingsPtrOutput }
DirectoryVpcSettingsPtrInput is an input type that accepts DirectoryVpcSettingsArgs, DirectoryVpcSettingsPtr and DirectoryVpcSettingsPtrOutput values. You can construct a concrete instance of `DirectoryVpcSettingsPtrInput` via:
DirectoryVpcSettingsArgs{...} or: nil
func DirectoryVpcSettingsPtr ¶
func DirectoryVpcSettingsPtr(v *DirectoryVpcSettingsArgs) DirectoryVpcSettingsPtrInput
type DirectoryVpcSettingsPtrOutput ¶
type DirectoryVpcSettingsPtrOutput struct{ *pulumi.OutputState }
func (DirectoryVpcSettingsPtrOutput) AvailabilityZones ¶
func (o DirectoryVpcSettingsPtrOutput) AvailabilityZones() pulumi.StringArrayOutput
func (DirectoryVpcSettingsPtrOutput) Elem ¶
func (o DirectoryVpcSettingsPtrOutput) Elem() DirectoryVpcSettingsOutput
func (DirectoryVpcSettingsPtrOutput) ElementType ¶
func (DirectoryVpcSettingsPtrOutput) ElementType() reflect.Type
func (DirectoryVpcSettingsPtrOutput) SubnetIds ¶
func (o DirectoryVpcSettingsPtrOutput) SubnetIds() pulumi.StringArrayOutput
The identifiers of the subnets for the directory servers (2 subnets in 2 different AZs).
func (DirectoryVpcSettingsPtrOutput) ToDirectoryVpcSettingsPtrOutput ¶
func (o DirectoryVpcSettingsPtrOutput) ToDirectoryVpcSettingsPtrOutput() DirectoryVpcSettingsPtrOutput
func (DirectoryVpcSettingsPtrOutput) ToDirectoryVpcSettingsPtrOutputWithContext ¶
func (o DirectoryVpcSettingsPtrOutput) ToDirectoryVpcSettingsPtrOutputWithContext(ctx context.Context) DirectoryVpcSettingsPtrOutput
func (DirectoryVpcSettingsPtrOutput) VpcId ¶
func (o DirectoryVpcSettingsPtrOutput) VpcId() pulumi.StringPtrOutput
The identifier of the VPC that the directory is in.
type GetDirectoryConnectSetting ¶
type GetDirectoryConnectSetting struct { AvailabilityZones []string `pulumi:"availabilityZones"` // The IP addresses of the AD Connector servers. ConnectIps []string `pulumi:"connectIps"` // The DNS IP addresses of the domain to connect to. CustomerDnsIps []string `pulumi:"customerDnsIps"` // The username corresponding to the password provided. CustomerUsername string `pulumi:"customerUsername"` // The identifiers of the subnets for the connector servers (2 subnets in 2 different AZs). SubnetIds []string `pulumi:"subnetIds"` // The ID of the VPC that the connector is in. VpcId string `pulumi:"vpcId"` }
type GetDirectoryConnectSettingArgs ¶
type GetDirectoryConnectSettingArgs struct { AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"` // The IP addresses of the AD Connector servers. ConnectIps pulumi.StringArrayInput `pulumi:"connectIps"` // The DNS IP addresses of the domain to connect to. CustomerDnsIps pulumi.StringArrayInput `pulumi:"customerDnsIps"` // The username corresponding to the password provided. CustomerUsername pulumi.StringInput `pulumi:"customerUsername"` // The identifiers of the subnets for the connector servers (2 subnets in 2 different AZs). SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` // The ID of the VPC that the connector is in. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetDirectoryConnectSettingArgs) ElementType ¶
func (GetDirectoryConnectSettingArgs) ElementType() reflect.Type
func (GetDirectoryConnectSettingArgs) ToGetDirectoryConnectSettingOutput ¶
func (i GetDirectoryConnectSettingArgs) ToGetDirectoryConnectSettingOutput() GetDirectoryConnectSettingOutput
func (GetDirectoryConnectSettingArgs) ToGetDirectoryConnectSettingOutputWithContext ¶
func (i GetDirectoryConnectSettingArgs) ToGetDirectoryConnectSettingOutputWithContext(ctx context.Context) GetDirectoryConnectSettingOutput
type GetDirectoryConnectSettingArray ¶
type GetDirectoryConnectSettingArray []GetDirectoryConnectSettingInput
func (GetDirectoryConnectSettingArray) ElementType ¶
func (GetDirectoryConnectSettingArray) ElementType() reflect.Type
func (GetDirectoryConnectSettingArray) ToGetDirectoryConnectSettingArrayOutput ¶
func (i GetDirectoryConnectSettingArray) ToGetDirectoryConnectSettingArrayOutput() GetDirectoryConnectSettingArrayOutput
func (GetDirectoryConnectSettingArray) ToGetDirectoryConnectSettingArrayOutputWithContext ¶
func (i GetDirectoryConnectSettingArray) ToGetDirectoryConnectSettingArrayOutputWithContext(ctx context.Context) GetDirectoryConnectSettingArrayOutput
type GetDirectoryConnectSettingArrayInput ¶
type GetDirectoryConnectSettingArrayInput interface { pulumi.Input ToGetDirectoryConnectSettingArrayOutput() GetDirectoryConnectSettingArrayOutput ToGetDirectoryConnectSettingArrayOutputWithContext(context.Context) GetDirectoryConnectSettingArrayOutput }
GetDirectoryConnectSettingArrayInput is an input type that accepts GetDirectoryConnectSettingArray and GetDirectoryConnectSettingArrayOutput values. You can construct a concrete instance of `GetDirectoryConnectSettingArrayInput` via:
GetDirectoryConnectSettingArray{ GetDirectoryConnectSettingArgs{...} }
type GetDirectoryConnectSettingArrayOutput ¶
type GetDirectoryConnectSettingArrayOutput struct{ *pulumi.OutputState }
func (GetDirectoryConnectSettingArrayOutput) ElementType ¶
func (GetDirectoryConnectSettingArrayOutput) ElementType() reflect.Type
func (GetDirectoryConnectSettingArrayOutput) Index ¶
func (o GetDirectoryConnectSettingArrayOutput) Index(i pulumi.IntInput) GetDirectoryConnectSettingOutput
func (GetDirectoryConnectSettingArrayOutput) ToGetDirectoryConnectSettingArrayOutput ¶
func (o GetDirectoryConnectSettingArrayOutput) ToGetDirectoryConnectSettingArrayOutput() GetDirectoryConnectSettingArrayOutput
func (GetDirectoryConnectSettingArrayOutput) ToGetDirectoryConnectSettingArrayOutputWithContext ¶
func (o GetDirectoryConnectSettingArrayOutput) ToGetDirectoryConnectSettingArrayOutputWithContext(ctx context.Context) GetDirectoryConnectSettingArrayOutput
type GetDirectoryConnectSettingInput ¶
type GetDirectoryConnectSettingInput interface { pulumi.Input ToGetDirectoryConnectSettingOutput() GetDirectoryConnectSettingOutput ToGetDirectoryConnectSettingOutputWithContext(context.Context) GetDirectoryConnectSettingOutput }
GetDirectoryConnectSettingInput is an input type that accepts GetDirectoryConnectSettingArgs and GetDirectoryConnectSettingOutput values. You can construct a concrete instance of `GetDirectoryConnectSettingInput` via:
GetDirectoryConnectSettingArgs{...}
type GetDirectoryConnectSettingOutput ¶
type GetDirectoryConnectSettingOutput struct{ *pulumi.OutputState }
func (GetDirectoryConnectSettingOutput) AvailabilityZones ¶
func (o GetDirectoryConnectSettingOutput) AvailabilityZones() pulumi.StringArrayOutput
func (GetDirectoryConnectSettingOutput) ConnectIps ¶
func (o GetDirectoryConnectSettingOutput) ConnectIps() pulumi.StringArrayOutput
The IP addresses of the AD Connector servers.
func (GetDirectoryConnectSettingOutput) CustomerDnsIps ¶
func (o GetDirectoryConnectSettingOutput) CustomerDnsIps() pulumi.StringArrayOutput
The DNS IP addresses of the domain to connect to.
func (GetDirectoryConnectSettingOutput) CustomerUsername ¶
func (o GetDirectoryConnectSettingOutput) CustomerUsername() pulumi.StringOutput
The username corresponding to the password provided.
func (GetDirectoryConnectSettingOutput) ElementType ¶
func (GetDirectoryConnectSettingOutput) ElementType() reflect.Type
func (GetDirectoryConnectSettingOutput) SubnetIds ¶
func (o GetDirectoryConnectSettingOutput) SubnetIds() pulumi.StringArrayOutput
The identifiers of the subnets for the connector servers (2 subnets in 2 different AZs).
func (GetDirectoryConnectSettingOutput) ToGetDirectoryConnectSettingOutput ¶
func (o GetDirectoryConnectSettingOutput) ToGetDirectoryConnectSettingOutput() GetDirectoryConnectSettingOutput
func (GetDirectoryConnectSettingOutput) ToGetDirectoryConnectSettingOutputWithContext ¶
func (o GetDirectoryConnectSettingOutput) ToGetDirectoryConnectSettingOutputWithContext(ctx context.Context) GetDirectoryConnectSettingOutput
func (GetDirectoryConnectSettingOutput) VpcId ¶
func (o GetDirectoryConnectSettingOutput) VpcId() pulumi.StringOutput
The ID of the VPC that the connector is in.
type GetDirectoryVpcSetting ¶
type GetDirectoryVpcSetting struct { AvailabilityZones []string `pulumi:"availabilityZones"` // The identifiers of the subnets for the connector servers (2 subnets in 2 different AZs). SubnetIds []string `pulumi:"subnetIds"` // The ID of the VPC that the connector is in. VpcId string `pulumi:"vpcId"` }
type GetDirectoryVpcSettingArgs ¶
type GetDirectoryVpcSettingArgs struct { AvailabilityZones pulumi.StringArrayInput `pulumi:"availabilityZones"` // The identifiers of the subnets for the connector servers (2 subnets in 2 different AZs). SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"` // The ID of the VPC that the connector is in. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetDirectoryVpcSettingArgs) ElementType ¶
func (GetDirectoryVpcSettingArgs) ElementType() reflect.Type
func (GetDirectoryVpcSettingArgs) ToGetDirectoryVpcSettingOutput ¶
func (i GetDirectoryVpcSettingArgs) ToGetDirectoryVpcSettingOutput() GetDirectoryVpcSettingOutput
func (GetDirectoryVpcSettingArgs) ToGetDirectoryVpcSettingOutputWithContext ¶
func (i GetDirectoryVpcSettingArgs) ToGetDirectoryVpcSettingOutputWithContext(ctx context.Context) GetDirectoryVpcSettingOutput
type GetDirectoryVpcSettingArray ¶
type GetDirectoryVpcSettingArray []GetDirectoryVpcSettingInput
func (GetDirectoryVpcSettingArray) ElementType ¶
func (GetDirectoryVpcSettingArray) ElementType() reflect.Type
func (GetDirectoryVpcSettingArray) ToGetDirectoryVpcSettingArrayOutput ¶
func (i GetDirectoryVpcSettingArray) ToGetDirectoryVpcSettingArrayOutput() GetDirectoryVpcSettingArrayOutput
func (GetDirectoryVpcSettingArray) ToGetDirectoryVpcSettingArrayOutputWithContext ¶
func (i GetDirectoryVpcSettingArray) ToGetDirectoryVpcSettingArrayOutputWithContext(ctx context.Context) GetDirectoryVpcSettingArrayOutput
type GetDirectoryVpcSettingArrayInput ¶
type GetDirectoryVpcSettingArrayInput interface { pulumi.Input ToGetDirectoryVpcSettingArrayOutput() GetDirectoryVpcSettingArrayOutput ToGetDirectoryVpcSettingArrayOutputWithContext(context.Context) GetDirectoryVpcSettingArrayOutput }
GetDirectoryVpcSettingArrayInput is an input type that accepts GetDirectoryVpcSettingArray and GetDirectoryVpcSettingArrayOutput values. You can construct a concrete instance of `GetDirectoryVpcSettingArrayInput` via:
GetDirectoryVpcSettingArray{ GetDirectoryVpcSettingArgs{...} }
type GetDirectoryVpcSettingArrayOutput ¶
type GetDirectoryVpcSettingArrayOutput struct{ *pulumi.OutputState }
func (GetDirectoryVpcSettingArrayOutput) ElementType ¶
func (GetDirectoryVpcSettingArrayOutput) ElementType() reflect.Type
func (GetDirectoryVpcSettingArrayOutput) Index ¶
func (o GetDirectoryVpcSettingArrayOutput) Index(i pulumi.IntInput) GetDirectoryVpcSettingOutput
func (GetDirectoryVpcSettingArrayOutput) ToGetDirectoryVpcSettingArrayOutput ¶
func (o GetDirectoryVpcSettingArrayOutput) ToGetDirectoryVpcSettingArrayOutput() GetDirectoryVpcSettingArrayOutput
func (GetDirectoryVpcSettingArrayOutput) ToGetDirectoryVpcSettingArrayOutputWithContext ¶
func (o GetDirectoryVpcSettingArrayOutput) ToGetDirectoryVpcSettingArrayOutputWithContext(ctx context.Context) GetDirectoryVpcSettingArrayOutput
type GetDirectoryVpcSettingInput ¶
type GetDirectoryVpcSettingInput interface { pulumi.Input ToGetDirectoryVpcSettingOutput() GetDirectoryVpcSettingOutput ToGetDirectoryVpcSettingOutputWithContext(context.Context) GetDirectoryVpcSettingOutput }
GetDirectoryVpcSettingInput is an input type that accepts GetDirectoryVpcSettingArgs and GetDirectoryVpcSettingOutput values. You can construct a concrete instance of `GetDirectoryVpcSettingInput` via:
GetDirectoryVpcSettingArgs{...}
type GetDirectoryVpcSettingOutput ¶
type GetDirectoryVpcSettingOutput struct{ *pulumi.OutputState }
func (GetDirectoryVpcSettingOutput) AvailabilityZones ¶
func (o GetDirectoryVpcSettingOutput) AvailabilityZones() pulumi.StringArrayOutput
func (GetDirectoryVpcSettingOutput) ElementType ¶
func (GetDirectoryVpcSettingOutput) ElementType() reflect.Type
func (GetDirectoryVpcSettingOutput) SubnetIds ¶
func (o GetDirectoryVpcSettingOutput) SubnetIds() pulumi.StringArrayOutput
The identifiers of the subnets for the connector servers (2 subnets in 2 different AZs).
func (GetDirectoryVpcSettingOutput) ToGetDirectoryVpcSettingOutput ¶
func (o GetDirectoryVpcSettingOutput) ToGetDirectoryVpcSettingOutput() GetDirectoryVpcSettingOutput
func (GetDirectoryVpcSettingOutput) ToGetDirectoryVpcSettingOutputWithContext ¶
func (o GetDirectoryVpcSettingOutput) ToGetDirectoryVpcSettingOutputWithContext(ctx context.Context) GetDirectoryVpcSettingOutput
func (GetDirectoryVpcSettingOutput) VpcId ¶
func (o GetDirectoryVpcSettingOutput) VpcId() pulumi.StringOutput
The ID of the VPC that the connector is in.
type LogService ¶
type LogService struct { pulumi.CustomResourceState // The id of directory. DirectoryId pulumi.StringOutput `pulumi:"directoryId"` // Name of the cloudwatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time. LogGroupName pulumi.StringOutput `pulumi:"logGroupName"` }
Provides a Log subscription for AWS Directory Service that pushes logs to cloudwatch.
## Import
Directory Service Log Subscriptions can be imported using the directory id, e.g.
```sh
$ pulumi import aws:directoryservice/logService:LogService msad d-1234567890
```
func GetLogService ¶
func GetLogService(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogServiceState, opts ...pulumi.ResourceOption) (*LogService, error)
GetLogService gets an existing LogService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLogService ¶
func NewLogService(ctx *pulumi.Context, name string, args *LogServiceArgs, opts ...pulumi.ResourceOption) (*LogService, error)
NewLogService registers a new resource with the given unique name, arguments, and options.
func (*LogService) ElementType ¶
func (*LogService) ElementType() reflect.Type
func (*LogService) ToLogServiceOutput ¶
func (i *LogService) ToLogServiceOutput() LogServiceOutput
func (*LogService) ToLogServiceOutputWithContext ¶
func (i *LogService) ToLogServiceOutputWithContext(ctx context.Context) LogServiceOutput
func (*LogService) ToLogServicePtrOutput ¶
func (i *LogService) ToLogServicePtrOutput() LogServicePtrOutput
func (*LogService) ToLogServicePtrOutputWithContext ¶
func (i *LogService) ToLogServicePtrOutputWithContext(ctx context.Context) LogServicePtrOutput
type LogServiceArgs ¶
type LogServiceArgs struct { // The id of directory. DirectoryId pulumi.StringInput // Name of the cloudwatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time. LogGroupName pulumi.StringInput }
The set of arguments for constructing a LogService resource.
func (LogServiceArgs) ElementType ¶
func (LogServiceArgs) ElementType() reflect.Type
type LogServiceArray ¶
type LogServiceArray []LogServiceInput
func (LogServiceArray) ElementType ¶
func (LogServiceArray) ElementType() reflect.Type
func (LogServiceArray) ToLogServiceArrayOutput ¶
func (i LogServiceArray) ToLogServiceArrayOutput() LogServiceArrayOutput
func (LogServiceArray) ToLogServiceArrayOutputWithContext ¶
func (i LogServiceArray) ToLogServiceArrayOutputWithContext(ctx context.Context) LogServiceArrayOutput
type LogServiceArrayInput ¶
type LogServiceArrayInput interface { pulumi.Input ToLogServiceArrayOutput() LogServiceArrayOutput ToLogServiceArrayOutputWithContext(context.Context) LogServiceArrayOutput }
LogServiceArrayInput is an input type that accepts LogServiceArray and LogServiceArrayOutput values. You can construct a concrete instance of `LogServiceArrayInput` via:
LogServiceArray{ LogServiceArgs{...} }
type LogServiceArrayOutput ¶
type LogServiceArrayOutput struct{ *pulumi.OutputState }
func (LogServiceArrayOutput) ElementType ¶
func (LogServiceArrayOutput) ElementType() reflect.Type
func (LogServiceArrayOutput) Index ¶
func (o LogServiceArrayOutput) Index(i pulumi.IntInput) LogServiceOutput
func (LogServiceArrayOutput) ToLogServiceArrayOutput ¶
func (o LogServiceArrayOutput) ToLogServiceArrayOutput() LogServiceArrayOutput
func (LogServiceArrayOutput) ToLogServiceArrayOutputWithContext ¶
func (o LogServiceArrayOutput) ToLogServiceArrayOutputWithContext(ctx context.Context) LogServiceArrayOutput
type LogServiceInput ¶
type LogServiceInput interface { pulumi.Input ToLogServiceOutput() LogServiceOutput ToLogServiceOutputWithContext(ctx context.Context) LogServiceOutput }
type LogServiceMap ¶
type LogServiceMap map[string]LogServiceInput
func (LogServiceMap) ElementType ¶
func (LogServiceMap) ElementType() reflect.Type
func (LogServiceMap) ToLogServiceMapOutput ¶
func (i LogServiceMap) ToLogServiceMapOutput() LogServiceMapOutput
func (LogServiceMap) ToLogServiceMapOutputWithContext ¶
func (i LogServiceMap) ToLogServiceMapOutputWithContext(ctx context.Context) LogServiceMapOutput
type LogServiceMapInput ¶
type LogServiceMapInput interface { pulumi.Input ToLogServiceMapOutput() LogServiceMapOutput ToLogServiceMapOutputWithContext(context.Context) LogServiceMapOutput }
LogServiceMapInput is an input type that accepts LogServiceMap and LogServiceMapOutput values. You can construct a concrete instance of `LogServiceMapInput` via:
LogServiceMap{ "key": LogServiceArgs{...} }
type LogServiceMapOutput ¶
type LogServiceMapOutput struct{ *pulumi.OutputState }
func (LogServiceMapOutput) ElementType ¶
func (LogServiceMapOutput) ElementType() reflect.Type
func (LogServiceMapOutput) MapIndex ¶
func (o LogServiceMapOutput) MapIndex(k pulumi.StringInput) LogServiceOutput
func (LogServiceMapOutput) ToLogServiceMapOutput ¶
func (o LogServiceMapOutput) ToLogServiceMapOutput() LogServiceMapOutput
func (LogServiceMapOutput) ToLogServiceMapOutputWithContext ¶
func (o LogServiceMapOutput) ToLogServiceMapOutputWithContext(ctx context.Context) LogServiceMapOutput
type LogServiceOutput ¶
type LogServiceOutput struct{ *pulumi.OutputState }
func (LogServiceOutput) ElementType ¶
func (LogServiceOutput) ElementType() reflect.Type
func (LogServiceOutput) ToLogServiceOutput ¶
func (o LogServiceOutput) ToLogServiceOutput() LogServiceOutput
func (LogServiceOutput) ToLogServiceOutputWithContext ¶
func (o LogServiceOutput) ToLogServiceOutputWithContext(ctx context.Context) LogServiceOutput
func (LogServiceOutput) ToLogServicePtrOutput ¶
func (o LogServiceOutput) ToLogServicePtrOutput() LogServicePtrOutput
func (LogServiceOutput) ToLogServicePtrOutputWithContext ¶
func (o LogServiceOutput) ToLogServicePtrOutputWithContext(ctx context.Context) LogServicePtrOutput
type LogServicePtrInput ¶
type LogServicePtrInput interface { pulumi.Input ToLogServicePtrOutput() LogServicePtrOutput ToLogServicePtrOutputWithContext(ctx context.Context) LogServicePtrOutput }
type LogServicePtrOutput ¶
type LogServicePtrOutput struct{ *pulumi.OutputState }
func (LogServicePtrOutput) Elem ¶ added in v4.15.0
func (o LogServicePtrOutput) Elem() LogServiceOutput
func (LogServicePtrOutput) ElementType ¶
func (LogServicePtrOutput) ElementType() reflect.Type
func (LogServicePtrOutput) ToLogServicePtrOutput ¶
func (o LogServicePtrOutput) ToLogServicePtrOutput() LogServicePtrOutput
func (LogServicePtrOutput) ToLogServicePtrOutputWithContext ¶
func (o LogServicePtrOutput) ToLogServicePtrOutputWithContext(ctx context.Context) LogServicePtrOutput
type LogServiceState ¶
type LogServiceState struct { // The id of directory. DirectoryId pulumi.StringPtrInput // Name of the cloudwatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time. LogGroupName pulumi.StringPtrInput }
func (LogServiceState) ElementType ¶
func (LogServiceState) ElementType() reflect.Type
type LookupDirectoryArgs ¶
type LookupDirectoryArgs struct { // The ID of the directory. DirectoryId string `pulumi:"directoryId"` // A map of tags assigned to the directory/connector. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getDirectory.
type LookupDirectoryResult ¶
type LookupDirectoryResult struct { // The access URL for the directory/connector, such as http://alias.awsapps.com. AccessUrl string `pulumi:"accessUrl"` // The alias for the directory/connector, such as `d-991708b282.awsapps.com`. Alias string `pulumi:"alias"` ConnectSettings []GetDirectoryConnectSetting `pulumi:"connectSettings"` // A textual description for the directory/connector. Description string `pulumi:"description"` DirectoryId string `pulumi:"directoryId"` // A list of IP addresses of the DNS servers for the directory/connector. DnsIpAddresses []string `pulumi:"dnsIpAddresses"` // (for `MicrosoftAD`) The Microsoft AD edition (`Standard` or `Enterprise`). Edition string `pulumi:"edition"` // The directory/connector single-sign on status. EnableSso bool `pulumi:"enableSso"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The fully qualified name for the directory/connector. Name string `pulumi:"name"` // The ID of the security group created by the directory/connector. SecurityGroupId string `pulumi:"securityGroupId"` // The short name of the directory/connector, such as `CORP`. ShortName string `pulumi:"shortName"` // (for `SimpleAD` and `ADConnector`) The size of the directory/connector (`Small` or `Large`). Size string `pulumi:"size"` // A map of tags assigned to the directory/connector. Tags map[string]string `pulumi:"tags"` // The directory type (`SimpleAD`, `ADConnector` or `MicrosoftAD`). Type string `pulumi:"type"` VpcSettings []GetDirectoryVpcSetting `pulumi:"vpcSettings"` }
A collection of values returned by getDirectory.
func LookupDirectory ¶
func LookupDirectory(ctx *pulumi.Context, args *LookupDirectoryArgs, opts ...pulumi.InvokeOption) (*LookupDirectoryResult, error)
Get attributes of AWS Directory Service directory (SimpleAD, Managed AD, AD Connector). It's especially useful to refer AWS Managed AD or on-premise AD in AD Connector configuration.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/directoryservice" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := directoryservice.LookupDirectory(ctx, &directoryservice.LookupDirectoryArgs{ DirectoryId: aws_directory_service_directory.Main.Id, }, nil) if err != nil { return err } return nil }) }
```