aws.storagegateway.Gateway
Explore with Pulumi AI
Manages an AWS Storage Gateway file, tape, or volume gateway in the provider region.
NOTE: The Storage Gateway API requires the gateway to be connected to properly return information after activation. If you are receiving
The specified gateway is not connectederrors during resource creation (gateway activation), ensure your gateway instance meets the Storage Gateway requirements.
Example Usage
Local Cache
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const testVolumeAttachment = new aws.ec2.VolumeAttachment("test", {
    deviceName: "/dev/xvdb",
    volumeId: testAwsEbsVolume.id,
    instanceId: testAwsInstance.id,
});
const test = aws.storagegateway.getLocalDisk({
    diskNode: testAwsVolumeAttachment.deviceName,
    gatewayArn: testAwsStoragegatewayGateway.arn,
});
const testCache = new aws.storagegateway.Cache("test", {
    diskId: test.then(test => test.diskId),
    gatewayArn: testAwsStoragegatewayGateway.arn,
});
import pulumi
import pulumi_aws as aws
test_volume_attachment = aws.ec2.VolumeAttachment("test",
    device_name="/dev/xvdb",
    volume_id=test_aws_ebs_volume["id"],
    instance_id=test_aws_instance["id"])
test = aws.storagegateway.get_local_disk(disk_node=test_aws_volume_attachment["deviceName"],
    gateway_arn=test_aws_storagegateway_gateway["arn"])
test_cache = aws.storagegateway.Cache("test",
    disk_id=test.disk_id,
    gateway_arn=test_aws_storagegateway_gateway["arn"])
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/storagegateway"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec2.NewVolumeAttachment(ctx, "test", &ec2.VolumeAttachmentArgs{
			DeviceName: pulumi.String("/dev/xvdb"),
			VolumeId:   pulumi.Any(testAwsEbsVolume.Id),
			InstanceId: pulumi.Any(testAwsInstance.Id),
		})
		if err != nil {
			return err
		}
		test, err := storagegateway.GetLocalDisk(ctx, &storagegateway.GetLocalDiskArgs{
			DiskNode:   pulumi.StringRef(testAwsVolumeAttachment.DeviceName),
			GatewayArn: testAwsStoragegatewayGateway.Arn,
		}, nil)
		if err != nil {
			return err
		}
		_, err = storagegateway.NewCache(ctx, "test", &storagegateway.CacheArgs{
			DiskId:     pulumi.String(test.DiskId),
			GatewayArn: pulumi.Any(testAwsStoragegatewayGateway.Arn),
		})
		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 testVolumeAttachment = new Aws.Ec2.VolumeAttachment("test", new()
    {
        DeviceName = "/dev/xvdb",
        VolumeId = testAwsEbsVolume.Id,
        InstanceId = testAwsInstance.Id,
    });
    var test = Aws.StorageGateway.GetLocalDisk.Invoke(new()
    {
        DiskNode = testAwsVolumeAttachment.DeviceName,
        GatewayArn = testAwsStoragegatewayGateway.Arn,
    });
    var testCache = new Aws.StorageGateway.Cache("test", new()
    {
        DiskId = test.Apply(getLocalDiskResult => getLocalDiskResult.DiskId),
        GatewayArn = testAwsStoragegatewayGateway.Arn,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.VolumeAttachment;
import com.pulumi.aws.ec2.VolumeAttachmentArgs;
import com.pulumi.aws.storagegateway.StoragegatewayFunctions;
import com.pulumi.aws.storagegateway.inputs.GetLocalDiskArgs;
import com.pulumi.aws.storagegateway.Cache;
import com.pulumi.aws.storagegateway.CacheArgs;
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 testVolumeAttachment = new VolumeAttachment("testVolumeAttachment", VolumeAttachmentArgs.builder()
            .deviceName("/dev/xvdb")
            .volumeId(testAwsEbsVolume.id())
            .instanceId(testAwsInstance.id())
            .build());
        final var test = StoragegatewayFunctions.getLocalDisk(GetLocalDiskArgs.builder()
            .diskNode(testAwsVolumeAttachment.deviceName())
            .gatewayArn(testAwsStoragegatewayGateway.arn())
            .build());
        var testCache = new Cache("testCache", CacheArgs.builder()
            .diskId(test.applyValue(getLocalDiskResult -> getLocalDiskResult.diskId()))
            .gatewayArn(testAwsStoragegatewayGateway.arn())
            .build());
    }
}
resources:
  testVolumeAttachment:
    type: aws:ec2:VolumeAttachment
    name: test
    properties:
      deviceName: /dev/xvdb
      volumeId: ${testAwsEbsVolume.id}
      instanceId: ${testAwsInstance.id}
  testCache:
    type: aws:storagegateway:Cache
    name: test
    properties:
      diskId: ${test.diskId}
      gatewayArn: ${testAwsStoragegatewayGateway.arn}
variables:
  test:
    fn::invoke:
      function: aws:storagegateway:getLocalDisk
      arguments:
        diskNode: ${testAwsVolumeAttachment.deviceName}
        gatewayArn: ${testAwsStoragegatewayGateway.arn}
