Documentation ¶
Index ¶
- type Agent
- type AgentArgs
- type AgentState
- type EfsLocation
- type EfsLocationArgs
- type EfsLocationEc2Config
- type EfsLocationEc2ConfigArgs
- func (EfsLocationEc2ConfigArgs) ElementType() reflect.Type
- func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutput() EfsLocationEc2ConfigOutput
- func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutputWithContext(ctx context.Context) EfsLocationEc2ConfigOutput
- func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput
- func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutputWithContext(ctx context.Context) EfsLocationEc2ConfigPtrOutput
- type EfsLocationEc2ConfigInput
- type EfsLocationEc2ConfigOutput
- func (EfsLocationEc2ConfigOutput) ElementType() reflect.Type
- func (o EfsLocationEc2ConfigOutput) SecurityGroupArns() pulumi.StringArrayOutput
- func (o EfsLocationEc2ConfigOutput) SubnetArn() pulumi.StringOutput
- func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutput() EfsLocationEc2ConfigOutput
- func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutputWithContext(ctx context.Context) EfsLocationEc2ConfigOutput
- func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput
- func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutputWithContext(ctx context.Context) EfsLocationEc2ConfigPtrOutput
- type EfsLocationEc2ConfigPtrInput
- type EfsLocationEc2ConfigPtrOutput
- func (o EfsLocationEc2ConfigPtrOutput) Elem() EfsLocationEc2ConfigOutput
- func (EfsLocationEc2ConfigPtrOutput) ElementType() reflect.Type
- func (o EfsLocationEc2ConfigPtrOutput) SecurityGroupArns() pulumi.StringArrayOutput
- func (o EfsLocationEc2ConfigPtrOutput) SubnetArn() pulumi.StringPtrOutput
- func (o EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput
- func (o EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutputWithContext(ctx context.Context) EfsLocationEc2ConfigPtrOutput
- type EfsLocationState
- type LocationSmb
- type LocationSmbArgs
- type LocationSmbMountOptions
- type LocationSmbMountOptionsArgs
- func (LocationSmbMountOptionsArgs) ElementType() reflect.Type
- func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutput() LocationSmbMountOptionsOutput
- func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutputWithContext(ctx context.Context) LocationSmbMountOptionsOutput
- func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput
- func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationSmbMountOptionsPtrOutput
- type LocationSmbMountOptionsInput
- type LocationSmbMountOptionsOutput
- func (LocationSmbMountOptionsOutput) ElementType() reflect.Type
- func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutput() LocationSmbMountOptionsOutput
- func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutputWithContext(ctx context.Context) LocationSmbMountOptionsOutput
- func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput
- func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationSmbMountOptionsPtrOutput
- func (o LocationSmbMountOptionsOutput) Version() pulumi.StringPtrOutput
- type LocationSmbMountOptionsPtrInput
- type LocationSmbMountOptionsPtrOutput
- func (o LocationSmbMountOptionsPtrOutput) Elem() LocationSmbMountOptionsOutput
- func (LocationSmbMountOptionsPtrOutput) ElementType() reflect.Type
- func (o LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput
- func (o LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationSmbMountOptionsPtrOutput
- func (o LocationSmbMountOptionsPtrOutput) Version() pulumi.StringPtrOutput
- type LocationSmbState
- type NfsLocation
- type NfsLocationArgs
- type NfsLocationOnPremConfig
- type NfsLocationOnPremConfigArgs
- func (NfsLocationOnPremConfigArgs) ElementType() reflect.Type
- func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutput() NfsLocationOnPremConfigOutput
- func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutputWithContext(ctx context.Context) NfsLocationOnPremConfigOutput
- func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput
- func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutputWithContext(ctx context.Context) NfsLocationOnPremConfigPtrOutput
- type NfsLocationOnPremConfigInput
- type NfsLocationOnPremConfigOutput
- func (o NfsLocationOnPremConfigOutput) AgentArns() pulumi.StringArrayOutput
- func (NfsLocationOnPremConfigOutput) ElementType() reflect.Type
- func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutput() NfsLocationOnPremConfigOutput
- func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutputWithContext(ctx context.Context) NfsLocationOnPremConfigOutput
- func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput
- func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutputWithContext(ctx context.Context) NfsLocationOnPremConfigPtrOutput
- type NfsLocationOnPremConfigPtrInput
- type NfsLocationOnPremConfigPtrOutput
- func (o NfsLocationOnPremConfigPtrOutput) AgentArns() pulumi.StringArrayOutput
- func (o NfsLocationOnPremConfigPtrOutput) Elem() NfsLocationOnPremConfigOutput
- func (NfsLocationOnPremConfigPtrOutput) ElementType() reflect.Type
- func (o NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput
- func (o NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutputWithContext(ctx context.Context) NfsLocationOnPremConfigPtrOutput
- type NfsLocationState
- type S3Location
- type S3LocationArgs
- type S3LocationS3Config
- type S3LocationS3ConfigArgs
- func (S3LocationS3ConfigArgs) ElementType() reflect.Type
- func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutput() S3LocationS3ConfigOutput
- func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutputWithContext(ctx context.Context) S3LocationS3ConfigOutput
- func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput
- func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutputWithContext(ctx context.Context) S3LocationS3ConfigPtrOutput
- type S3LocationS3ConfigInput
- type S3LocationS3ConfigOutput
- func (o S3LocationS3ConfigOutput) BucketAccessRoleArn() pulumi.StringOutput
- func (S3LocationS3ConfigOutput) ElementType() reflect.Type
- func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutput() S3LocationS3ConfigOutput
- func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutputWithContext(ctx context.Context) S3LocationS3ConfigOutput
- func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput
- func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutputWithContext(ctx context.Context) S3LocationS3ConfigPtrOutput
- type S3LocationS3ConfigPtrInput
- type S3LocationS3ConfigPtrOutput
- func (o S3LocationS3ConfigPtrOutput) BucketAccessRoleArn() pulumi.StringPtrOutput
- func (o S3LocationS3ConfigPtrOutput) Elem() S3LocationS3ConfigOutput
- func (S3LocationS3ConfigPtrOutput) ElementType() reflect.Type
- func (o S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput
- func (o S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutputWithContext(ctx context.Context) S3LocationS3ConfigPtrOutput
- type S3LocationState
- type Task
- type TaskArgs
- type TaskOptions
- type TaskOptionsArgs
- func (TaskOptionsArgs) ElementType() reflect.Type
- func (i TaskOptionsArgs) ToTaskOptionsOutput() TaskOptionsOutput
- func (i TaskOptionsArgs) ToTaskOptionsOutputWithContext(ctx context.Context) TaskOptionsOutput
- func (i TaskOptionsArgs) ToTaskOptionsPtrOutput() TaskOptionsPtrOutput
- func (i TaskOptionsArgs) ToTaskOptionsPtrOutputWithContext(ctx context.Context) TaskOptionsPtrOutput
- type TaskOptionsInput
- type TaskOptionsOutput
- func (o TaskOptionsOutput) Atime() pulumi.StringPtrOutput
- func (o TaskOptionsOutput) BytesPerSecond() pulumi.IntPtrOutput
- func (TaskOptionsOutput) ElementType() reflect.Type
- func (o TaskOptionsOutput) Gid() pulumi.StringPtrOutput
- func (o TaskOptionsOutput) Mtime() pulumi.StringPtrOutput
- func (o TaskOptionsOutput) PosixPermissions() pulumi.StringPtrOutput
- func (o TaskOptionsOutput) PreserveDeletedFiles() pulumi.StringPtrOutput
- func (o TaskOptionsOutput) PreserveDevices() pulumi.StringPtrOutput
- func (o TaskOptionsOutput) ToTaskOptionsOutput() TaskOptionsOutput
- func (o TaskOptionsOutput) ToTaskOptionsOutputWithContext(ctx context.Context) TaskOptionsOutput
- func (o TaskOptionsOutput) ToTaskOptionsPtrOutput() TaskOptionsPtrOutput
- func (o TaskOptionsOutput) ToTaskOptionsPtrOutputWithContext(ctx context.Context) TaskOptionsPtrOutput
- func (o TaskOptionsOutput) Uid() pulumi.StringPtrOutput
- func (o TaskOptionsOutput) VerifyMode() pulumi.StringPtrOutput
- type TaskOptionsPtrInput
- type TaskOptionsPtrOutput
- func (o TaskOptionsPtrOutput) Atime() pulumi.StringPtrOutput
- func (o TaskOptionsPtrOutput) BytesPerSecond() pulumi.IntPtrOutput
- func (o TaskOptionsPtrOutput) Elem() TaskOptionsOutput
- func (TaskOptionsPtrOutput) ElementType() reflect.Type
- func (o TaskOptionsPtrOutput) Gid() pulumi.StringPtrOutput
- func (o TaskOptionsPtrOutput) Mtime() pulumi.StringPtrOutput
- func (o TaskOptionsPtrOutput) PosixPermissions() pulumi.StringPtrOutput
- func (o TaskOptionsPtrOutput) PreserveDeletedFiles() pulumi.StringPtrOutput
- func (o TaskOptionsPtrOutput) PreserveDevices() pulumi.StringPtrOutput
- func (o TaskOptionsPtrOutput) ToTaskOptionsPtrOutput() TaskOptionsPtrOutput
- func (o TaskOptionsPtrOutput) ToTaskOptionsPtrOutputWithContext(ctx context.Context) TaskOptionsPtrOutput
- func (o TaskOptionsPtrOutput) Uid() pulumi.StringPtrOutput
- func (o TaskOptionsPtrOutput) VerifyMode() pulumi.StringPtrOutput
- type TaskState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { pulumi.CustomResourceState // DataSync Agent activation key during resource creation. Conflicts with `ipAddress`. If an `ipAddress` is provided instead, the provider will retrieve the `activationKey` as part of the resource creation. ActivationKey pulumi.StringOutput `pulumi:"activationKey"` // Amazon Resource Name (ARN) of the DataSync Agent. Arn pulumi.StringOutput `pulumi:"arn"` // DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. DataSync Agent must be accessible on port 80 from where the provider is running. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // Name of the DataSync Agent. Name pulumi.StringOutput `pulumi:"name"` // Key-value pairs of resource tags to assign to the DataSync Agent. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages an AWS DataSync Agent deployed on premises.
> **NOTE:** One of `activationKey` or `ipAddress` must be provided for resource creation (agent activation). Neither is required for resource import. If using `ipAddress`, this provider must be able to make an HTTP (port 80) GET request to the specified IP address from where it is running. The agent will turn off that HTTP server after activation.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/datasync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := datasync.NewAgent(ctx, "example", &datasync.AgentArgs{ IpAddress: pulumi.String("1.2.3.4"), }) if err != nil { return err } return nil }) }
```
func GetAgent ¶
func GetAgent(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AgentState, opts ...pulumi.ResourceOption) (*Agent, error)
GetAgent gets an existing Agent resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type AgentArgs ¶
type AgentArgs struct { // DataSync Agent activation key during resource creation. Conflicts with `ipAddress`. If an `ipAddress` is provided instead, the provider will retrieve the `activationKey` as part of the resource creation. ActivationKey pulumi.StringPtrInput // DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. DataSync Agent must be accessible on port 80 from where the provider is running. IpAddress pulumi.StringPtrInput // Name of the DataSync Agent. Name pulumi.StringPtrInput // Key-value pairs of resource tags to assign to the DataSync Agent. Tags pulumi.StringMapInput }
The set of arguments for constructing a Agent resource.
func (AgentArgs) ElementType ¶
type AgentState ¶
type AgentState struct { // DataSync Agent activation key during resource creation. Conflicts with `ipAddress`. If an `ipAddress` is provided instead, the provider will retrieve the `activationKey` as part of the resource creation. ActivationKey pulumi.StringPtrInput // Amazon Resource Name (ARN) of the DataSync Agent. Arn pulumi.StringPtrInput // DataSync Agent IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. DataSync Agent must be accessible on port 80 from where the provider is running. IpAddress pulumi.StringPtrInput // Name of the DataSync Agent. Name pulumi.StringPtrInput // Key-value pairs of resource tags to assign to the DataSync Agent. Tags pulumi.StringMapInput }
func (AgentState) ElementType ¶
func (AgentState) ElementType() reflect.Type
type EfsLocation ¶
type EfsLocation struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the DataSync Location. Arn pulumi.StringOutput `pulumi:"arn"` // Configuration block containing EC2 configurations for connecting to the EFS File System. Ec2Config EfsLocationEc2ConfigOutput `pulumi:"ec2Config"` // Amazon Resource Name (ARN) of EFS File System. EfsFileSystemArn pulumi.StringOutput `pulumi:"efsFileSystemArn"` // Subdirectory to perform actions as source or destination. Default `/`. Subdirectory pulumi.StringPtrOutput `pulumi:"subdirectory"` // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapOutput `pulumi:"tags"` Uri pulumi.StringOutput `pulumi:"uri"` }
Manages an AWS DataSync EFS Location.
> **NOTE:** The EFS File System must have a mounted EFS Mount Target before creating this resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/datasync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := datasync.NewEfsLocation(ctx, "example", &datasync.EfsLocationArgs{ Ec2Config: &datasync.EfsLocationEc2ConfigArgs{ SecurityGroupArns: pulumi.StringArray{ pulumi.String(aws_security_group.Example.Arn), }, SubnetArn: pulumi.String(aws_subnet.Example.Arn), }, EfsFileSystemArn: pulumi.String(aws_efs_mount_target.Example.File_system_arn), }) if err != nil { return err } return nil }) }
```
func GetEfsLocation ¶
func GetEfsLocation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EfsLocationState, opts ...pulumi.ResourceOption) (*EfsLocation, error)
GetEfsLocation gets an existing EfsLocation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEfsLocation ¶
func NewEfsLocation(ctx *pulumi.Context, name string, args *EfsLocationArgs, opts ...pulumi.ResourceOption) (*EfsLocation, error)
NewEfsLocation registers a new resource with the given unique name, arguments, and options.
type EfsLocationArgs ¶
type EfsLocationArgs struct { // Configuration block containing EC2 configurations for connecting to the EFS File System. Ec2Config EfsLocationEc2ConfigInput // Amazon Resource Name (ARN) of EFS File System. EfsFileSystemArn pulumi.StringInput // Subdirectory to perform actions as source or destination. Default `/`. Subdirectory pulumi.StringPtrInput // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapInput }
The set of arguments for constructing a EfsLocation resource.
func (EfsLocationArgs) ElementType ¶
func (EfsLocationArgs) ElementType() reflect.Type
type EfsLocationEc2Config ¶
type EfsLocationEc2Config struct { // List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target. SecurityGroupArns []string `pulumi:"securityGroupArns"` // Amazon Resource Name (ARN) of the EC2 Subnet that is associated with the EFS Mount Target. SubnetArn string `pulumi:"subnetArn"` }
type EfsLocationEc2ConfigArgs ¶
type EfsLocationEc2ConfigArgs struct { // List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target. SecurityGroupArns pulumi.StringArrayInput `pulumi:"securityGroupArns"` // Amazon Resource Name (ARN) of the EC2 Subnet that is associated with the EFS Mount Target. SubnetArn pulumi.StringInput `pulumi:"subnetArn"` }
func (EfsLocationEc2ConfigArgs) ElementType ¶
func (EfsLocationEc2ConfigArgs) ElementType() reflect.Type
func (EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutput ¶
func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutput() EfsLocationEc2ConfigOutput
func (EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutputWithContext ¶
func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigOutputWithContext(ctx context.Context) EfsLocationEc2ConfigOutput
func (EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutput ¶
func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput
func (EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutputWithContext ¶
func (i EfsLocationEc2ConfigArgs) ToEfsLocationEc2ConfigPtrOutputWithContext(ctx context.Context) EfsLocationEc2ConfigPtrOutput
type EfsLocationEc2ConfigInput ¶
type EfsLocationEc2ConfigInput interface { pulumi.Input ToEfsLocationEc2ConfigOutput() EfsLocationEc2ConfigOutput ToEfsLocationEc2ConfigOutputWithContext(context.Context) EfsLocationEc2ConfigOutput }
EfsLocationEc2ConfigInput is an input type that accepts EfsLocationEc2ConfigArgs and EfsLocationEc2ConfigOutput values. You can construct a concrete instance of `EfsLocationEc2ConfigInput` via:
EfsLocationEc2ConfigArgs{...}
type EfsLocationEc2ConfigOutput ¶
type EfsLocationEc2ConfigOutput struct{ *pulumi.OutputState }
func (EfsLocationEc2ConfigOutput) ElementType ¶
func (EfsLocationEc2ConfigOutput) ElementType() reflect.Type
func (EfsLocationEc2ConfigOutput) SecurityGroupArns ¶
func (o EfsLocationEc2ConfigOutput) SecurityGroupArns() pulumi.StringArrayOutput
List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target.
func (EfsLocationEc2ConfigOutput) SubnetArn ¶
func (o EfsLocationEc2ConfigOutput) SubnetArn() pulumi.StringOutput
Amazon Resource Name (ARN) of the EC2 Subnet that is associated with the EFS Mount Target.
func (EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutput ¶
func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutput() EfsLocationEc2ConfigOutput
func (EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutputWithContext ¶
func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigOutputWithContext(ctx context.Context) EfsLocationEc2ConfigOutput
func (EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutput ¶
func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput
func (EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutputWithContext ¶
func (o EfsLocationEc2ConfigOutput) ToEfsLocationEc2ConfigPtrOutputWithContext(ctx context.Context) EfsLocationEc2ConfigPtrOutput
type EfsLocationEc2ConfigPtrInput ¶
type EfsLocationEc2ConfigPtrInput interface { pulumi.Input ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput ToEfsLocationEc2ConfigPtrOutputWithContext(context.Context) EfsLocationEc2ConfigPtrOutput }
EfsLocationEc2ConfigPtrInput is an input type that accepts EfsLocationEc2ConfigArgs, EfsLocationEc2ConfigPtr and EfsLocationEc2ConfigPtrOutput values. You can construct a concrete instance of `EfsLocationEc2ConfigPtrInput` via:
EfsLocationEc2ConfigArgs{...} or: nil
func EfsLocationEc2ConfigPtr ¶
func EfsLocationEc2ConfigPtr(v *EfsLocationEc2ConfigArgs) EfsLocationEc2ConfigPtrInput
type EfsLocationEc2ConfigPtrOutput ¶
type EfsLocationEc2ConfigPtrOutput struct{ *pulumi.OutputState }
func (EfsLocationEc2ConfigPtrOutput) Elem ¶
func (o EfsLocationEc2ConfigPtrOutput) Elem() EfsLocationEc2ConfigOutput
func (EfsLocationEc2ConfigPtrOutput) ElementType ¶
func (EfsLocationEc2ConfigPtrOutput) ElementType() reflect.Type
func (EfsLocationEc2ConfigPtrOutput) SecurityGroupArns ¶
func (o EfsLocationEc2ConfigPtrOutput) SecurityGroupArns() pulumi.StringArrayOutput
List of Amazon Resource Names (ARNs) of the EC2 Security Groups that are associated with the EFS Mount Target.
func (EfsLocationEc2ConfigPtrOutput) SubnetArn ¶
func (o EfsLocationEc2ConfigPtrOutput) SubnetArn() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of the EC2 Subnet that is associated with the EFS Mount Target.
func (EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutput ¶
func (o EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutput() EfsLocationEc2ConfigPtrOutput
func (EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutputWithContext ¶
func (o EfsLocationEc2ConfigPtrOutput) ToEfsLocationEc2ConfigPtrOutputWithContext(ctx context.Context) EfsLocationEc2ConfigPtrOutput
type EfsLocationState ¶
type EfsLocationState struct { // Amazon Resource Name (ARN) of the DataSync Location. Arn pulumi.StringPtrInput // Configuration block containing EC2 configurations for connecting to the EFS File System. Ec2Config EfsLocationEc2ConfigPtrInput // Amazon Resource Name (ARN) of EFS File System. EfsFileSystemArn pulumi.StringPtrInput // Subdirectory to perform actions as source or destination. Default `/`. Subdirectory pulumi.StringPtrInput // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapInput Uri pulumi.StringPtrInput }
func (EfsLocationState) ElementType ¶
func (EfsLocationState) ElementType() reflect.Type
type LocationSmb ¶
type LocationSmb struct { pulumi.CustomResourceState // A list of DataSync Agent ARNs with which this location will be associated. AgentArns pulumi.StringArrayOutput `pulumi:"agentArns"` // Amazon Resource Name (ARN) of the DataSync Location. Arn pulumi.StringOutput `pulumi:"arn"` // The name of the Windows domain the SMB server belongs to. Domain pulumi.StringOutput `pulumi:"domain"` // Configuration block containing mount options used by DataSync to access the SMB Server. Can be `AUTOMATIC`, `SMB2`, or `SMB3`. MountOptions LocationSmbMountOptionsPtrOutput `pulumi:"mountOptions"` // The password of the user who can mount the share and has file permissions in the SMB. Password pulumi.StringOutput `pulumi:"password"` // Specifies the IP address or DNS name of the SMB server. The DataSync Agent(s) use this to mount the SMB share. ServerHostname pulumi.StringOutput `pulumi:"serverHostname"` // Subdirectory to perform actions as source or destination. Should be exported by the NFS server. Subdirectory pulumi.StringOutput `pulumi:"subdirectory"` // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapOutput `pulumi:"tags"` Uri pulumi.StringOutput `pulumi:"uri"` // The user who can mount the share and has file and folder permissions in the SMB share. User pulumi.StringOutput `pulumi:"user"` }
Manages a SMB Location within AWS DataSync.
> **NOTE:** The DataSync Agents must be available before creating this resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/datasync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := datasync.NewLocationSmb(ctx, "example", &datasync.LocationSmbArgs{ AgentArns: pulumi.StringArray{ pulumi.String(aws_datasync_agent.Example.Arn), }, Password: pulumi.String("ANotGreatPassword"), ServerHostname: pulumi.String("smb.example.com"), Subdirectory: pulumi.String("/exported/path"), User: pulumi.String("Guest"), }) if err != nil { return err } return nil }) }
```
func GetLocationSmb ¶
func GetLocationSmb(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LocationSmbState, opts ...pulumi.ResourceOption) (*LocationSmb, error)
GetLocationSmb gets an existing LocationSmb resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewLocationSmb ¶
func NewLocationSmb(ctx *pulumi.Context, name string, args *LocationSmbArgs, opts ...pulumi.ResourceOption) (*LocationSmb, error)
NewLocationSmb registers a new resource with the given unique name, arguments, and options.
type LocationSmbArgs ¶
type LocationSmbArgs struct { // A list of DataSync Agent ARNs with which this location will be associated. AgentArns pulumi.StringArrayInput // The name of the Windows domain the SMB server belongs to. Domain pulumi.StringPtrInput // Configuration block containing mount options used by DataSync to access the SMB Server. Can be `AUTOMATIC`, `SMB2`, or `SMB3`. MountOptions LocationSmbMountOptionsPtrInput // The password of the user who can mount the share and has file permissions in the SMB. Password pulumi.StringInput // Specifies the IP address or DNS name of the SMB server. The DataSync Agent(s) use this to mount the SMB share. ServerHostname pulumi.StringInput // Subdirectory to perform actions as source or destination. Should be exported by the NFS server. Subdirectory pulumi.StringInput // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapInput // The user who can mount the share and has file and folder permissions in the SMB share. User pulumi.StringInput }
The set of arguments for constructing a LocationSmb resource.
func (LocationSmbArgs) ElementType ¶
func (LocationSmbArgs) ElementType() reflect.Type
type LocationSmbMountOptions ¶
type LocationSmbMountOptions struct { // The specific SMB version that you want DataSync to use for mounting your SMB share. Valid values: `AUTOMATIC`, `SMB2`, and `SMB3`. Default: `AUTOMATIC` Version *string `pulumi:"version"` }
type LocationSmbMountOptionsArgs ¶
type LocationSmbMountOptionsArgs struct { // The specific SMB version that you want DataSync to use for mounting your SMB share. Valid values: `AUTOMATIC`, `SMB2`, and `SMB3`. Default: `AUTOMATIC` Version pulumi.StringPtrInput `pulumi:"version"` }
func (LocationSmbMountOptionsArgs) ElementType ¶
func (LocationSmbMountOptionsArgs) ElementType() reflect.Type
func (LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutput ¶
func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutput() LocationSmbMountOptionsOutput
func (LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutputWithContext ¶
func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsOutputWithContext(ctx context.Context) LocationSmbMountOptionsOutput
func (LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutput ¶
func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput
func (LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutputWithContext ¶
func (i LocationSmbMountOptionsArgs) ToLocationSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationSmbMountOptionsPtrOutput
type LocationSmbMountOptionsInput ¶
type LocationSmbMountOptionsInput interface { pulumi.Input ToLocationSmbMountOptionsOutput() LocationSmbMountOptionsOutput ToLocationSmbMountOptionsOutputWithContext(context.Context) LocationSmbMountOptionsOutput }
LocationSmbMountOptionsInput is an input type that accepts LocationSmbMountOptionsArgs and LocationSmbMountOptionsOutput values. You can construct a concrete instance of `LocationSmbMountOptionsInput` via:
LocationSmbMountOptionsArgs{...}
type LocationSmbMountOptionsOutput ¶
type LocationSmbMountOptionsOutput struct{ *pulumi.OutputState }
func (LocationSmbMountOptionsOutput) ElementType ¶
func (LocationSmbMountOptionsOutput) ElementType() reflect.Type
func (LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutput ¶
func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutput() LocationSmbMountOptionsOutput
func (LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutputWithContext ¶
func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsOutputWithContext(ctx context.Context) LocationSmbMountOptionsOutput
func (LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutput ¶
func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput
func (LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutputWithContext ¶
func (o LocationSmbMountOptionsOutput) ToLocationSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationSmbMountOptionsPtrOutput
func (LocationSmbMountOptionsOutput) Version ¶
func (o LocationSmbMountOptionsOutput) Version() pulumi.StringPtrOutput
The specific SMB version that you want DataSync to use for mounting your SMB share. Valid values: `AUTOMATIC`, `SMB2`, and `SMB3`. Default: `AUTOMATIC`
type LocationSmbMountOptionsPtrInput ¶
type LocationSmbMountOptionsPtrInput interface { pulumi.Input ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput ToLocationSmbMountOptionsPtrOutputWithContext(context.Context) LocationSmbMountOptionsPtrOutput }
LocationSmbMountOptionsPtrInput is an input type that accepts LocationSmbMountOptionsArgs, LocationSmbMountOptionsPtr and LocationSmbMountOptionsPtrOutput values. You can construct a concrete instance of `LocationSmbMountOptionsPtrInput` via:
LocationSmbMountOptionsArgs{...} or: nil
func LocationSmbMountOptionsPtr ¶
func LocationSmbMountOptionsPtr(v *LocationSmbMountOptionsArgs) LocationSmbMountOptionsPtrInput
type LocationSmbMountOptionsPtrOutput ¶
type LocationSmbMountOptionsPtrOutput struct{ *pulumi.OutputState }
func (LocationSmbMountOptionsPtrOutput) Elem ¶
func (o LocationSmbMountOptionsPtrOutput) Elem() LocationSmbMountOptionsOutput
func (LocationSmbMountOptionsPtrOutput) ElementType ¶
func (LocationSmbMountOptionsPtrOutput) ElementType() reflect.Type
func (LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutput ¶
func (o LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutput() LocationSmbMountOptionsPtrOutput
func (LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutputWithContext ¶
func (o LocationSmbMountOptionsPtrOutput) ToLocationSmbMountOptionsPtrOutputWithContext(ctx context.Context) LocationSmbMountOptionsPtrOutput
func (LocationSmbMountOptionsPtrOutput) Version ¶
func (o LocationSmbMountOptionsPtrOutput) Version() pulumi.StringPtrOutput
The specific SMB version that you want DataSync to use for mounting your SMB share. Valid values: `AUTOMATIC`, `SMB2`, and `SMB3`. Default: `AUTOMATIC`
type LocationSmbState ¶
type LocationSmbState struct { // A list of DataSync Agent ARNs with which this location will be associated. AgentArns pulumi.StringArrayInput // Amazon Resource Name (ARN) of the DataSync Location. Arn pulumi.StringPtrInput // The name of the Windows domain the SMB server belongs to. Domain pulumi.StringPtrInput // Configuration block containing mount options used by DataSync to access the SMB Server. Can be `AUTOMATIC`, `SMB2`, or `SMB3`. MountOptions LocationSmbMountOptionsPtrInput // The password of the user who can mount the share and has file permissions in the SMB. Password pulumi.StringPtrInput // Specifies the IP address or DNS name of the SMB server. The DataSync Agent(s) use this to mount the SMB share. ServerHostname pulumi.StringPtrInput // Subdirectory to perform actions as source or destination. Should be exported by the NFS server. Subdirectory pulumi.StringPtrInput // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapInput Uri pulumi.StringPtrInput // The user who can mount the share and has file and folder permissions in the SMB share. User pulumi.StringPtrInput }
func (LocationSmbState) ElementType ¶
func (LocationSmbState) ElementType() reflect.Type
type NfsLocation ¶
type NfsLocation struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the DataSync Location. Arn pulumi.StringOutput `pulumi:"arn"` // Configuration block containing information for connecting to the NFS File System. OnPremConfig NfsLocationOnPremConfigOutput `pulumi:"onPremConfig"` // Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server. ServerHostname pulumi.StringOutput `pulumi:"serverHostname"` // Subdirectory to perform actions as source or destination. Should be exported by the NFS server. Subdirectory pulumi.StringOutput `pulumi:"subdirectory"` // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapOutput `pulumi:"tags"` Uri pulumi.StringOutput `pulumi:"uri"` }
Manages an NFS Location within AWS DataSync.
> **NOTE:** The DataSync Agents must be available before creating this resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/datasync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := datasync.NewNfsLocation(ctx, "example", &datasync.NfsLocationArgs{ OnPremConfig: &datasync.NfsLocationOnPremConfigArgs{ AgentArns: pulumi.StringArray{ pulumi.String(aws_datasync_agent.Example.Arn), }, }, ServerHostname: pulumi.String("nfs.example.com"), Subdirectory: pulumi.String("/exported/path"), }) if err != nil { return err } return nil }) }
```
func GetNfsLocation ¶
func GetNfsLocation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NfsLocationState, opts ...pulumi.ResourceOption) (*NfsLocation, error)
GetNfsLocation gets an existing NfsLocation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewNfsLocation ¶
func NewNfsLocation(ctx *pulumi.Context, name string, args *NfsLocationArgs, opts ...pulumi.ResourceOption) (*NfsLocation, error)
NewNfsLocation registers a new resource with the given unique name, arguments, and options.
type NfsLocationArgs ¶
type NfsLocationArgs struct { // Configuration block containing information for connecting to the NFS File System. OnPremConfig NfsLocationOnPremConfigInput // Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server. ServerHostname pulumi.StringInput // Subdirectory to perform actions as source or destination. Should be exported by the NFS server. Subdirectory pulumi.StringInput // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapInput }
The set of arguments for constructing a NfsLocation resource.
func (NfsLocationArgs) ElementType ¶
func (NfsLocationArgs) ElementType() reflect.Type
type NfsLocationOnPremConfig ¶
type NfsLocationOnPremConfig struct { // List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server. AgentArns []string `pulumi:"agentArns"` }
type NfsLocationOnPremConfigArgs ¶
type NfsLocationOnPremConfigArgs struct { // List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server. AgentArns pulumi.StringArrayInput `pulumi:"agentArns"` }
func (NfsLocationOnPremConfigArgs) ElementType ¶
func (NfsLocationOnPremConfigArgs) ElementType() reflect.Type
func (NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutput ¶
func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutput() NfsLocationOnPremConfigOutput
func (NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutputWithContext ¶
func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigOutputWithContext(ctx context.Context) NfsLocationOnPremConfigOutput
func (NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutput ¶
func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput
func (NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutputWithContext ¶
func (i NfsLocationOnPremConfigArgs) ToNfsLocationOnPremConfigPtrOutputWithContext(ctx context.Context) NfsLocationOnPremConfigPtrOutput
type NfsLocationOnPremConfigInput ¶
type NfsLocationOnPremConfigInput interface { pulumi.Input ToNfsLocationOnPremConfigOutput() NfsLocationOnPremConfigOutput ToNfsLocationOnPremConfigOutputWithContext(context.Context) NfsLocationOnPremConfigOutput }
NfsLocationOnPremConfigInput is an input type that accepts NfsLocationOnPremConfigArgs and NfsLocationOnPremConfigOutput values. You can construct a concrete instance of `NfsLocationOnPremConfigInput` via:
NfsLocationOnPremConfigArgs{...}
type NfsLocationOnPremConfigOutput ¶
type NfsLocationOnPremConfigOutput struct{ *pulumi.OutputState }
func (NfsLocationOnPremConfigOutput) AgentArns ¶
func (o NfsLocationOnPremConfigOutput) AgentArns() pulumi.StringArrayOutput
List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server.
func (NfsLocationOnPremConfigOutput) ElementType ¶
func (NfsLocationOnPremConfigOutput) ElementType() reflect.Type
func (NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutput ¶
func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutput() NfsLocationOnPremConfigOutput
func (NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutputWithContext ¶
func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigOutputWithContext(ctx context.Context) NfsLocationOnPremConfigOutput
func (NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutput ¶
func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput
func (NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutputWithContext ¶
func (o NfsLocationOnPremConfigOutput) ToNfsLocationOnPremConfigPtrOutputWithContext(ctx context.Context) NfsLocationOnPremConfigPtrOutput
type NfsLocationOnPremConfigPtrInput ¶
type NfsLocationOnPremConfigPtrInput interface { pulumi.Input ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput ToNfsLocationOnPremConfigPtrOutputWithContext(context.Context) NfsLocationOnPremConfigPtrOutput }
NfsLocationOnPremConfigPtrInput is an input type that accepts NfsLocationOnPremConfigArgs, NfsLocationOnPremConfigPtr and NfsLocationOnPremConfigPtrOutput values. You can construct a concrete instance of `NfsLocationOnPremConfigPtrInput` via:
NfsLocationOnPremConfigArgs{...} or: nil
func NfsLocationOnPremConfigPtr ¶
func NfsLocationOnPremConfigPtr(v *NfsLocationOnPremConfigArgs) NfsLocationOnPremConfigPtrInput
type NfsLocationOnPremConfigPtrOutput ¶
type NfsLocationOnPremConfigPtrOutput struct{ *pulumi.OutputState }
func (NfsLocationOnPremConfigPtrOutput) AgentArns ¶
func (o NfsLocationOnPremConfigPtrOutput) AgentArns() pulumi.StringArrayOutput
List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server.
func (NfsLocationOnPremConfigPtrOutput) Elem ¶
func (o NfsLocationOnPremConfigPtrOutput) Elem() NfsLocationOnPremConfigOutput
func (NfsLocationOnPremConfigPtrOutput) ElementType ¶
func (NfsLocationOnPremConfigPtrOutput) ElementType() reflect.Type
func (NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutput ¶
func (o NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutput() NfsLocationOnPremConfigPtrOutput
func (NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutputWithContext ¶
func (o NfsLocationOnPremConfigPtrOutput) ToNfsLocationOnPremConfigPtrOutputWithContext(ctx context.Context) NfsLocationOnPremConfigPtrOutput
type NfsLocationState ¶
type NfsLocationState struct { // Amazon Resource Name (ARN) of the DataSync Location. Arn pulumi.StringPtrInput // Configuration block containing information for connecting to the NFS File System. OnPremConfig NfsLocationOnPremConfigPtrInput // Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server. ServerHostname pulumi.StringPtrInput // Subdirectory to perform actions as source or destination. Should be exported by the NFS server. Subdirectory pulumi.StringPtrInput // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapInput Uri pulumi.StringPtrInput }
func (NfsLocationState) ElementType ¶
func (NfsLocationState) ElementType() reflect.Type
type S3Location ¶
type S3Location struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the DataSync Location. Arn pulumi.StringOutput `pulumi:"arn"` // Amazon Resource Name (ARN) of the S3 Bucket. S3BucketArn pulumi.StringOutput `pulumi:"s3BucketArn"` // Configuration block containing information for connecting to S3. S3Config S3LocationS3ConfigOutput `pulumi:"s3Config"` // Prefix to perform actions as source or destination. Subdirectory pulumi.StringOutput `pulumi:"subdirectory"` // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapOutput `pulumi:"tags"` Uri pulumi.StringOutput `pulumi:"uri"` }
Manages an S3 Location within AWS DataSync.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/datasync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := datasync.NewS3Location(ctx, "example", &datasync.S3LocationArgs{ S3BucketArn: pulumi.String(aws_s3_bucket.Example.Arn), S3Config: &datasync.S3LocationS3ConfigArgs{ BucketAccessRoleArn: pulumi.String(aws_iam_role.Example.Arn), }, Subdirectory: pulumi.String("/example/prefix"), }) if err != nil { return err } return nil }) }
```
func GetS3Location ¶
func GetS3Location(ctx *pulumi.Context, name string, id pulumi.IDInput, state *S3LocationState, opts ...pulumi.ResourceOption) (*S3Location, error)
GetS3Location gets an existing S3Location resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewS3Location ¶
func NewS3Location(ctx *pulumi.Context, name string, args *S3LocationArgs, opts ...pulumi.ResourceOption) (*S3Location, error)
NewS3Location registers a new resource with the given unique name, arguments, and options.
type S3LocationArgs ¶
type S3LocationArgs struct { // Amazon Resource Name (ARN) of the S3 Bucket. S3BucketArn pulumi.StringInput // Configuration block containing information for connecting to S3. S3Config S3LocationS3ConfigInput // Prefix to perform actions as source or destination. Subdirectory pulumi.StringInput // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapInput }
The set of arguments for constructing a S3Location resource.
func (S3LocationArgs) ElementType ¶
func (S3LocationArgs) ElementType() reflect.Type
type S3LocationS3Config ¶
type S3LocationS3Config struct { // Amazon Resource Names (ARN) of the IAM Role used to connect to the S3 Bucket. BucketAccessRoleArn string `pulumi:"bucketAccessRoleArn"` }
type S3LocationS3ConfigArgs ¶
type S3LocationS3ConfigArgs struct { // Amazon Resource Names (ARN) of the IAM Role used to connect to the S3 Bucket. BucketAccessRoleArn pulumi.StringInput `pulumi:"bucketAccessRoleArn"` }
func (S3LocationS3ConfigArgs) ElementType ¶
func (S3LocationS3ConfigArgs) ElementType() reflect.Type
func (S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutput ¶
func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutput() S3LocationS3ConfigOutput
func (S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutputWithContext ¶
func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigOutputWithContext(ctx context.Context) S3LocationS3ConfigOutput
func (S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutput ¶
func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput
func (S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutputWithContext ¶
func (i S3LocationS3ConfigArgs) ToS3LocationS3ConfigPtrOutputWithContext(ctx context.Context) S3LocationS3ConfigPtrOutput
type S3LocationS3ConfigInput ¶
type S3LocationS3ConfigInput interface { pulumi.Input ToS3LocationS3ConfigOutput() S3LocationS3ConfigOutput ToS3LocationS3ConfigOutputWithContext(context.Context) S3LocationS3ConfigOutput }
S3LocationS3ConfigInput is an input type that accepts S3LocationS3ConfigArgs and S3LocationS3ConfigOutput values. You can construct a concrete instance of `S3LocationS3ConfigInput` via:
S3LocationS3ConfigArgs{...}
type S3LocationS3ConfigOutput ¶
type S3LocationS3ConfigOutput struct{ *pulumi.OutputState }
func (S3LocationS3ConfigOutput) BucketAccessRoleArn ¶
func (o S3LocationS3ConfigOutput) BucketAccessRoleArn() pulumi.StringOutput
Amazon Resource Names (ARN) of the IAM Role used to connect to the S3 Bucket.
func (S3LocationS3ConfigOutput) ElementType ¶
func (S3LocationS3ConfigOutput) ElementType() reflect.Type
func (S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutput ¶
func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutput() S3LocationS3ConfigOutput
func (S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutputWithContext ¶
func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigOutputWithContext(ctx context.Context) S3LocationS3ConfigOutput
func (S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutput ¶
func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput
func (S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutputWithContext ¶
func (o S3LocationS3ConfigOutput) ToS3LocationS3ConfigPtrOutputWithContext(ctx context.Context) S3LocationS3ConfigPtrOutput
type S3LocationS3ConfigPtrInput ¶
type S3LocationS3ConfigPtrInput interface { pulumi.Input ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput ToS3LocationS3ConfigPtrOutputWithContext(context.Context) S3LocationS3ConfigPtrOutput }
S3LocationS3ConfigPtrInput is an input type that accepts S3LocationS3ConfigArgs, S3LocationS3ConfigPtr and S3LocationS3ConfigPtrOutput values. You can construct a concrete instance of `S3LocationS3ConfigPtrInput` via:
S3LocationS3ConfigArgs{...} or: nil
func S3LocationS3ConfigPtr ¶
func S3LocationS3ConfigPtr(v *S3LocationS3ConfigArgs) S3LocationS3ConfigPtrInput
type S3LocationS3ConfigPtrOutput ¶
type S3LocationS3ConfigPtrOutput struct{ *pulumi.OutputState }
func (S3LocationS3ConfigPtrOutput) BucketAccessRoleArn ¶
func (o S3LocationS3ConfigPtrOutput) BucketAccessRoleArn() pulumi.StringPtrOutput
Amazon Resource Names (ARN) of the IAM Role used to connect to the S3 Bucket.
func (S3LocationS3ConfigPtrOutput) Elem ¶
func (o S3LocationS3ConfigPtrOutput) Elem() S3LocationS3ConfigOutput
func (S3LocationS3ConfigPtrOutput) ElementType ¶
func (S3LocationS3ConfigPtrOutput) ElementType() reflect.Type
func (S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutput ¶
func (o S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutput() S3LocationS3ConfigPtrOutput
func (S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutputWithContext ¶
func (o S3LocationS3ConfigPtrOutput) ToS3LocationS3ConfigPtrOutputWithContext(ctx context.Context) S3LocationS3ConfigPtrOutput
type S3LocationState ¶
type S3LocationState struct { // Amazon Resource Name (ARN) of the DataSync Location. Arn pulumi.StringPtrInput // Amazon Resource Name (ARN) of the S3 Bucket. S3BucketArn pulumi.StringPtrInput // Configuration block containing information for connecting to S3. S3Config S3LocationS3ConfigPtrInput // Prefix to perform actions as source or destination. Subdirectory pulumi.StringPtrInput // Key-value pairs of resource tags to assign to the DataSync Location. Tags pulumi.StringMapInput Uri pulumi.StringPtrInput }
func (S3LocationState) ElementType ¶
func (S3LocationState) ElementType() reflect.Type
type Task ¶
type Task struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the DataSync Task. Arn pulumi.StringOutput `pulumi:"arn"` // Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task. CloudwatchLogGroupArn pulumi.StringPtrOutput `pulumi:"cloudwatchLogGroupArn"` // Amazon Resource Name (ARN) of destination DataSync Location. DestinationLocationArn pulumi.StringOutput `pulumi:"destinationLocationArn"` // Name of the DataSync Task. Name pulumi.StringOutput `pulumi:"name"` // Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions. Options TaskOptionsPtrOutput `pulumi:"options"` // Amazon Resource Name (ARN) of source DataSync Location. SourceLocationArn pulumi.StringOutput `pulumi:"sourceLocationArn"` // Key-value pairs of resource tags to assign to the DataSync Task. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages an AWS DataSync Task, which represents a configuration for synchronization. Starting an execution of these DataSync Tasks (actually synchronizing files) is performed outside of this resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/datasync" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := datasync.NewTask(ctx, "example", &datasync.TaskArgs{ DestinationLocationArn: pulumi.String(aws_datasync_location_s3.Destination.Arn), Options: &datasync.TaskOptionsArgs{ BytesPerSecond: pulumi.Int(-1), }, SourceLocationArn: pulumi.String(aws_datasync_location_nfs.Source.Arn), }) if err != nil { return err } return nil }) }
```
func GetTask ¶
func GetTask(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TaskState, opts ...pulumi.ResourceOption) (*Task, error)
GetTask gets an existing Task resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
type TaskArgs ¶
type TaskArgs struct { // Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task. CloudwatchLogGroupArn pulumi.StringPtrInput // Amazon Resource Name (ARN) of destination DataSync Location. DestinationLocationArn pulumi.StringInput // Name of the DataSync Task. Name pulumi.StringPtrInput // Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions. Options TaskOptionsPtrInput // Amazon Resource Name (ARN) of source DataSync Location. SourceLocationArn pulumi.StringInput // Key-value pairs of resource tags to assign to the DataSync Task. Tags pulumi.StringMapInput }
The set of arguments for constructing a Task resource.
func (TaskArgs) ElementType ¶
type TaskOptions ¶
type TaskOptions struct { // A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to `BEST_EFFORT`, the DataSync Task attempts to preserve the original (that is, the version before sync `PREPARING` phase) `atime` attribute on all source files. Valid values: `BEST_EFFORT`, `NONE`. Default: `BEST_EFFORT`. Atime *string `pulumi:"atime"` // Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to `1048576`. Value values: `-1` or greater. Default: `-1` (unlimited). BytesPerSecond *int `pulumi:"bytesPerSecond"` // Group identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID). Gid *string `pulumi:"gid"` // A file metadata that indicates the last time a file was modified (written to) before the sync `PREPARING` phase. Value values: `NONE`, `PRESERVE`. Default: `PRESERVE`. Mtime *string `pulumi:"mtime"` // Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values: `NONE`, `PRESERVE`. Default: `PRESERVE`. PosixPermissions *string `pulumi:"posixPermissions"` // Whether files deleted in the source should be removed or preserved in the destination file system. Valid values: `PRESERVE`, `REMOVE`. Default: `PRESERVE`. PreserveDeletedFiles *string `pulumi:"preserveDeletedFiles"` // Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values: `NONE`, `PRESERVE`. Default: `NONE` (ignore special devices). PreserveDevices *string `pulumi:"preserveDevices"` // User identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID). Uid *string `pulumi:"uid"` // Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values: `NONE`, `POINT_IN_TIME_CONSISTENT`, `ONLY_FILES_TRANSFERRED`. Default: `POINT_IN_TIME_CONSISTENT`. VerifyMode *string `pulumi:"verifyMode"` }
type TaskOptionsArgs ¶
type TaskOptionsArgs struct { // A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to `BEST_EFFORT`, the DataSync Task attempts to preserve the original (that is, the version before sync `PREPARING` phase) `atime` attribute on all source files. Valid values: `BEST_EFFORT`, `NONE`. Default: `BEST_EFFORT`. Atime pulumi.StringPtrInput `pulumi:"atime"` // Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to `1048576`. Value values: `-1` or greater. Default: `-1` (unlimited). BytesPerSecond pulumi.IntPtrInput `pulumi:"bytesPerSecond"` // Group identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID). Gid pulumi.StringPtrInput `pulumi:"gid"` // A file metadata that indicates the last time a file was modified (written to) before the sync `PREPARING` phase. Value values: `NONE`, `PRESERVE`. Default: `PRESERVE`. Mtime pulumi.StringPtrInput `pulumi:"mtime"` // Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values: `NONE`, `PRESERVE`. Default: `PRESERVE`. PosixPermissions pulumi.StringPtrInput `pulumi:"posixPermissions"` // Whether files deleted in the source should be removed or preserved in the destination file system. Valid values: `PRESERVE`, `REMOVE`. Default: `PRESERVE`. PreserveDeletedFiles pulumi.StringPtrInput `pulumi:"preserveDeletedFiles"` // Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values: `NONE`, `PRESERVE`. Default: `NONE` (ignore special devices). PreserveDevices pulumi.StringPtrInput `pulumi:"preserveDevices"` // User identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID). Uid pulumi.StringPtrInput `pulumi:"uid"` // Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values: `NONE`, `POINT_IN_TIME_CONSISTENT`, `ONLY_FILES_TRANSFERRED`. Default: `POINT_IN_TIME_CONSISTENT`. VerifyMode pulumi.StringPtrInput `pulumi:"verifyMode"` }
func (TaskOptionsArgs) ElementType ¶
func (TaskOptionsArgs) ElementType() reflect.Type
func (TaskOptionsArgs) ToTaskOptionsOutput ¶
func (i TaskOptionsArgs) ToTaskOptionsOutput() TaskOptionsOutput
func (TaskOptionsArgs) ToTaskOptionsOutputWithContext ¶
func (i TaskOptionsArgs) ToTaskOptionsOutputWithContext(ctx context.Context) TaskOptionsOutput
func (TaskOptionsArgs) ToTaskOptionsPtrOutput ¶
func (i TaskOptionsArgs) ToTaskOptionsPtrOutput() TaskOptionsPtrOutput
func (TaskOptionsArgs) ToTaskOptionsPtrOutputWithContext ¶
func (i TaskOptionsArgs) ToTaskOptionsPtrOutputWithContext(ctx context.Context) TaskOptionsPtrOutput
type TaskOptionsInput ¶
type TaskOptionsInput interface { pulumi.Input ToTaskOptionsOutput() TaskOptionsOutput ToTaskOptionsOutputWithContext(context.Context) TaskOptionsOutput }
TaskOptionsInput is an input type that accepts TaskOptionsArgs and TaskOptionsOutput values. You can construct a concrete instance of `TaskOptionsInput` via:
TaskOptionsArgs{...}
type TaskOptionsOutput ¶
type TaskOptionsOutput struct{ *pulumi.OutputState }
func (TaskOptionsOutput) Atime ¶
func (o TaskOptionsOutput) Atime() pulumi.StringPtrOutput
A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to `BEST_EFFORT`, the DataSync Task attempts to preserve the original (that is, the version before sync `PREPARING` phase) `atime` attribute on all source files. Valid values: `BEST_EFFORT`, `NONE`. Default: `BEST_EFFORT`.
func (TaskOptionsOutput) BytesPerSecond ¶
func (o TaskOptionsOutput) BytesPerSecond() pulumi.IntPtrOutput
Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to `1048576`. Value values: `-1` or greater. Default: `-1` (unlimited).
func (TaskOptionsOutput) ElementType ¶
func (TaskOptionsOutput) ElementType() reflect.Type
func (TaskOptionsOutput) Gid ¶
func (o TaskOptionsOutput) Gid() pulumi.StringPtrOutput
Group identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).
func (TaskOptionsOutput) Mtime ¶
func (o TaskOptionsOutput) Mtime() pulumi.StringPtrOutput
A file metadata that indicates the last time a file was modified (written to) before the sync `PREPARING` phase. Value values: `NONE`, `PRESERVE`. Default: `PRESERVE`.
func (TaskOptionsOutput) PosixPermissions ¶
func (o TaskOptionsOutput) PosixPermissions() pulumi.StringPtrOutput
Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values: `NONE`, `PRESERVE`. Default: `PRESERVE`.
func (TaskOptionsOutput) PreserveDeletedFiles ¶
func (o TaskOptionsOutput) PreserveDeletedFiles() pulumi.StringPtrOutput
Whether files deleted in the source should be removed or preserved in the destination file system. Valid values: `PRESERVE`, `REMOVE`. Default: `PRESERVE`.
func (TaskOptionsOutput) PreserveDevices ¶
func (o TaskOptionsOutput) PreserveDevices() pulumi.StringPtrOutput
Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values: `NONE`, `PRESERVE`. Default: `NONE` (ignore special devices).
func (TaskOptionsOutput) ToTaskOptionsOutput ¶
func (o TaskOptionsOutput) ToTaskOptionsOutput() TaskOptionsOutput
func (TaskOptionsOutput) ToTaskOptionsOutputWithContext ¶
func (o TaskOptionsOutput) ToTaskOptionsOutputWithContext(ctx context.Context) TaskOptionsOutput
func (TaskOptionsOutput) ToTaskOptionsPtrOutput ¶
func (o TaskOptionsOutput) ToTaskOptionsPtrOutput() TaskOptionsPtrOutput
func (TaskOptionsOutput) ToTaskOptionsPtrOutputWithContext ¶
func (o TaskOptionsOutput) ToTaskOptionsPtrOutputWithContext(ctx context.Context) TaskOptionsPtrOutput
func (TaskOptionsOutput) Uid ¶
func (o TaskOptionsOutput) Uid() pulumi.StringPtrOutput
User identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).
func (TaskOptionsOutput) VerifyMode ¶
func (o TaskOptionsOutput) VerifyMode() pulumi.StringPtrOutput
Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values: `NONE`, `POINT_IN_TIME_CONSISTENT`, `ONLY_FILES_TRANSFERRED`. Default: `POINT_IN_TIME_CONSISTENT`.
type TaskOptionsPtrInput ¶
type TaskOptionsPtrInput interface { pulumi.Input ToTaskOptionsPtrOutput() TaskOptionsPtrOutput ToTaskOptionsPtrOutputWithContext(context.Context) TaskOptionsPtrOutput }
TaskOptionsPtrInput is an input type that accepts TaskOptionsArgs, TaskOptionsPtr and TaskOptionsPtrOutput values. You can construct a concrete instance of `TaskOptionsPtrInput` via:
TaskOptionsArgs{...} or: nil
func TaskOptionsPtr ¶
func TaskOptionsPtr(v *TaskOptionsArgs) TaskOptionsPtrInput
type TaskOptionsPtrOutput ¶
type TaskOptionsPtrOutput struct{ *pulumi.OutputState }
func (TaskOptionsPtrOutput) Atime ¶
func (o TaskOptionsPtrOutput) Atime() pulumi.StringPtrOutput
A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to `BEST_EFFORT`, the DataSync Task attempts to preserve the original (that is, the version before sync `PREPARING` phase) `atime` attribute on all source files. Valid values: `BEST_EFFORT`, `NONE`. Default: `BEST_EFFORT`.
func (TaskOptionsPtrOutput) BytesPerSecond ¶
func (o TaskOptionsPtrOutput) BytesPerSecond() pulumi.IntPtrOutput
Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to `1048576`. Value values: `-1` or greater. Default: `-1` (unlimited).
func (TaskOptionsPtrOutput) Elem ¶
func (o TaskOptionsPtrOutput) Elem() TaskOptionsOutput
func (TaskOptionsPtrOutput) ElementType ¶
func (TaskOptionsPtrOutput) ElementType() reflect.Type
func (TaskOptionsPtrOutput) Gid ¶
func (o TaskOptionsPtrOutput) Gid() pulumi.StringPtrOutput
Group identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).
func (TaskOptionsPtrOutput) Mtime ¶
func (o TaskOptionsPtrOutput) Mtime() pulumi.StringPtrOutput
A file metadata that indicates the last time a file was modified (written to) before the sync `PREPARING` phase. Value values: `NONE`, `PRESERVE`. Default: `PRESERVE`.
func (TaskOptionsPtrOutput) PosixPermissions ¶
func (o TaskOptionsPtrOutput) PosixPermissions() pulumi.StringPtrOutput
Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values: `NONE`, `PRESERVE`. Default: `PRESERVE`.
func (TaskOptionsPtrOutput) PreserveDeletedFiles ¶
func (o TaskOptionsPtrOutput) PreserveDeletedFiles() pulumi.StringPtrOutput
Whether files deleted in the source should be removed or preserved in the destination file system. Valid values: `PRESERVE`, `REMOVE`. Default: `PRESERVE`.
func (TaskOptionsPtrOutput) PreserveDevices ¶
func (o TaskOptionsPtrOutput) PreserveDevices() pulumi.StringPtrOutput
Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values: `NONE`, `PRESERVE`. Default: `NONE` (ignore special devices).
func (TaskOptionsPtrOutput) ToTaskOptionsPtrOutput ¶
func (o TaskOptionsPtrOutput) ToTaskOptionsPtrOutput() TaskOptionsPtrOutput
func (TaskOptionsPtrOutput) ToTaskOptionsPtrOutputWithContext ¶
func (o TaskOptionsPtrOutput) ToTaskOptionsPtrOutputWithContext(ctx context.Context) TaskOptionsPtrOutput
func (TaskOptionsPtrOutput) Uid ¶
func (o TaskOptionsPtrOutput) Uid() pulumi.StringPtrOutput
User identifier of the file's owners. Valid values: `BOTH`, `INT_VALUE`, `NAME`, `NONE`. Default: `INT_VALUE` (preserve integer value of the ID).
func (TaskOptionsPtrOutput) VerifyMode ¶
func (o TaskOptionsPtrOutput) VerifyMode() pulumi.StringPtrOutput
Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values: `NONE`, `POINT_IN_TIME_CONSISTENT`, `ONLY_FILES_TRANSFERRED`. Default: `POINT_IN_TIME_CONSISTENT`.
type TaskState ¶
type TaskState struct { // Amazon Resource Name (ARN) of the DataSync Task. Arn pulumi.StringPtrInput // Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task. CloudwatchLogGroupArn pulumi.StringPtrInput // Amazon Resource Name (ARN) of destination DataSync Location. DestinationLocationArn pulumi.StringPtrInput // Name of the DataSync Task. Name pulumi.StringPtrInput // Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions. Options TaskOptionsPtrInput // Amazon Resource Name (ARN) of source DataSync Location. SourceLocationArn pulumi.StringPtrInput // Key-value pairs of resource tags to assign to the DataSync Task. Tags pulumi.StringMapInput }