FSx File Gateway
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.storagegateway.Gateway("example", {
    gatewayIpAddress: "1.2.3.4",
    gatewayName: "example",
    gatewayTimezone: "GMT",
    gatewayType: "FILE_FSX_SMB",
    smbActiveDirectorySettings: {
        domainName: "corp.example.com",
        password: "avoid-plaintext-passwords",
        username: "Admin",
    },
});
import pulumi
import pulumi_aws as aws
example = aws.storagegateway.Gateway("example",
    gateway_ip_address="1.2.3.4",
    gateway_name="example",
    gateway_timezone="GMT",
    gateway_type="FILE_FSX_SMB",
    smb_active_directory_settings={
        "domain_name": "corp.example.com",
        "password": "avoid-plaintext-passwords",
        "username": "Admin",
    })
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/storagegateway"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storagegateway.NewGateway(ctx, "example", &storagegateway.GatewayArgs{
			GatewayIpAddress: pulumi.String("1.2.3.4"),
			GatewayName:      pulumi.String("example"),
			GatewayTimezone:  pulumi.String("GMT"),
			GatewayType:      pulumi.String("FILE_FSX_SMB"),
			SmbActiveDirectorySettings: &storagegateway.GatewaySmbActiveDirectorySettingsArgs{
				DomainName: pulumi.String("corp.example.com"),
				Password:   pulumi.String("avoid-plaintext-passwords"),
				Username:   pulumi.String("Admin"),
			},
		})
		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.StorageGateway.Gateway("example", new()
    {
        GatewayIpAddress = "1.2.3.4",
        GatewayName = "example",
        GatewayTimezone = "GMT",
        GatewayType = "FILE_FSX_SMB",
        SmbActiveDirectorySettings = new Aws.StorageGateway.Inputs.GatewaySmbActiveDirectorySettingsArgs
        {
            DomainName = "corp.example.com",
            Password = "avoid-plaintext-passwords",
            Username = "Admin",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.storagegateway.Gateway;
import com.pulumi.aws.storagegateway.GatewayArgs;
import com.pulumi.aws.storagegateway.inputs.GatewaySmbActiveDirectorySettingsArgs;
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 Gateway("example", GatewayArgs.builder()
            .gatewayIpAddress("1.2.3.4")
            .gatewayName("example")
            .gatewayTimezone("GMT")
            .gatewayType("FILE_FSX_SMB")
            .smbActiveDirectorySettings(GatewaySmbActiveDirectorySettingsArgs.builder()
                .domainName("corp.example.com")
                .password("avoid-plaintext-passwords")
                .username("Admin")
                .build())
            .build());
    }
}
resources:
  example:
    type: aws:storagegateway:Gateway
    properties:
      gatewayIpAddress: 1.2.3.4
      gatewayName: example
      gatewayTimezone: GMT
      gatewayType: FILE_FSX_SMB
      smbActiveDirectorySettings:
        domainName: corp.example.com
        password: avoid-plaintext-passwords
        username: Admin
S3 File Gateway
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.storagegateway.Gateway("example", {
    gatewayIpAddress: "1.2.3.4",
    gatewayName: "example",
    gatewayTimezone: "GMT",
    gatewayType: "FILE_S3",
});
import pulumi
import pulumi_aws as aws
example = aws.storagegateway.Gateway("example",
    gateway_ip_address="1.2.3.4",
    gateway_name="example",
    gateway_timezone="GMT",
    gateway_type="FILE_S3")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/storagegateway"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storagegateway.NewGateway(ctx, "example", &storagegateway.GatewayArgs{
			GatewayIpAddress: pulumi.String("1.2.3.4"),
			GatewayName:      pulumi.String("example"),
			GatewayTimezone:  pulumi.String("GMT"),
			GatewayType:      pulumi.String("FILE_S3"),
		})
		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.StorageGateway.Gateway("example", new()
    {
        GatewayIpAddress = "1.2.3.4",
        GatewayName = "example",
        GatewayTimezone = "GMT",
        GatewayType = "FILE_S3",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.storagegateway.Gateway;
import com.pulumi.aws.storagegateway.GatewayArgs;
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 Gateway("example", GatewayArgs.builder()
            .gatewayIpAddress("1.2.3.4")
            .gatewayName("example")
            .gatewayTimezone("GMT")
            .gatewayType("FILE_S3")
            .build());
    }
}
resources:
  example:
    type: aws:storagegateway:Gateway
    properties:
      gatewayIpAddress: 1.2.3.4
      gatewayName: example
      gatewayTimezone: GMT
      gatewayType: FILE_S3
Tape Gateway
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.storagegateway.Gateway("example", {
    gatewayIpAddress: "1.2.3.4",
    gatewayName: "example",
    gatewayTimezone: "GMT",
    gatewayType: "VTL",
    mediumChangerType: "AWS-Gateway-VTL",
    tapeDriveType: "IBM-ULT3580-TD5",
});
import pulumi
import pulumi_aws as aws
example = aws.storagegateway.Gateway("example",
    gateway_ip_address="1.2.3.4",
    gateway_name="example",
    gateway_timezone="GMT",
    gateway_type="VTL",
    medium_changer_type="AWS-Gateway-VTL",
    tape_drive_type="IBM-ULT3580-TD5")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/storagegateway"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storagegateway.NewGateway(ctx, "example", &storagegateway.GatewayArgs{
			GatewayIpAddress:  pulumi.String("1.2.3.4"),
			GatewayName:       pulumi.String("example"),
			GatewayTimezone:   pulumi.String("GMT"),
			GatewayType:       pulumi.String("VTL"),
			MediumChangerType: pulumi.String("AWS-Gateway-VTL"),
			TapeDriveType:     pulumi.String("IBM-ULT3580-TD5"),
		})
		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.StorageGateway.Gateway("example", new()
    {
        GatewayIpAddress = "1.2.3.4",
        GatewayName = "example",
        GatewayTimezone = "GMT",
        GatewayType = "VTL",
        MediumChangerType = "AWS-Gateway-VTL",
        TapeDriveType = "IBM-ULT3580-TD5",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.storagegateway.Gateway;
import com.pulumi.aws.storagegateway.GatewayArgs;
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 Gateway("example", GatewayArgs.builder()
            .gatewayIpAddress("1.2.3.4")
            .gatewayName("example")
            .gatewayTimezone("GMT")
            .gatewayType("VTL")
            .mediumChangerType("AWS-Gateway-VTL")
            .tapeDriveType("IBM-ULT3580-TD5")
            .build());
    }
}
resources:
  example:
    type: aws:storagegateway:Gateway
    properties:
      gatewayIpAddress: 1.2.3.4
      gatewayName: example
      gatewayTimezone: GMT
      gatewayType: VTL
      mediumChangerType: AWS-Gateway-VTL
      tapeDriveType: IBM-ULT3580-TD5
Volume Gateway (Cached)
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.storagegateway.Gateway("example", {
    gatewayIpAddress: "1.2.3.4",
    gatewayName: "example",
    gatewayTimezone: "GMT",
    gatewayType: "CACHED",
});
import pulumi
import pulumi_aws as aws
example = aws.storagegateway.Gateway("example",
    gateway_ip_address="1.2.3.4",
    gateway_name="example",
    gateway_timezone="GMT",
    gateway_type="CACHED")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/storagegateway"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storagegateway.NewGateway(ctx, "example", &storagegateway.GatewayArgs{
			GatewayIpAddress: pulumi.String("1.2.3.4"),
			GatewayName:      pulumi.String("example"),
			GatewayTimezone:  pulumi.String("GMT"),
			GatewayType:      pulumi.String("CACHED"),
		})
		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.StorageGateway.Gateway("example", new()
    {
        GatewayIpAddress = "1.2.3.4",
        GatewayName = "example",
        GatewayTimezone = "GMT",
        GatewayType = "CACHED",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.storagegateway.Gateway;
import com.pulumi.aws.storagegateway.GatewayArgs;
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 Gateway("example", GatewayArgs.builder()
            .gatewayIpAddress("1.2.3.4")
            .gatewayName("example")
            .gatewayTimezone("GMT")
            .gatewayType("CACHED")
            .build());
    }
}
resources:
  example:
    type: aws:storagegateway:Gateway
    properties:
      gatewayIpAddress: 1.2.3.4
      gatewayName: example
      gatewayTimezone: GMT
      gatewayType: CACHED
Volume Gateway (Stored)
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.storagegateway.Gateway("example", {
    gatewayIpAddress: "1.2.3.4",
    gatewayName: "example",
    gatewayTimezone: "GMT",
    gatewayType: "STORED",
});
import pulumi
import pulumi_aws as aws
example = aws.storagegateway.Gateway("example",
    gateway_ip_address="1.2.3.4",
    gateway_name="example",
    gateway_timezone="GMT",
    gateway_type="STORED")
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/storagegateway"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := storagegateway.NewGateway(ctx, "example", &storagegateway.GatewayArgs{
			GatewayIpAddress: pulumi.String("1.2.3.4"),
			GatewayName:      pulumi.String("example"),
			GatewayTimezone:  pulumi.String("GMT"),
			GatewayType:      pulumi.String("STORED"),
		})
		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.StorageGateway.Gateway("example", new()
    {
        GatewayIpAddress = "1.2.3.4",
        GatewayName = "example",
        GatewayTimezone = "GMT",
        GatewayType = "STORED",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.storagegateway.Gateway;
import com.pulumi.aws.storagegateway.GatewayArgs;
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 Gateway("example", GatewayArgs.builder()
            .gatewayIpAddress("1.2.3.4")
            .gatewayName("example")
            .gatewayTimezone("GMT")
            .gatewayType("STORED")
            .build());
    }
}
resources:
  example:
    type: aws:storagegateway:Gateway
    properties:
      gatewayIpAddress: 1.2.3.4
      gatewayName: example
      gatewayTimezone: GMT
      gatewayType: STORED
Create Gateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Gateway(name: string, args: GatewayArgs, opts?: CustomResourceOptions);@overload
def Gateway(resource_name: str,
            args: GatewayArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Gateway(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            gateway_name: Optional[str] = None,
            gateway_timezone: Optional[str] = None,
            gateway_vpc_endpoint: Optional[str] = None,
            maintenance_start_time: Optional[GatewayMaintenanceStartTimeArgs] = None,
            gateway_ip_address: Optional[str] = None,
            average_upload_rate_limit_in_bits_per_sec: Optional[int] = None,
            average_download_rate_limit_in_bits_per_sec: Optional[int] = None,
            gateway_type: Optional[str] = None,
            activation_key: Optional[str] = None,
            cloudwatch_log_group_arn: Optional[str] = None,
            medium_changer_type: Optional[str] = None,
            smb_active_directory_settings: Optional[GatewaySmbActiveDirectorySettingsArgs] = None,
            smb_file_share_visibility: Optional[bool] = None,
            smb_guest_password: Optional[str] = None,
            smb_security_strategy: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tape_drive_type: Optional[str] = None)func NewGateway(ctx *Context, name string, args GatewayArgs, opts ...ResourceOption) (*Gateway, error)public Gateway(string name, GatewayArgs args, CustomResourceOptions? opts = null)
public Gateway(String name, GatewayArgs args)
public Gateway(String name, GatewayArgs args, CustomResourceOptions options)
type: aws:storagegateway:Gateway
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 GatewayArgs
- 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 GatewayArgs
- 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 GatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GatewayArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var awsGatewayResource = new Aws.StorageGateway.Gateway("awsGatewayResource", new()
{
    GatewayName = "string",
    GatewayTimezone = "string",
    GatewayVpcEndpoint = "string",
    MaintenanceStartTime = new Aws.StorageGateway.Inputs.GatewayMaintenanceStartTimeArgs
    {
        HourOfDay = 0,
        DayOfMonth = "string",
        DayOfWeek = "string",
        MinuteOfHour = 0,
    },
    GatewayIpAddress = "string",
    AverageUploadRateLimitInBitsPerSec = 0,
    AverageDownloadRateLimitInBitsPerSec = 0,
    GatewayType = "string",
    ActivationKey = "string",
    CloudwatchLogGroupArn = "string",
    MediumChangerType = "string",
    SmbActiveDirectorySettings = new Aws.StorageGateway.Inputs.GatewaySmbActiveDirectorySettingsArgs
    {
        DomainName = "string",
        Password = "string",
        Username = "string",
        ActiveDirectoryStatus = "string",
        DomainControllers = new[]
        {
            "string",
        },
        OrganizationalUnit = "string",
        TimeoutInSeconds = 0,
    },
    SmbFileShareVisibility = false,
    SmbGuestPassword = "string",
    SmbSecurityStrategy = "string",
    Tags = 
    {
        { "string", "string" },
    },
    TapeDriveType = "string",
});
example, err := storagegateway.NewGateway(ctx, "awsGatewayResource", &storagegateway.GatewayArgs{
	GatewayName:        pulumi.String("string"),
	GatewayTimezone:    pulumi.String("string"),
	GatewayVpcEndpoint: pulumi.String("string"),
	MaintenanceStartTime: &storagegateway.GatewayMaintenanceStartTimeArgs{
		HourOfDay:    pulumi.Int(0),
		DayOfMonth:   pulumi.String("string"),
		DayOfWeek:    pulumi.String("string"),
		MinuteOfHour: pulumi.Int(0),
	},
	GatewayIpAddress:                     pulumi.String("string"),
	AverageUploadRateLimitInBitsPerSec:   pulumi.Int(0),
	AverageDownloadRateLimitInBitsPerSec: pulumi.Int(0),
	GatewayType:                          pulumi.String("string"),
	ActivationKey:                        pulumi.String("string"),
	CloudwatchLogGroupArn:                pulumi.String("string"),
	MediumChangerType:                    pulumi.String("string"),
	SmbActiveDirectorySettings: &storagegateway.GatewaySmbActiveDirectorySettingsArgs{
		DomainName:            pulumi.String("string"),
		Password:              pulumi.String("string"),
		Username:              pulumi.String("string"),
		ActiveDirectoryStatus: pulumi.String("string"),
		DomainControllers: pulumi.StringArray{
			pulumi.String("string"),
		},
		OrganizationalUnit: pulumi.String("string"),
		TimeoutInSeconds:   pulumi.Int(0),
	},
	SmbFileShareVisibility: pulumi.Bool(false),
	SmbGuestPassword:       pulumi.String("string"),
	SmbSecurityStrategy:    pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	TapeDriveType: pulumi.String("string"),
})
var awsGatewayResource = new Gateway("awsGatewayResource", GatewayArgs.builder()
    .gatewayName("string")
    .gatewayTimezone("string")
    .gatewayVpcEndpoint("string")
    .maintenanceStartTime(GatewayMaintenanceStartTimeArgs.builder()
        .hourOfDay(0)
        .dayOfMonth("string")
        .dayOfWeek("string")
        .minuteOfHour(0)
        .build())
    .gatewayIpAddress("string")
    .averageUploadRateLimitInBitsPerSec(0)
    .averageDownloadRateLimitInBitsPerSec(0)
    .gatewayType("string")
    .activationKey("string")
    .cloudwatchLogGroupArn("string")
    .mediumChangerType("string")
    .smbActiveDirectorySettings(GatewaySmbActiveDirectorySettingsArgs.builder()
        .domainName("string")
        .password("string")
        .username("string")
        .activeDirectoryStatus("string")
        .domainControllers("string")
        .organizationalUnit("string")
        .timeoutInSeconds(0)
        .build())
    .smbFileShareVisibility(false)
    .smbGuestPassword("string")
    .smbSecurityStrategy("string")
    .tags(Map.of("string", "string"))
    .tapeDriveType("string")
    .build());
aws_gateway_resource = aws.storagegateway.Gateway("awsGatewayResource",
    gateway_name="string",
    gateway_timezone="string",
    gateway_vpc_endpoint="string",
    maintenance_start_time={
        "hour_of_day": 0,
        "day_of_month": "string",
        "day_of_week": "string",
        "minute_of_hour": 0,
    },
    gateway_ip_address="string",
    average_upload_rate_limit_in_bits_per_sec=0,
    average_download_rate_limit_in_bits_per_sec=0,
    gateway_type="string",
    activation_key="string",
    cloudwatch_log_group_arn="string",
    medium_changer_type="string",
    smb_active_directory_settings={
        "domain_name": "string",
        "password": "string",
        "username": "string",
        "active_directory_status": "string",
        "domain_controllers": ["string"],
        "organizational_unit": "string",
        "timeout_in_seconds": 0,
    },
    smb_file_share_visibility=False,
    smb_guest_password="string",
    smb_security_strategy="string",
    tags={
        "string": "string",
    },
    tape_drive_type="string")
const awsGatewayResource = new aws.storagegateway.Gateway("awsGatewayResource", {
    gatewayName: "string",
    gatewayTimezone: "string",
    gatewayVpcEndpoint: "string",
    maintenanceStartTime: {
        hourOfDay: 0,
        dayOfMonth: "string",
        dayOfWeek: "string",
        minuteOfHour: 0,
    },
    gatewayIpAddress: "string",
    averageUploadRateLimitInBitsPerSec: 0,
    averageDownloadRateLimitInBitsPerSec: 0,
    gatewayType: "string",
    activationKey: "string",
    cloudwatchLogGroupArn: "string",
    mediumChangerType: "string",
    smbActiveDirectorySettings: {
        domainName: "string",
        password: "string",
        username: "string",
        activeDirectoryStatus: "string",
        domainControllers: ["string"],
        organizationalUnit: "string",
        timeoutInSeconds: 0,
    },
    smbFileShareVisibility: false,
    smbGuestPassword: "string",
    smbSecurityStrategy: "string",
    tags: {
        string: "string",
    },
    tapeDriveType: "string",
});
type: aws:storagegateway:Gateway
properties:
    activationKey: string
    averageDownloadRateLimitInBitsPerSec: 0
    averageUploadRateLimitInBitsPerSec: 0
    cloudwatchLogGroupArn: string
    gatewayIpAddress: string
    gatewayName: string
    gatewayTimezone: string
    gatewayType: string
    gatewayVpcEndpoint: string
    maintenanceStartTime:
        dayOfMonth: string
        dayOfWeek: string
        hourOfDay: 0
        minuteOfHour: 0
    mediumChangerType: string
    smbActiveDirectorySettings:
        activeDirectoryStatus: string
        domainControllers:
            - string
        domainName: string
        organizationalUnit: string
        password: string
        timeoutInSeconds: 0
        username: string
    smbFileShareVisibility: false
    smbGuestPassword: string
    smbSecurityStrategy: string
    tags:
        string: string
    tapeDriveType: string
Gateway Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Gateway resource accepts the following input properties:
- GatewayName string
- Name of the gateway.
- GatewayTimezone string
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- ActivationKey string
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- AverageDownload intRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- AverageUpload intRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- CloudwatchLog stringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- GatewayIp stringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- GatewayType string
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- GatewayVpc stringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- MaintenanceStart GatewayTime Maintenance Start Time 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- MediumChanger stringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- SmbActive GatewayDirectory Settings Smb Active Directory Settings 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- bool
- Specifies whether the shares on this gateway appear when listing shares.
- SmbGuest stringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- SmbSecurity stringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- TapeDrive stringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- GatewayName string
- Name of the gateway.
- GatewayTimezone string
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- ActivationKey string
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- AverageDownload intRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- AverageUpload intRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- CloudwatchLog stringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- GatewayIp stringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- GatewayType string
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- GatewayVpc stringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- MaintenanceStart GatewayTime Maintenance Start Time Args 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- MediumChanger stringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- SmbActive GatewayDirectory Settings Smb Active Directory Settings Args 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- bool
- Specifies whether the shares on this gateway appear when listing shares.
- SmbGuest stringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- SmbSecurity stringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- map[string]string
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- TapeDrive stringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- gatewayName String
- Name of the gateway.
- gatewayTimezone String
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- activationKey String
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- averageDownload IntegerRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- averageUpload IntegerRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- cloudwatchLog StringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- gatewayIp StringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- gatewayType String
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- gatewayVpc StringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- maintenanceStart GatewayTime Maintenance Start Time 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- mediumChanger StringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- smbActive GatewayDirectory Settings Smb Active Directory Settings 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- Boolean
- Specifies whether the shares on this gateway appear when listing shares.
- smbGuest StringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- smbSecurity StringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tapeDrive StringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- gatewayName string
- Name of the gateway.
- gatewayTimezone string
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- activationKey string
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- averageDownload numberRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- averageUpload numberRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- cloudwatchLog stringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- gatewayIp stringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- gatewayType string
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- gatewayVpc stringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- maintenanceStart GatewayTime Maintenance Start Time 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- mediumChanger stringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- smbActive GatewayDirectory Settings Smb Active Directory Settings 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- boolean
- Specifies whether the shares on this gateway appear when listing shares.
- smbGuest stringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- smbSecurity stringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tapeDrive stringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- gateway_name str
- Name of the gateway.
- gateway_timezone str
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- activation_key str
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- average_download_ intrate_ limit_ in_ bits_ per_ sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- average_upload_ intrate_ limit_ in_ bits_ per_ sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- cloudwatch_log_ strgroup_ arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- gateway_ip_ straddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- gateway_type str
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- gateway_vpc_ strendpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- maintenance_start_ Gatewaytime Maintenance Start Time Args 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- medium_changer_ strtype 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- smb_active_ Gatewaydirectory_ settings Smb Active Directory Settings Args 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- bool
- Specifies whether the shares on this gateway appear when listing shares.
- smb_guest_ strpassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- smb_security_ strstrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tape_drive_ strtype 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- gatewayName String
- Name of the gateway.
- gatewayTimezone String
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- activationKey String
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- averageDownload NumberRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- averageUpload NumberRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- cloudwatchLog StringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- gatewayIp StringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- gatewayType String
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- gatewayVpc StringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- maintenanceStart Property MapTime 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- mediumChanger StringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- smbActive Property MapDirectory Settings 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- Boolean
- Specifies whether the shares on this gateway appear when listing shares.
- smbGuest StringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- smbSecurity StringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- Map<String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- tapeDrive StringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
Outputs
All input properties are implicitly available as output properties. Additionally, the Gateway resource produces the following output properties:
- Arn string
- Amazon Resource Name (ARN) of the gateway.
- Ec2InstanceId string
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- EndpointType string
- The type of endpoint for your gateway.
- GatewayId string
- Identifier of the gateway.
- GatewayNetwork List<GatewayInterfaces Gateway Network Interface> 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- HostEnvironment string
- The type of hypervisor environment used by the host.
- Id string
- The provider-assigned unique ID for this managed resource.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Arn string
- Amazon Resource Name (ARN) of the gateway.
- Ec2InstanceId string
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- EndpointType string
- The type of endpoint for your gateway.
- GatewayId string
- Identifier of the gateway.
- GatewayNetwork []GatewayInterfaces Gateway Network Interface 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- HostEnvironment string
- The type of hypervisor environment used by the host.
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- Amazon Resource Name (ARN) of the gateway.
- ec2InstanceId String
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- endpointType String
- The type of endpoint for your gateway.
- gatewayId String
- Identifier of the gateway.
- gatewayNetwork List<GatewayInterfaces Gateway Network Interface> 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- hostEnvironment String
- The type of hypervisor environment used by the host.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn string
- Amazon Resource Name (ARN) of the gateway.
- ec2InstanceId string
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- endpointType string
- The type of endpoint for your gateway.
- gatewayId string
- Identifier of the gateway.
- gatewayNetwork GatewayInterfaces Gateway Network Interface[] 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- hostEnvironment string
- The type of hypervisor environment used by the host.
- id string
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn str
- Amazon Resource Name (ARN) of the gateway.
- ec2_instance_ strid 
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- endpoint_type str
- The type of endpoint for your gateway.
- gateway_id str
- Identifier of the gateway.
- gateway_network_ Sequence[Gatewayinterfaces Gateway Network Interface] 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- host_environment str
- The type of hypervisor environment used by the host.
- id str
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- arn String
- Amazon Resource Name (ARN) of the gateway.
- ec2InstanceId String
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- endpointType String
- The type of endpoint for your gateway.
- gatewayId String
- Identifier of the gateway.
- gatewayNetwork List<Property Map>Interfaces 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- hostEnvironment String
- The type of hypervisor environment used by the host.
- id String
- The provider-assigned unique ID for this managed resource.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
Look up Existing Gateway Resource
Get an existing Gateway 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?: GatewayState, opts?: CustomResourceOptions): Gateway@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        activation_key: Optional[str] = None,
        arn: Optional[str] = None,
        average_download_rate_limit_in_bits_per_sec: Optional[int] = None,
        average_upload_rate_limit_in_bits_per_sec: Optional[int] = None,
        cloudwatch_log_group_arn: Optional[str] = None,
        ec2_instance_id: Optional[str] = None,
        endpoint_type: Optional[str] = None,
        gateway_id: Optional[str] = None,
        gateway_ip_address: Optional[str] = None,
        gateway_name: Optional[str] = None,
        gateway_network_interfaces: Optional[Sequence[GatewayGatewayNetworkInterfaceArgs]] = None,
        gateway_timezone: Optional[str] = None,
        gateway_type: Optional[str] = None,
        gateway_vpc_endpoint: Optional[str] = None,
        host_environment: Optional[str] = None,
        maintenance_start_time: Optional[GatewayMaintenanceStartTimeArgs] = None,
        medium_changer_type: Optional[str] = None,
        smb_active_directory_settings: Optional[GatewaySmbActiveDirectorySettingsArgs] = None,
        smb_file_share_visibility: Optional[bool] = None,
        smb_guest_password: Optional[str] = None,
        smb_security_strategy: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        tape_drive_type: Optional[str] = None) -> Gatewayfunc GetGateway(ctx *Context, name string, id IDInput, state *GatewayState, opts ...ResourceOption) (*Gateway, error)public static Gateway Get(string name, Input<string> id, GatewayState? state, CustomResourceOptions? opts = null)public static Gateway get(String name, Output<String> id, GatewayState state, CustomResourceOptions options)resources:  _:    type: aws:storagegateway:Gateway    get:      id: ${id}- 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.
- ActivationKey string
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- Arn string
- Amazon Resource Name (ARN) of the gateway.
- AverageDownload intRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- AverageUpload intRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- CloudwatchLog stringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- Ec2InstanceId string
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- EndpointType string
- The type of endpoint for your gateway.
- GatewayId string
- Identifier of the gateway.
- GatewayIp stringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- GatewayName string
- Name of the gateway.
- GatewayNetwork List<GatewayInterfaces Gateway Network Interface> 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- GatewayTimezone string
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- GatewayType string
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- GatewayVpc stringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- HostEnvironment string
- The type of hypervisor environment used by the host.
- MaintenanceStart GatewayTime Maintenance Start Time 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- MediumChanger stringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- SmbActive GatewayDirectory Settings Smb Active Directory Settings 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- bool
- Specifies whether the shares on this gateway appear when listing shares.
- SmbGuest stringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- SmbSecurity stringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- Dictionary<string, string>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- TapeDrive stringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- ActivationKey string
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- Arn string
- Amazon Resource Name (ARN) of the gateway.
- AverageDownload intRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- AverageUpload intRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- CloudwatchLog stringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- Ec2InstanceId string
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- EndpointType string
- The type of endpoint for your gateway.
- GatewayId string
- Identifier of the gateway.
- GatewayIp stringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- GatewayName string
- Name of the gateway.
- GatewayNetwork []GatewayInterfaces Gateway Network Interface Args 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- GatewayTimezone string
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- GatewayType string
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- GatewayVpc stringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- HostEnvironment string
- The type of hypervisor environment used by the host.
- MaintenanceStart GatewayTime Maintenance Start Time Args 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- MediumChanger stringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- SmbActive GatewayDirectory Settings Smb Active Directory Settings Args 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- bool
- Specifies whether the shares on this gateway appear when listing shares.
- SmbGuest stringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- SmbSecurity stringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- map[string]string
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- TapeDrive stringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- activationKey String
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- arn String
- Amazon Resource Name (ARN) of the gateway.
- averageDownload IntegerRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- averageUpload IntegerRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- cloudwatchLog StringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- ec2InstanceId String
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- endpointType String
- The type of endpoint for your gateway.
- gatewayId String
- Identifier of the gateway.
- gatewayIp StringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- gatewayName String
- Name of the gateway.
- gatewayNetwork List<GatewayInterfaces Gateway Network Interface> 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- gatewayTimezone String
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- gatewayType String
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- gatewayVpc StringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- hostEnvironment String
- The type of hypervisor environment used by the host.
- maintenanceStart GatewayTime Maintenance Start Time 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- mediumChanger StringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- smbActive GatewayDirectory Settings Smb Active Directory Settings 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- Boolean
- Specifies whether the shares on this gateway appear when listing shares.
- smbGuest StringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- smbSecurity StringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- Map<String,String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tapeDrive StringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- activationKey string
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- arn string
- Amazon Resource Name (ARN) of the gateway.
- averageDownload numberRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- averageUpload numberRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- cloudwatchLog stringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- ec2InstanceId string
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- endpointType string
- The type of endpoint for your gateway.
- gatewayId string
- Identifier of the gateway.
- gatewayIp stringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- gatewayName string
- Name of the gateway.
- gatewayNetwork GatewayInterfaces Gateway Network Interface[] 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- gatewayTimezone string
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- gatewayType string
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- gatewayVpc stringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- hostEnvironment string
- The type of hypervisor environment used by the host.
- maintenanceStart GatewayTime Maintenance Start Time 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- mediumChanger stringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- smbActive GatewayDirectory Settings Smb Active Directory Settings 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- boolean
- Specifies whether the shares on this gateway appear when listing shares.
- smbGuest stringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- smbSecurity stringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- {[key: string]: string}
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tapeDrive stringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- activation_key str
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- arn str
- Amazon Resource Name (ARN) of the gateway.
- average_download_ intrate_ limit_ in_ bits_ per_ sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- average_upload_ intrate_ limit_ in_ bits_ per_ sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- cloudwatch_log_ strgroup_ arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- ec2_instance_ strid 
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- endpoint_type str
- The type of endpoint for your gateway.
- gateway_id str
- Identifier of the gateway.
- gateway_ip_ straddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- gateway_name str
- Name of the gateway.
- gateway_network_ Sequence[Gatewayinterfaces Gateway Network Interface Args] 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- gateway_timezone str
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- gateway_type str
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- gateway_vpc_ strendpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- host_environment str
- The type of hypervisor environment used by the host.
- maintenance_start_ Gatewaytime Maintenance Start Time Args 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- medium_changer_ strtype 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- smb_active_ Gatewaydirectory_ settings Smb Active Directory Settings Args 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- bool
- Specifies whether the shares on this gateway appear when listing shares.
- smb_guest_ strpassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- smb_security_ strstrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- Mapping[str, str]
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tape_drive_ strtype 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
- activationKey String
- Gateway activation key during resource creation. Conflicts with gateway_ip_address. Additional information is available in the Storage Gateway User Guide.
- arn String
- Amazon Resource Name (ARN) of the gateway.
- averageDownload NumberRate Limit In Bits Per Sec 
- The average download bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- averageUpload NumberRate Limit In Bits Per Sec 
- The average upload bandwidth rate limit in bits per second. This is supported for the CACHED,STORED, andVTLgateway types.
- cloudwatchLog StringGroup Arn 
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
- ec2InstanceId String
- The ID of the Amazon EC2 instance that was used to launch the gateway.
- endpointType String
- The type of endpoint for your gateway.
- gatewayId String
- Identifier of the gateway.
- gatewayIp StringAddress 
- Gateway IP address to retrieve activation key during resource creation. Conflicts with activation_key. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the Storage Gateway User Guide.
- gatewayName String
- Name of the gateway.
- gatewayNetwork List<Property Map>Interfaces 
- An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
- gatewayTimezone String
- Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, GMT-4:00indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
- gatewayType String
- Type of the gateway. The default value is STORED. Valid values:CACHED,FILE_FSX_SMB,FILE_S3,STORED,VTL.
- gatewayVpc StringEndpoint 
- VPC endpoint address to be used when activating your gateway. This should be used when your instance is in a private subnet. Requires HTTP access from client computer running this provider. More info on what ports are required by your VPC Endpoint Security group in Activating a Gateway in a Virtual Private Cloud.
- hostEnvironment String
- The type of hypervisor environment used by the host.
- maintenanceStart Property MapTime 
- The gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone. More details below.
- mediumChanger StringType 
- Type of medium changer to use for tape gateway. This provider cannot detect drift of this argument. Valid values: STK-L700,AWS-Gateway-VTL,IBM-03584L32-0402.
- smbActive Property MapDirectory Settings 
- Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingActiveDirectoryauthentication SMB file shares. More details below.
- Boolean
- Specifies whether the shares on this gateway appear when listing shares.
- smbGuest StringPassword 
- Guest password for Server Message Block (SMB) file shares. Only valid for FILE_S3andFILE_FSX_SMBgateway types. Must be set before creatingGuestAccessauthentication SMB file shares. This provider can only detect drift of the existence of a guest password, not its actual value from the gateway. This provider can however update the password with changing the argument.
- smbSecurity StringStrategy 
- Specifies the type of security strategy. Valid values are: ClientSpecified,MandatorySigning, andMandatoryEncryption. See Setting a Security Level for Your Gateway for more information.
- Map<String>
- Key-value map of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- A map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- tapeDrive StringType 
- Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: IBM-ULT3580-TD5.
Supporting Types
GatewayGatewayNetworkInterface, GatewayGatewayNetworkInterfaceArgs        
- Ipv4Address string
- The Internet Protocol version 4 (IPv4) address of the interface.
- Ipv4Address string
- The Internet Protocol version 4 (IPv4) address of the interface.
- ipv4Address String
- The Internet Protocol version 4 (IPv4) address of the interface.
- ipv4Address string
- The Internet Protocol version 4 (IPv4) address of the interface.
- ipv4_address str
- The Internet Protocol version 4 (IPv4) address of the interface.
- ipv4Address String
- The Internet Protocol version 4 (IPv4) address of the interface.
GatewayMaintenanceStartTime, GatewayMaintenanceStartTimeArgs        
- HourOf intDay 
- The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.
- DayOf stringMonth 
- The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
- DayOf stringWeek 
- The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
- MinuteOf intHour 
- The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.
- HourOf intDay 
- The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.
- DayOf stringMonth 
- The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
- DayOf stringWeek 
- The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
- MinuteOf intHour 
- The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.
- hourOf IntegerDay 
- The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.
- dayOf StringMonth 
- The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
- dayOf StringWeek 
- The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
- minuteOf IntegerHour 
- The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.
- hourOf numberDay 
- The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.
- dayOf stringMonth 
- The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
- dayOf stringWeek 
- The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
- minuteOf numberHour 
- The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.
- hour_of_ intday 
- The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.
- day_of_ strmonth 
- The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
- day_of_ strweek 
- The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
- minute_of_ inthour 
- The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.
- hourOf NumberDay 
- The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.
- dayOf StringMonth 
- The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
- dayOf StringWeek 
- The day of the week component of the maintenance start time week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.
- minuteOf NumberHour 
- The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.
GatewaySmbActiveDirectorySettings, GatewaySmbActiveDirectorySettingsArgs          
- DomainName string
- The name of the domain that you want the gateway to join.
- Password string
- The password of the user who has permission to add the gateway to the Active Directory domain.
- Username string
- The user name of user who has permission to add the gateway to the Active Directory domain.
- ActiveDirectory stringStatus 
- DomainControllers List<string>
- List of IPv4 addresses, NetBIOS names, or host names of your domain server.
If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.
- OrganizationalUnit string
- The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
- TimeoutIn intSeconds 
- Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20seconds.
- DomainName string
- The name of the domain that you want the gateway to join.
- Password string
- The password of the user who has permission to add the gateway to the Active Directory domain.
- Username string
- The user name of user who has permission to add the gateway to the Active Directory domain.
- ActiveDirectory stringStatus 
- DomainControllers []string
- List of IPv4 addresses, NetBIOS names, or host names of your domain server.
If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.
- OrganizationalUnit string
- The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
- TimeoutIn intSeconds 
- Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20seconds.
- domainName String
- The name of the domain that you want the gateway to join.
- password String
- The password of the user who has permission to add the gateway to the Active Directory domain.
- username String
- The user name of user who has permission to add the gateway to the Active Directory domain.
- activeDirectory StringStatus 
- domainControllers List<String>
- List of IPv4 addresses, NetBIOS names, or host names of your domain server.
If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.
- organizationalUnit String
- The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
- timeoutIn IntegerSeconds 
- Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20seconds.
- domainName string
- The name of the domain that you want the gateway to join.
- password string
- The password of the user who has permission to add the gateway to the Active Directory domain.
- username string
- The user name of user who has permission to add the gateway to the Active Directory domain.
- activeDirectory stringStatus 
- domainControllers string[]
- List of IPv4 addresses, NetBIOS names, or host names of your domain server.
If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.
- organizationalUnit string
- The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
- timeoutIn numberSeconds 
- Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20seconds.
- domain_name str
- The name of the domain that you want the gateway to join.
- password str
- The password of the user who has permission to add the gateway to the Active Directory domain.
- username str
- The user name of user who has permission to add the gateway to the Active Directory domain.
- active_directory_ strstatus 
- domain_controllers Sequence[str]
- List of IPv4 addresses, NetBIOS names, or host names of your domain server.
If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.
- organizational_unit str
- The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
- timeout_in_ intseconds 
- Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20seconds.
- domainName String
- The name of the domain that you want the gateway to join.
- password String
- The password of the user who has permission to add the gateway to the Active Directory domain.
- username String
- The user name of user who has permission to add the gateway to the Active Directory domain.
- activeDirectory StringStatus 
- domainControllers List<String>
- List of IPv4 addresses, NetBIOS names, or host names of your domain server.
If you need to specify the port number include it after the colon (“:”). For example, mydc.mydomain.com:389.
- organizationalUnit String
- The organizational unit (OU) is a container in an Active Directory that can hold users, groups, computers, and other OUs and this parameter specifies the OU that the gateway will join within the AD domain.
- timeoutIn NumberSeconds 
- Specifies the time in seconds, in which the JoinDomain operation must complete. The default is 20seconds.
Import
Using pulumi import, import aws_storagegateway_gateway using the gateway Amazon Resource Name (ARN). For example:
$ pulumi import aws:storagegateway/gateway:Gateway example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678
Certain resource arguments, like gateway_ip_address do not have a Storage Gateway API method for reading the information after creation, either omit the argument from the Pulumi program or use ignore_changes to hide the difference. For example:
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 awsTerraform Provider.