Documentation ¶
Index ¶
- type Cache
- type CacheArgs
- type CacheArray
- type CacheArrayInput
- type CacheArrayOutput
- type CacheInput
- type CacheMap
- type CacheMapInput
- type CacheMapOutput
- type CacheOutput
- type CacheState
- type CachesIscsiVolume
- type CachesIscsiVolumeArgs
- type CachesIscsiVolumeArray
- type CachesIscsiVolumeArrayInput
- type CachesIscsiVolumeArrayOutput
- func (CachesIscsiVolumeArrayOutput) ElementType() reflect.Type
- func (o CachesIscsiVolumeArrayOutput) Index(i pulumi.IntInput) CachesIscsiVolumeOutput
- func (o CachesIscsiVolumeArrayOutput) ToCachesIscsiVolumeArrayOutput() CachesIscsiVolumeArrayOutput
- func (o CachesIscsiVolumeArrayOutput) ToCachesIscsiVolumeArrayOutputWithContext(ctx context.Context) CachesIscsiVolumeArrayOutput
- type CachesIscsiVolumeInput
- type CachesIscsiVolumeMap
- type CachesIscsiVolumeMapInput
- type CachesIscsiVolumeMapOutput
- func (CachesIscsiVolumeMapOutput) ElementType() reflect.Type
- func (o CachesIscsiVolumeMapOutput) MapIndex(k pulumi.StringInput) CachesIscsiVolumeOutput
- func (o CachesIscsiVolumeMapOutput) ToCachesIscsiVolumeMapOutput() CachesIscsiVolumeMapOutput
- func (o CachesIscsiVolumeMapOutput) ToCachesIscsiVolumeMapOutputWithContext(ctx context.Context) CachesIscsiVolumeMapOutput
- type CachesIscsiVolumeOutput
- func (o CachesIscsiVolumeOutput) Arn() pulumi.StringOutput
- func (o CachesIscsiVolumeOutput) ChapEnabled() pulumi.BoolOutput
- func (CachesIscsiVolumeOutput) ElementType() reflect.Type
- func (o CachesIscsiVolumeOutput) GatewayArn() pulumi.StringOutput
- func (o CachesIscsiVolumeOutput) KmsEncrypted() pulumi.BoolPtrOutput
- func (o CachesIscsiVolumeOutput) KmsKey() pulumi.StringPtrOutput
- func (o CachesIscsiVolumeOutput) LunNumber() pulumi.IntOutput
- func (o CachesIscsiVolumeOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o CachesIscsiVolumeOutput) NetworkInterfacePort() pulumi.IntOutput
- func (o CachesIscsiVolumeOutput) SnapshotId() pulumi.StringPtrOutput
- func (o CachesIscsiVolumeOutput) SourceVolumeArn() pulumi.StringPtrOutput
- func (o CachesIscsiVolumeOutput) Tags() pulumi.StringMapOutput
- func (o CachesIscsiVolumeOutput) TagsAll() pulumi.StringMapOutput
- func (o CachesIscsiVolumeOutput) TargetArn() pulumi.StringOutput
- func (o CachesIscsiVolumeOutput) TargetName() pulumi.StringOutput
- func (o CachesIscsiVolumeOutput) ToCachesIscsiVolumeOutput() CachesIscsiVolumeOutput
- func (o CachesIscsiVolumeOutput) ToCachesIscsiVolumeOutputWithContext(ctx context.Context) CachesIscsiVolumeOutput
- func (o CachesIscsiVolumeOutput) VolumeArn() pulumi.StringOutput
- func (o CachesIscsiVolumeOutput) VolumeId() pulumi.StringOutput
- func (o CachesIscsiVolumeOutput) VolumeSizeInBytes() pulumi.IntOutput
- type CachesIscsiVolumeState
- type FileSystemAssociation
- type FileSystemAssociationArgs
- type FileSystemAssociationArray
- func (FileSystemAssociationArray) ElementType() reflect.Type
- func (i FileSystemAssociationArray) ToFileSystemAssociationArrayOutput() FileSystemAssociationArrayOutput
- func (i FileSystemAssociationArray) ToFileSystemAssociationArrayOutputWithContext(ctx context.Context) FileSystemAssociationArrayOutput
- type FileSystemAssociationArrayInput
- type FileSystemAssociationArrayOutput
- func (FileSystemAssociationArrayOutput) ElementType() reflect.Type
- func (o FileSystemAssociationArrayOutput) Index(i pulumi.IntInput) FileSystemAssociationOutput
- func (o FileSystemAssociationArrayOutput) ToFileSystemAssociationArrayOutput() FileSystemAssociationArrayOutput
- func (o FileSystemAssociationArrayOutput) ToFileSystemAssociationArrayOutputWithContext(ctx context.Context) FileSystemAssociationArrayOutput
- type FileSystemAssociationCacheAttributes
- type FileSystemAssociationCacheAttributesArgs
- func (FileSystemAssociationCacheAttributesArgs) ElementType() reflect.Type
- func (i FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesOutput() FileSystemAssociationCacheAttributesOutput
- func (i FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesOutput
- func (i FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesPtrOutput() FileSystemAssociationCacheAttributesPtrOutput
- func (i FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesPtrOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesPtrOutput
- type FileSystemAssociationCacheAttributesInput
- type FileSystemAssociationCacheAttributesOutput
- func (o FileSystemAssociationCacheAttributesOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
- func (FileSystemAssociationCacheAttributesOutput) ElementType() reflect.Type
- func (o FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesOutput() FileSystemAssociationCacheAttributesOutput
- func (o FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesOutput
- func (o FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesPtrOutput() FileSystemAssociationCacheAttributesPtrOutput
- func (o FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesPtrOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesPtrOutput
- type FileSystemAssociationCacheAttributesPtrInput
- type FileSystemAssociationCacheAttributesPtrOutput
- func (o FileSystemAssociationCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
- func (o FileSystemAssociationCacheAttributesPtrOutput) Elem() FileSystemAssociationCacheAttributesOutput
- func (FileSystemAssociationCacheAttributesPtrOutput) ElementType() reflect.Type
- func (o FileSystemAssociationCacheAttributesPtrOutput) ToFileSystemAssociationCacheAttributesPtrOutput() FileSystemAssociationCacheAttributesPtrOutput
- func (o FileSystemAssociationCacheAttributesPtrOutput) ToFileSystemAssociationCacheAttributesPtrOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesPtrOutput
- type FileSystemAssociationInput
- type FileSystemAssociationMap
- type FileSystemAssociationMapInput
- type FileSystemAssociationMapOutput
- func (FileSystemAssociationMapOutput) ElementType() reflect.Type
- func (o FileSystemAssociationMapOutput) MapIndex(k pulumi.StringInput) FileSystemAssociationOutput
- func (o FileSystemAssociationMapOutput) ToFileSystemAssociationMapOutput() FileSystemAssociationMapOutput
- func (o FileSystemAssociationMapOutput) ToFileSystemAssociationMapOutputWithContext(ctx context.Context) FileSystemAssociationMapOutput
- type FileSystemAssociationOutput
- func (o FileSystemAssociationOutput) Arn() pulumi.StringOutput
- func (o FileSystemAssociationOutput) AuditDestinationArn() pulumi.StringPtrOutput
- func (o FileSystemAssociationOutput) CacheAttributes() FileSystemAssociationCacheAttributesPtrOutput
- func (FileSystemAssociationOutput) ElementType() reflect.Type
- func (o FileSystemAssociationOutput) GatewayArn() pulumi.StringOutput
- func (o FileSystemAssociationOutput) LocationArn() pulumi.StringOutput
- func (o FileSystemAssociationOutput) Password() pulumi.StringOutput
- func (o FileSystemAssociationOutput) Tags() pulumi.StringMapOutput
- func (o FileSystemAssociationOutput) TagsAll() pulumi.StringMapOutput
- func (o FileSystemAssociationOutput) ToFileSystemAssociationOutput() FileSystemAssociationOutput
- func (o FileSystemAssociationOutput) ToFileSystemAssociationOutputWithContext(ctx context.Context) FileSystemAssociationOutput
- func (o FileSystemAssociationOutput) Username() pulumi.StringOutput
- type FileSystemAssociationState
- type Gateway
- type GatewayArgs
- type GatewayArray
- type GatewayArrayInput
- type GatewayArrayOutput
- type GatewayGatewayNetworkInterface
- type GatewayGatewayNetworkInterfaceArgs
- func (GatewayGatewayNetworkInterfaceArgs) ElementType() reflect.Type
- func (i GatewayGatewayNetworkInterfaceArgs) ToGatewayGatewayNetworkInterfaceOutput() GatewayGatewayNetworkInterfaceOutput
- func (i GatewayGatewayNetworkInterfaceArgs) ToGatewayGatewayNetworkInterfaceOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceOutput
- type GatewayGatewayNetworkInterfaceArray
- func (GatewayGatewayNetworkInterfaceArray) ElementType() reflect.Type
- func (i GatewayGatewayNetworkInterfaceArray) ToGatewayGatewayNetworkInterfaceArrayOutput() GatewayGatewayNetworkInterfaceArrayOutput
- func (i GatewayGatewayNetworkInterfaceArray) ToGatewayGatewayNetworkInterfaceArrayOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceArrayOutput
- type GatewayGatewayNetworkInterfaceArrayInput
- type GatewayGatewayNetworkInterfaceArrayOutput
- func (GatewayGatewayNetworkInterfaceArrayOutput) ElementType() reflect.Type
- func (o GatewayGatewayNetworkInterfaceArrayOutput) Index(i pulumi.IntInput) GatewayGatewayNetworkInterfaceOutput
- func (o GatewayGatewayNetworkInterfaceArrayOutput) ToGatewayGatewayNetworkInterfaceArrayOutput() GatewayGatewayNetworkInterfaceArrayOutput
- func (o GatewayGatewayNetworkInterfaceArrayOutput) ToGatewayGatewayNetworkInterfaceArrayOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceArrayOutput
- type GatewayGatewayNetworkInterfaceInput
- type GatewayGatewayNetworkInterfaceOutput
- func (GatewayGatewayNetworkInterfaceOutput) ElementType() reflect.Type
- func (o GatewayGatewayNetworkInterfaceOutput) Ipv4Address() pulumi.StringPtrOutput
- func (o GatewayGatewayNetworkInterfaceOutput) ToGatewayGatewayNetworkInterfaceOutput() GatewayGatewayNetworkInterfaceOutput
- func (o GatewayGatewayNetworkInterfaceOutput) ToGatewayGatewayNetworkInterfaceOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceOutput
- type GatewayInput
- type GatewayMaintenanceStartTime
- type GatewayMaintenanceStartTimeArgs
- func (GatewayMaintenanceStartTimeArgs) ElementType() reflect.Type
- func (i GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimeOutput() GatewayMaintenanceStartTimeOutput
- func (i GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimeOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimeOutput
- func (i GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimePtrOutput() GatewayMaintenanceStartTimePtrOutput
- func (i GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimePtrOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimePtrOutput
- type GatewayMaintenanceStartTimeInput
- type GatewayMaintenanceStartTimeOutput
- func (o GatewayMaintenanceStartTimeOutput) DayOfMonth() pulumi.StringPtrOutput
- func (o GatewayMaintenanceStartTimeOutput) DayOfWeek() pulumi.StringPtrOutput
- func (GatewayMaintenanceStartTimeOutput) ElementType() reflect.Type
- func (o GatewayMaintenanceStartTimeOutput) HourOfDay() pulumi.IntOutput
- func (o GatewayMaintenanceStartTimeOutput) MinuteOfHour() pulumi.IntPtrOutput
- func (o GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimeOutput() GatewayMaintenanceStartTimeOutput
- func (o GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimeOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimeOutput
- func (o GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimePtrOutput() GatewayMaintenanceStartTimePtrOutput
- func (o GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimePtrOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimePtrOutput
- type GatewayMaintenanceStartTimePtrInput
- type GatewayMaintenanceStartTimePtrOutput
- func (o GatewayMaintenanceStartTimePtrOutput) DayOfMonth() pulumi.StringPtrOutput
- func (o GatewayMaintenanceStartTimePtrOutput) DayOfWeek() pulumi.StringPtrOutput
- func (o GatewayMaintenanceStartTimePtrOutput) Elem() GatewayMaintenanceStartTimeOutput
- func (GatewayMaintenanceStartTimePtrOutput) ElementType() reflect.Type
- func (o GatewayMaintenanceStartTimePtrOutput) HourOfDay() pulumi.IntPtrOutput
- func (o GatewayMaintenanceStartTimePtrOutput) MinuteOfHour() pulumi.IntPtrOutput
- func (o GatewayMaintenanceStartTimePtrOutput) ToGatewayMaintenanceStartTimePtrOutput() GatewayMaintenanceStartTimePtrOutput
- func (o GatewayMaintenanceStartTimePtrOutput) ToGatewayMaintenanceStartTimePtrOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimePtrOutput
- type GatewayMap
- type GatewayMapInput
- type GatewayMapOutput
- type GatewayOutput
- func (o GatewayOutput) ActivationKey() pulumi.StringOutput
- func (o GatewayOutput) Arn() pulumi.StringOutput
- func (o GatewayOutput) AverageDownloadRateLimitInBitsPerSec() pulumi.IntPtrOutput
- func (o GatewayOutput) AverageUploadRateLimitInBitsPerSec() pulumi.IntPtrOutput
- func (o GatewayOutput) CloudwatchLogGroupArn() pulumi.StringPtrOutput
- func (o GatewayOutput) Ec2InstanceId() pulumi.StringOutput
- func (GatewayOutput) ElementType() reflect.Type
- func (o GatewayOutput) EndpointType() pulumi.StringOutput
- func (o GatewayOutput) GatewayId() pulumi.StringOutput
- func (o GatewayOutput) GatewayIpAddress() pulumi.StringOutput
- func (o GatewayOutput) GatewayName() pulumi.StringOutput
- func (o GatewayOutput) GatewayNetworkInterfaces() GatewayGatewayNetworkInterfaceArrayOutput
- func (o GatewayOutput) GatewayTimezone() pulumi.StringOutput
- func (o GatewayOutput) GatewayType() pulumi.StringPtrOutput
- func (o GatewayOutput) GatewayVpcEndpoint() pulumi.StringPtrOutput
- func (o GatewayOutput) HostEnvironment() pulumi.StringOutput
- func (o GatewayOutput) MaintenanceStartTime() GatewayMaintenanceStartTimeOutput
- func (o GatewayOutput) MediumChangerType() pulumi.StringPtrOutput
- func (o GatewayOutput) SmbActiveDirectorySettings() GatewaySmbActiveDirectorySettingsPtrOutput
- func (o GatewayOutput) SmbFileShareVisibility() pulumi.BoolPtrOutput
- func (o GatewayOutput) SmbGuestPassword() pulumi.StringPtrOutput
- func (o GatewayOutput) SmbSecurityStrategy() pulumi.StringOutput
- func (o GatewayOutput) Tags() pulumi.StringMapOutput
- func (o GatewayOutput) TagsAll() pulumi.StringMapOutput
- func (o GatewayOutput) TapeDriveType() pulumi.StringPtrOutput
- func (o GatewayOutput) ToGatewayOutput() GatewayOutput
- func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
- type GatewaySmbActiveDirectorySettings
- type GatewaySmbActiveDirectorySettingsArgs
- func (GatewaySmbActiveDirectorySettingsArgs) ElementType() reflect.Type
- func (i GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsOutput() GatewaySmbActiveDirectorySettingsOutput
- func (i GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsOutput
- func (i GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsPtrOutput() GatewaySmbActiveDirectorySettingsPtrOutput
- func (i GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsPtrOutput
- type GatewaySmbActiveDirectorySettingsInput
- type GatewaySmbActiveDirectorySettingsOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) ActiveDirectoryStatus() pulumi.StringPtrOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) DomainControllers() pulumi.StringArrayOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) DomainName() pulumi.StringOutput
- func (GatewaySmbActiveDirectorySettingsOutput) ElementType() reflect.Type
- func (o GatewaySmbActiveDirectorySettingsOutput) OrganizationalUnit() pulumi.StringPtrOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) Password() pulumi.StringOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) TimeoutInSeconds() pulumi.IntPtrOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsOutput() GatewaySmbActiveDirectorySettingsOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsPtrOutput() GatewaySmbActiveDirectorySettingsPtrOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsPtrOutput
- func (o GatewaySmbActiveDirectorySettingsOutput) Username() pulumi.StringOutput
- type GatewaySmbActiveDirectorySettingsPtrInput
- type GatewaySmbActiveDirectorySettingsPtrOutput
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) ActiveDirectoryStatus() pulumi.StringPtrOutput
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) DomainControllers() pulumi.StringArrayOutput
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) DomainName() pulumi.StringPtrOutput
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) Elem() GatewaySmbActiveDirectorySettingsOutput
- func (GatewaySmbActiveDirectorySettingsPtrOutput) ElementType() reflect.Type
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) OrganizationalUnit() pulumi.StringPtrOutput
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) Password() pulumi.StringPtrOutput
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) TimeoutInSeconds() pulumi.IntPtrOutput
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) ToGatewaySmbActiveDirectorySettingsPtrOutput() GatewaySmbActiveDirectorySettingsPtrOutput
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsPtrOutput
- func (o GatewaySmbActiveDirectorySettingsPtrOutput) Username() pulumi.StringPtrOutput
- type GatewayState
- type GetLocalDiskArgs
- type GetLocalDiskOutputArgs
- type GetLocalDiskResult
- type GetLocalDiskResultOutput
- func (o GetLocalDiskResultOutput) DiskId() pulumi.StringOutput
- func (o GetLocalDiskResultOutput) DiskNode() pulumi.StringOutput
- func (o GetLocalDiskResultOutput) DiskPath() pulumi.StringOutput
- func (GetLocalDiskResultOutput) ElementType() reflect.Type
- func (o GetLocalDiskResultOutput) GatewayArn() pulumi.StringOutput
- func (o GetLocalDiskResultOutput) Id() pulumi.StringOutput
- func (o GetLocalDiskResultOutput) ToGetLocalDiskResultOutput() GetLocalDiskResultOutput
- func (o GetLocalDiskResultOutput) ToGetLocalDiskResultOutputWithContext(ctx context.Context) GetLocalDiskResultOutput
- type NfsFileShare
- type NfsFileShareArgs
- type NfsFileShareArray
- type NfsFileShareArrayInput
- type NfsFileShareArrayOutput
- func (NfsFileShareArrayOutput) ElementType() reflect.Type
- func (o NfsFileShareArrayOutput) Index(i pulumi.IntInput) NfsFileShareOutput
- func (o NfsFileShareArrayOutput) ToNfsFileShareArrayOutput() NfsFileShareArrayOutput
- func (o NfsFileShareArrayOutput) ToNfsFileShareArrayOutputWithContext(ctx context.Context) NfsFileShareArrayOutput
- type NfsFileShareCacheAttributes
- type NfsFileShareCacheAttributesArgs
- func (NfsFileShareCacheAttributesArgs) ElementType() reflect.Type
- func (i NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesOutput() NfsFileShareCacheAttributesOutput
- func (i NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesOutput
- func (i NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesPtrOutput() NfsFileShareCacheAttributesPtrOutput
- func (i NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesPtrOutput
- type NfsFileShareCacheAttributesInput
- type NfsFileShareCacheAttributesOutput
- func (o NfsFileShareCacheAttributesOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
- func (NfsFileShareCacheAttributesOutput) ElementType() reflect.Type
- func (o NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesOutput() NfsFileShareCacheAttributesOutput
- func (o NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesOutput
- func (o NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesPtrOutput() NfsFileShareCacheAttributesPtrOutput
- func (o NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesPtrOutput
- type NfsFileShareCacheAttributesPtrInput
- type NfsFileShareCacheAttributesPtrOutput
- func (o NfsFileShareCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
- func (o NfsFileShareCacheAttributesPtrOutput) Elem() NfsFileShareCacheAttributesOutput
- func (NfsFileShareCacheAttributesPtrOutput) ElementType() reflect.Type
- func (o NfsFileShareCacheAttributesPtrOutput) ToNfsFileShareCacheAttributesPtrOutput() NfsFileShareCacheAttributesPtrOutput
- func (o NfsFileShareCacheAttributesPtrOutput) ToNfsFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesPtrOutput
- type NfsFileShareInput
- type NfsFileShareMap
- type NfsFileShareMapInput
- type NfsFileShareMapOutput
- func (NfsFileShareMapOutput) ElementType() reflect.Type
- func (o NfsFileShareMapOutput) MapIndex(k pulumi.StringInput) NfsFileShareOutput
- func (o NfsFileShareMapOutput) ToNfsFileShareMapOutput() NfsFileShareMapOutput
- func (o NfsFileShareMapOutput) ToNfsFileShareMapOutputWithContext(ctx context.Context) NfsFileShareMapOutput
- type NfsFileShareNfsFileShareDefaults
- type NfsFileShareNfsFileShareDefaultsArgs
- func (NfsFileShareNfsFileShareDefaultsArgs) ElementType() reflect.Type
- func (i NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsOutput() NfsFileShareNfsFileShareDefaultsOutput
- func (i NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsOutput
- func (i NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsPtrOutput() NfsFileShareNfsFileShareDefaultsPtrOutput
- func (i NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsPtrOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsPtrOutput
- type NfsFileShareNfsFileShareDefaultsInput
- type NfsFileShareNfsFileShareDefaultsOutput
- func (o NfsFileShareNfsFileShareDefaultsOutput) DirectoryMode() pulumi.StringPtrOutput
- func (NfsFileShareNfsFileShareDefaultsOutput) ElementType() reflect.Type
- func (o NfsFileShareNfsFileShareDefaultsOutput) FileMode() pulumi.StringPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsOutput) GroupId() pulumi.StringPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsOutput) OwnerId() pulumi.StringPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsOutput() NfsFileShareNfsFileShareDefaultsOutput
- func (o NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsOutput
- func (o NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutput() NfsFileShareNfsFileShareDefaultsPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsPtrOutput
- type NfsFileShareNfsFileShareDefaultsPtrInput
- type NfsFileShareNfsFileShareDefaultsPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsPtrOutput) DirectoryMode() pulumi.StringPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsPtrOutput) Elem() NfsFileShareNfsFileShareDefaultsOutput
- func (NfsFileShareNfsFileShareDefaultsPtrOutput) ElementType() reflect.Type
- func (o NfsFileShareNfsFileShareDefaultsPtrOutput) FileMode() pulumi.StringPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsPtrOutput) GroupId() pulumi.StringPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsPtrOutput) OwnerId() pulumi.StringPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsPtrOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutput() NfsFileShareNfsFileShareDefaultsPtrOutput
- func (o NfsFileShareNfsFileShareDefaultsPtrOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsPtrOutput
- type NfsFileShareOutput
- func (o NfsFileShareOutput) Arn() pulumi.StringOutput
- func (o NfsFileShareOutput) AuditDestinationArn() pulumi.StringPtrOutput
- func (o NfsFileShareOutput) BucketRegion() pulumi.StringPtrOutput
- func (o NfsFileShareOutput) CacheAttributes() NfsFileShareCacheAttributesPtrOutput
- func (o NfsFileShareOutput) ClientLists() pulumi.StringArrayOutput
- func (o NfsFileShareOutput) DefaultStorageClass() pulumi.StringPtrOutput
- func (NfsFileShareOutput) ElementType() reflect.Type
- func (o NfsFileShareOutput) FileShareName() pulumi.StringOutput
- func (o NfsFileShareOutput) FileshareId() pulumi.StringOutput
- func (o NfsFileShareOutput) GatewayArn() pulumi.StringOutput
- func (o NfsFileShareOutput) GuessMimeTypeEnabled() pulumi.BoolPtrOutput
- func (o NfsFileShareOutput) KmsEncrypted() pulumi.BoolPtrOutput
- func (o NfsFileShareOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o NfsFileShareOutput) LocationArn() pulumi.StringOutput
- func (o NfsFileShareOutput) NfsFileShareDefaults() NfsFileShareNfsFileShareDefaultsPtrOutput
- func (o NfsFileShareOutput) NotificationPolicy() pulumi.StringPtrOutput
- func (o NfsFileShareOutput) ObjectAcl() pulumi.StringPtrOutput
- func (o NfsFileShareOutput) Path() pulumi.StringOutput
- func (o NfsFileShareOutput) ReadOnly() pulumi.BoolPtrOutput
- func (o NfsFileShareOutput) RequesterPays() pulumi.BoolPtrOutput
- func (o NfsFileShareOutput) RoleArn() pulumi.StringOutput
- func (o NfsFileShareOutput) Squash() pulumi.StringPtrOutput
- func (o NfsFileShareOutput) Tags() pulumi.StringMapOutput
- func (o NfsFileShareOutput) TagsAll() pulumi.StringMapOutput
- func (o NfsFileShareOutput) ToNfsFileShareOutput() NfsFileShareOutput
- func (o NfsFileShareOutput) ToNfsFileShareOutputWithContext(ctx context.Context) NfsFileShareOutput
- func (o NfsFileShareOutput) VpcEndpointDnsName() pulumi.StringPtrOutput
- type NfsFileShareState
- type SmbFileShare
- type SmbFileShareArgs
- type SmbFileShareArray
- type SmbFileShareArrayInput
- type SmbFileShareArrayOutput
- func (SmbFileShareArrayOutput) ElementType() reflect.Type
- func (o SmbFileShareArrayOutput) Index(i pulumi.IntInput) SmbFileShareOutput
- func (o SmbFileShareArrayOutput) ToSmbFileShareArrayOutput() SmbFileShareArrayOutput
- func (o SmbFileShareArrayOutput) ToSmbFileShareArrayOutputWithContext(ctx context.Context) SmbFileShareArrayOutput
- type SmbFileShareCacheAttributes
- type SmbFileShareCacheAttributesArgs
- func (SmbFileShareCacheAttributesArgs) ElementType() reflect.Type
- func (i SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesOutput() SmbFileShareCacheAttributesOutput
- func (i SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesOutput
- func (i SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesPtrOutput() SmbFileShareCacheAttributesPtrOutput
- func (i SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesPtrOutput
- type SmbFileShareCacheAttributesInput
- type SmbFileShareCacheAttributesOutput
- func (o SmbFileShareCacheAttributesOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
- func (SmbFileShareCacheAttributesOutput) ElementType() reflect.Type
- func (o SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesOutput() SmbFileShareCacheAttributesOutput
- func (o SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesOutput
- func (o SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesPtrOutput() SmbFileShareCacheAttributesPtrOutput
- func (o SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesPtrOutput
- type SmbFileShareCacheAttributesPtrInput
- type SmbFileShareCacheAttributesPtrOutput
- func (o SmbFileShareCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
- func (o SmbFileShareCacheAttributesPtrOutput) Elem() SmbFileShareCacheAttributesOutput
- func (SmbFileShareCacheAttributesPtrOutput) ElementType() reflect.Type
- func (o SmbFileShareCacheAttributesPtrOutput) ToSmbFileShareCacheAttributesPtrOutput() SmbFileShareCacheAttributesPtrOutput
- func (o SmbFileShareCacheAttributesPtrOutput) ToSmbFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesPtrOutput
- type SmbFileShareInput
- type SmbFileShareMap
- type SmbFileShareMapInput
- type SmbFileShareMapOutput
- func (SmbFileShareMapOutput) ElementType() reflect.Type
- func (o SmbFileShareMapOutput) MapIndex(k pulumi.StringInput) SmbFileShareOutput
- func (o SmbFileShareMapOutput) ToSmbFileShareMapOutput() SmbFileShareMapOutput
- func (o SmbFileShareMapOutput) ToSmbFileShareMapOutputWithContext(ctx context.Context) SmbFileShareMapOutput
- type SmbFileShareOutput
- func (o SmbFileShareOutput) AccessBasedEnumeration() pulumi.BoolPtrOutput
- func (o SmbFileShareOutput) AdminUserLists() pulumi.StringArrayOutput
- func (o SmbFileShareOutput) Arn() pulumi.StringOutput
- func (o SmbFileShareOutput) AuditDestinationArn() pulumi.StringPtrOutput
- func (o SmbFileShareOutput) Authentication() pulumi.StringPtrOutput
- func (o SmbFileShareOutput) BucketRegion() pulumi.StringPtrOutput
- func (o SmbFileShareOutput) CacheAttributes() SmbFileShareCacheAttributesPtrOutput
- func (o SmbFileShareOutput) CaseSensitivity() pulumi.StringPtrOutput
- func (o SmbFileShareOutput) DefaultStorageClass() pulumi.StringPtrOutput
- func (SmbFileShareOutput) ElementType() reflect.Type
- func (o SmbFileShareOutput) FileShareName() pulumi.StringOutput
- func (o SmbFileShareOutput) FileshareId() pulumi.StringOutput
- func (o SmbFileShareOutput) GatewayArn() pulumi.StringOutput
- func (o SmbFileShareOutput) GuessMimeTypeEnabled() pulumi.BoolPtrOutput
- func (o SmbFileShareOutput) InvalidUserLists() pulumi.StringArrayOutput
- func (o SmbFileShareOutput) KmsEncrypted() pulumi.BoolPtrOutput
- func (o SmbFileShareOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o SmbFileShareOutput) LocationArn() pulumi.StringOutput
- func (o SmbFileShareOutput) NotificationPolicy() pulumi.StringPtrOutput
- func (o SmbFileShareOutput) ObjectAcl() pulumi.StringPtrOutput
- func (o SmbFileShareOutput) OplocksEnabled() pulumi.BoolOutput
- func (o SmbFileShareOutput) Path() pulumi.StringOutput
- func (o SmbFileShareOutput) ReadOnly() pulumi.BoolPtrOutput
- func (o SmbFileShareOutput) RequesterPays() pulumi.BoolPtrOutput
- func (o SmbFileShareOutput) RoleArn() pulumi.StringOutput
- func (o SmbFileShareOutput) SmbAclEnabled() pulumi.BoolPtrOutput
- func (o SmbFileShareOutput) Tags() pulumi.StringMapOutput
- func (o SmbFileShareOutput) TagsAll() pulumi.StringMapOutput
- func (o SmbFileShareOutput) ToSmbFileShareOutput() SmbFileShareOutput
- func (o SmbFileShareOutput) ToSmbFileShareOutputWithContext(ctx context.Context) SmbFileShareOutput
- func (o SmbFileShareOutput) ValidUserLists() pulumi.StringArrayOutput
- func (o SmbFileShareOutput) VpcEndpointDnsName() pulumi.StringPtrOutput
- type SmbFileShareState
- type StoredIscsiVolume
- type StoredIscsiVolumeArgs
- type StoredIscsiVolumeArray
- type StoredIscsiVolumeArrayInput
- type StoredIscsiVolumeArrayOutput
- func (StoredIscsiVolumeArrayOutput) ElementType() reflect.Type
- func (o StoredIscsiVolumeArrayOutput) Index(i pulumi.IntInput) StoredIscsiVolumeOutput
- func (o StoredIscsiVolumeArrayOutput) ToStoredIscsiVolumeArrayOutput() StoredIscsiVolumeArrayOutput
- func (o StoredIscsiVolumeArrayOutput) ToStoredIscsiVolumeArrayOutputWithContext(ctx context.Context) StoredIscsiVolumeArrayOutput
- type StoredIscsiVolumeInput
- type StoredIscsiVolumeMap
- type StoredIscsiVolumeMapInput
- type StoredIscsiVolumeMapOutput
- func (StoredIscsiVolumeMapOutput) ElementType() reflect.Type
- func (o StoredIscsiVolumeMapOutput) MapIndex(k pulumi.StringInput) StoredIscsiVolumeOutput
- func (o StoredIscsiVolumeMapOutput) ToStoredIscsiVolumeMapOutput() StoredIscsiVolumeMapOutput
- func (o StoredIscsiVolumeMapOutput) ToStoredIscsiVolumeMapOutputWithContext(ctx context.Context) StoredIscsiVolumeMapOutput
- type StoredIscsiVolumeOutput
- func (o StoredIscsiVolumeOutput) Arn() pulumi.StringOutput
- func (o StoredIscsiVolumeOutput) ChapEnabled() pulumi.BoolOutput
- func (o StoredIscsiVolumeOutput) DiskId() pulumi.StringOutput
- func (StoredIscsiVolumeOutput) ElementType() reflect.Type
- func (o StoredIscsiVolumeOutput) GatewayArn() pulumi.StringOutput
- func (o StoredIscsiVolumeOutput) KmsEncrypted() pulumi.BoolPtrOutput
- func (o StoredIscsiVolumeOutput) KmsKey() pulumi.StringPtrOutput
- func (o StoredIscsiVolumeOutput) LunNumber() pulumi.IntOutput
- func (o StoredIscsiVolumeOutput) NetworkInterfaceId() pulumi.StringOutput
- func (o StoredIscsiVolumeOutput) NetworkInterfacePort() pulumi.IntOutput
- func (o StoredIscsiVolumeOutput) PreserveExistingData() pulumi.BoolOutput
- func (o StoredIscsiVolumeOutput) SnapshotId() pulumi.StringPtrOutput
- func (o StoredIscsiVolumeOutput) Tags() pulumi.StringMapOutput
- func (o StoredIscsiVolumeOutput) TagsAll() pulumi.StringMapOutput
- func (o StoredIscsiVolumeOutput) TargetArn() pulumi.StringOutput
- func (o StoredIscsiVolumeOutput) TargetName() pulumi.StringOutput
- func (o StoredIscsiVolumeOutput) ToStoredIscsiVolumeOutput() StoredIscsiVolumeOutput
- func (o StoredIscsiVolumeOutput) ToStoredIscsiVolumeOutputWithContext(ctx context.Context) StoredIscsiVolumeOutput
- func (o StoredIscsiVolumeOutput) VolumeAttachmentStatus() pulumi.StringOutput
- func (o StoredIscsiVolumeOutput) VolumeId() pulumi.StringOutput
- func (o StoredIscsiVolumeOutput) VolumeSizeInBytes() pulumi.IntOutput
- func (o StoredIscsiVolumeOutput) VolumeStatus() pulumi.StringOutput
- func (o StoredIscsiVolumeOutput) VolumeType() pulumi.StringOutput
- type StoredIscsiVolumeState
- type TapePool
- type TapePoolArgs
- type TapePoolArray
- type TapePoolArrayInput
- type TapePoolArrayOutput
- type TapePoolInput
- type TapePoolMap
- type TapePoolMapInput
- type TapePoolMapOutput
- type TapePoolOutput
- func (o TapePoolOutput) Arn() pulumi.StringOutput
- func (TapePoolOutput) ElementType() reflect.Type
- func (o TapePoolOutput) PoolName() pulumi.StringOutput
- func (o TapePoolOutput) RetentionLockTimeInDays() pulumi.IntPtrOutput
- func (o TapePoolOutput) RetentionLockType() pulumi.StringPtrOutput
- func (o TapePoolOutput) StorageClass() pulumi.StringOutput
- func (o TapePoolOutput) Tags() pulumi.StringMapOutput
- func (o TapePoolOutput) TagsAll() pulumi.StringMapOutput
- func (o TapePoolOutput) ToTapePoolOutput() TapePoolOutput
- func (o TapePoolOutput) ToTapePoolOutputWithContext(ctx context.Context) TapePoolOutput
- type TapePoolState
- type UploadBuffer
- type UploadBufferArgs
- type UploadBufferArray
- type UploadBufferArrayInput
- type UploadBufferArrayOutput
- func (UploadBufferArrayOutput) ElementType() reflect.Type
- func (o UploadBufferArrayOutput) Index(i pulumi.IntInput) UploadBufferOutput
- func (o UploadBufferArrayOutput) ToUploadBufferArrayOutput() UploadBufferArrayOutput
- func (o UploadBufferArrayOutput) ToUploadBufferArrayOutputWithContext(ctx context.Context) UploadBufferArrayOutput
- type UploadBufferInput
- type UploadBufferMap
- type UploadBufferMapInput
- type UploadBufferMapOutput
- func (UploadBufferMapOutput) ElementType() reflect.Type
- func (o UploadBufferMapOutput) MapIndex(k pulumi.StringInput) UploadBufferOutput
- func (o UploadBufferMapOutput) ToUploadBufferMapOutput() UploadBufferMapOutput
- func (o UploadBufferMapOutput) ToUploadBufferMapOutputWithContext(ctx context.Context) UploadBufferMapOutput
- type UploadBufferOutput
- func (o UploadBufferOutput) DiskId() pulumi.StringOutput
- func (o UploadBufferOutput) DiskPath() pulumi.StringOutput
- func (UploadBufferOutput) ElementType() reflect.Type
- func (o UploadBufferOutput) GatewayArn() pulumi.StringOutput
- func (o UploadBufferOutput) ToUploadBufferOutput() UploadBufferOutput
- func (o UploadBufferOutput) ToUploadBufferOutputWithContext(ctx context.Context) UploadBufferOutput
- type UploadBufferState
- type WorkingStorage
- type WorkingStorageArgs
- type WorkingStorageArray
- type WorkingStorageArrayInput
- type WorkingStorageArrayOutput
- func (WorkingStorageArrayOutput) ElementType() reflect.Type
- func (o WorkingStorageArrayOutput) Index(i pulumi.IntInput) WorkingStorageOutput
- func (o WorkingStorageArrayOutput) ToWorkingStorageArrayOutput() WorkingStorageArrayOutput
- func (o WorkingStorageArrayOutput) ToWorkingStorageArrayOutputWithContext(ctx context.Context) WorkingStorageArrayOutput
- type WorkingStorageInput
- type WorkingStorageMap
- type WorkingStorageMapInput
- type WorkingStorageMapOutput
- func (WorkingStorageMapOutput) ElementType() reflect.Type
- func (o WorkingStorageMapOutput) MapIndex(k pulumi.StringInput) WorkingStorageOutput
- func (o WorkingStorageMapOutput) ToWorkingStorageMapOutput() WorkingStorageMapOutput
- func (o WorkingStorageMapOutput) ToWorkingStorageMapOutputWithContext(ctx context.Context) WorkingStorageMapOutput
- type WorkingStorageOutput
- func (o WorkingStorageOutput) DiskId() pulumi.StringOutput
- func (WorkingStorageOutput) ElementType() reflect.Type
- func (o WorkingStorageOutput) GatewayArn() pulumi.StringOutput
- func (o WorkingStorageOutput) ToWorkingStorageOutput() WorkingStorageOutput
- func (o WorkingStorageOutput) ToWorkingStorageOutputWithContext(ctx context.Context) WorkingStorageOutput
- type WorkingStorageState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { pulumi.CustomResourceState // Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`. DiskId pulumi.StringOutput `pulumi:"diskId"` // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringOutput `pulumi:"gatewayArn"` }
Manages an AWS Storage Gateway cache.
> **NOTE:** The Storage Gateway API provides no method to remove a cache disk. Destroying this resource does not perform any Storage Gateway actions.
## Example Usage
```go 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.NewCache(ctx, "example", &storagegateway.CacheArgs{ DiskId: pulumi.Any(data.Aws_storagegateway_local_disk.Example.Id), GatewayArn: pulumi.Any(aws_storagegateway_gateway.Example.Arn), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_storagegateway_cache.example id = "arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678:pci-0000:03:00.0-scsi-0:0:0:0" } Using `pulumi import`, import `aws_storagegateway_cache` using the gateway Amazon Resource Name (ARN) and local disk identifier separated with a colon (`:`). For exampleconsole % pulumi import aws_storagegateway_cache.example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678:pci-0000:03:00.0-scsi-0:0:0:0
func GetCache ¶
func GetCache(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CacheState, opts ...pulumi.ResourceOption) (*Cache, error)
GetCache gets an existing Cache 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 NewCache ¶
func NewCache(ctx *pulumi.Context, name string, args *CacheArgs, opts ...pulumi.ResourceOption) (*Cache, error)
NewCache registers a new resource with the given unique name, arguments, and options.
func (*Cache) ElementType ¶
func (*Cache) ToCacheOutput ¶
func (i *Cache) ToCacheOutput() CacheOutput
func (*Cache) ToCacheOutputWithContext ¶
func (i *Cache) ToCacheOutputWithContext(ctx context.Context) CacheOutput
type CacheArgs ¶
type CacheArgs struct { // Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`. DiskId pulumi.StringInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringInput }
The set of arguments for constructing a Cache resource.
func (CacheArgs) ElementType ¶
type CacheArray ¶
type CacheArray []CacheInput
func (CacheArray) ElementType ¶
func (CacheArray) ElementType() reflect.Type
func (CacheArray) ToCacheArrayOutput ¶
func (i CacheArray) ToCacheArrayOutput() CacheArrayOutput
func (CacheArray) ToCacheArrayOutputWithContext ¶
func (i CacheArray) ToCacheArrayOutputWithContext(ctx context.Context) CacheArrayOutput
type CacheArrayInput ¶
type CacheArrayInput interface { pulumi.Input ToCacheArrayOutput() CacheArrayOutput ToCacheArrayOutputWithContext(context.Context) CacheArrayOutput }
CacheArrayInput is an input type that accepts CacheArray and CacheArrayOutput values. You can construct a concrete instance of `CacheArrayInput` via:
CacheArray{ CacheArgs{...} }
type CacheArrayOutput ¶
type CacheArrayOutput struct{ *pulumi.OutputState }
func (CacheArrayOutput) ElementType ¶
func (CacheArrayOutput) ElementType() reflect.Type
func (CacheArrayOutput) Index ¶
func (o CacheArrayOutput) Index(i pulumi.IntInput) CacheOutput
func (CacheArrayOutput) ToCacheArrayOutput ¶
func (o CacheArrayOutput) ToCacheArrayOutput() CacheArrayOutput
func (CacheArrayOutput) ToCacheArrayOutputWithContext ¶
func (o CacheArrayOutput) ToCacheArrayOutputWithContext(ctx context.Context) CacheArrayOutput
type CacheInput ¶
type CacheInput interface { pulumi.Input ToCacheOutput() CacheOutput ToCacheOutputWithContext(ctx context.Context) CacheOutput }
type CacheMap ¶
type CacheMap map[string]CacheInput
func (CacheMap) ElementType ¶
func (CacheMap) ToCacheMapOutput ¶
func (i CacheMap) ToCacheMapOutput() CacheMapOutput
func (CacheMap) ToCacheMapOutputWithContext ¶
func (i CacheMap) ToCacheMapOutputWithContext(ctx context.Context) CacheMapOutput
type CacheMapInput ¶
type CacheMapInput interface { pulumi.Input ToCacheMapOutput() CacheMapOutput ToCacheMapOutputWithContext(context.Context) CacheMapOutput }
CacheMapInput is an input type that accepts CacheMap and CacheMapOutput values. You can construct a concrete instance of `CacheMapInput` via:
CacheMap{ "key": CacheArgs{...} }
type CacheMapOutput ¶
type CacheMapOutput struct{ *pulumi.OutputState }
func (CacheMapOutput) ElementType ¶
func (CacheMapOutput) ElementType() reflect.Type
func (CacheMapOutput) MapIndex ¶
func (o CacheMapOutput) MapIndex(k pulumi.StringInput) CacheOutput
func (CacheMapOutput) ToCacheMapOutput ¶
func (o CacheMapOutput) ToCacheMapOutput() CacheMapOutput
func (CacheMapOutput) ToCacheMapOutputWithContext ¶
func (o CacheMapOutput) ToCacheMapOutputWithContext(ctx context.Context) CacheMapOutput
type CacheOutput ¶
type CacheOutput struct{ *pulumi.OutputState }
func (CacheOutput) DiskId ¶
func (o CacheOutput) DiskId() pulumi.StringOutput
Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`.
func (CacheOutput) ElementType ¶
func (CacheOutput) ElementType() reflect.Type
func (CacheOutput) GatewayArn ¶
func (o CacheOutput) GatewayArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the gateway.
func (CacheOutput) ToCacheOutput ¶
func (o CacheOutput) ToCacheOutput() CacheOutput
func (CacheOutput) ToCacheOutputWithContext ¶
func (o CacheOutput) ToCacheOutputWithContext(ctx context.Context) CacheOutput
type CacheState ¶
type CacheState struct { // Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`. DiskId pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringPtrInput }
func (CacheState) ElementType ¶
func (CacheState) ElementType() reflect.Type
type CachesIscsiVolume ¶
type CachesIscsiVolume struct { pulumi.CustomResourceState // Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`. Arn pulumi.StringOutput `pulumi:"arn"` // Whether mutual CHAP is enabled for the iSCSI target. ChapEnabled pulumi.BoolOutput `pulumi:"chapEnabled"` // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringOutput `pulumi:"gatewayArn"` // Set to `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. KmsEncrypted pulumi.BoolPtrOutput `pulumi:"kmsEncrypted"` // The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. Is required when `kmsEncrypted` is set. KmsKey pulumi.StringPtrOutput `pulumi:"kmsKey"` // Logical disk number. LunNumber pulumi.IntOutput `pulumi:"lunNumber"` // The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"` // The port used to communicate with iSCSI targets. NetworkInterfacePort pulumi.IntOutput `pulumi:"networkInterfacePort"` // The snapshot ID of the snapshot to restore as the new cached volumeE.g., `snap-1122aabb`. SnapshotId pulumi.StringPtrOutput `pulumi:"snapshotId"` // The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified existing volume's latest recovery point. The `volumeSizeInBytes` value for this new volume must be equal to or larger than the size of the existing volume, in bytes. SourceVolumeArn pulumi.StringPtrOutput `pulumi:"sourceVolumeArn"` // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Target Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/target/iqn.1997-05.com.amazon:TargetName`. TargetArn pulumi.StringOutput `pulumi:"targetArn"` // The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway. TargetName pulumi.StringOutput `pulumi:"targetName"` // Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`. VolumeArn pulumi.StringOutput `pulumi:"volumeArn"` // Volume ID, e.g., `vol-12345678`. VolumeId pulumi.StringOutput `pulumi:"volumeId"` // The size of the volume in bytes. VolumeSizeInBytes pulumi.IntOutput `pulumi:"volumeSizeInBytes"` }
Manages an AWS Storage Gateway cached iSCSI volume.
> **NOTE:** The gateway must have cache added (e.g., via the `storagegateway.Cache` resource) before creating volumes otherwise the Storage Gateway API will return an error.
> **NOTE:** The gateway must have an upload buffer added (e.g., via the `storagegateway.UploadBuffer` resource) before the volume is operational to clients, however the Storage Gateway API will allow volume creation without error in that case and return volume status as `UPLOAD BUFFER NOT CONFIGURED`.
## Example Usage
> **NOTE:** These examples are referencing the `storagegateway.Cache` resource `gatewayArn` attribute to ensure this provider properly adds cache before creating the volume. If you are not using this method, you may need to declare an expicit dependency (e.g. via `dependsOn = [aws_storagegateway_cache.example]`) to ensure proper ordering. ### Create Empty Cached iSCSI Volume
```go 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.NewCachesIscsiVolume(ctx, "example", &storagegateway.CachesIscsiVolumeArgs{ GatewayArn: pulumi.Any(aws_storagegateway_cache.Example.Gateway_arn), NetworkInterfaceId: pulumi.Any(aws_instance.Example.Private_ip), TargetName: pulumi.String("example"), VolumeSizeInBytes: pulumi.Int(5368709120), }) if err != nil { return err } return nil }) }
``` ### Create Cached iSCSI Volume From Snapshot
```go 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.NewCachesIscsiVolume(ctx, "example", &storagegateway.CachesIscsiVolumeArgs{ GatewayArn: pulumi.Any(aws_storagegateway_cache.Example.Gateway_arn), NetworkInterfaceId: pulumi.Any(aws_instance.Example.Private_ip), SnapshotId: pulumi.Any(aws_ebs_snapshot.Example.Id), TargetName: pulumi.String("example"), VolumeSizeInBytes: aws_ebs_snapshot.Example.Volume_size * 1024 * 1024 * 1024, }) if err != nil { return err } return nil }) }
``` ### Create Cached iSCSI Volume From Source Volume
```go 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.NewCachesIscsiVolume(ctx, "example", &storagegateway.CachesIscsiVolumeArgs{ GatewayArn: pulumi.Any(aws_storagegateway_cache.Example.Gateway_arn), NetworkInterfaceId: pulumi.Any(aws_instance.Example.Private_ip), SourceVolumeArn: pulumi.Any(aws_storagegateway_cached_iscsi_volume.Existing.Arn), TargetName: pulumi.String("example"), VolumeSizeInBytes: pulumi.Any(aws_storagegateway_cached_iscsi_volume.Existing.Volume_size_in_bytes), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_storagegateway_cached_iscsi_volume.example id = "arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678" } Using `pulumi import`, import `aws_storagegateway_cached_iscsi_volume` using the volume Amazon Resource Name (ARN). For exampleconsole % pulumi import aws_storagegateway_cached_iscsi_volume.example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678
func GetCachesIscsiVolume ¶
func GetCachesIscsiVolume(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CachesIscsiVolumeState, opts ...pulumi.ResourceOption) (*CachesIscsiVolume, error)
GetCachesIscsiVolume gets an existing CachesIscsiVolume 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 NewCachesIscsiVolume ¶
func NewCachesIscsiVolume(ctx *pulumi.Context, name string, args *CachesIscsiVolumeArgs, opts ...pulumi.ResourceOption) (*CachesIscsiVolume, error)
NewCachesIscsiVolume registers a new resource with the given unique name, arguments, and options.
func (*CachesIscsiVolume) ElementType ¶
func (*CachesIscsiVolume) ElementType() reflect.Type
func (*CachesIscsiVolume) ToCachesIscsiVolumeOutput ¶
func (i *CachesIscsiVolume) ToCachesIscsiVolumeOutput() CachesIscsiVolumeOutput
func (*CachesIscsiVolume) ToCachesIscsiVolumeOutputWithContext ¶
func (i *CachesIscsiVolume) ToCachesIscsiVolumeOutputWithContext(ctx context.Context) CachesIscsiVolumeOutput
type CachesIscsiVolumeArgs ¶
type CachesIscsiVolumeArgs struct { // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringInput // Set to `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. KmsEncrypted pulumi.BoolPtrInput // The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. Is required when `kmsEncrypted` is set. KmsKey pulumi.StringPtrInput // The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. NetworkInterfaceId pulumi.StringInput // The snapshot ID of the snapshot to restore as the new cached volumeE.g., `snap-1122aabb`. SnapshotId pulumi.StringPtrInput // The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified existing volume's latest recovery point. The `volumeSizeInBytes` value for this new volume must be equal to or larger than the size of the existing volume, in bytes. SourceVolumeArn pulumi.StringPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway. TargetName pulumi.StringInput // The size of the volume in bytes. VolumeSizeInBytes pulumi.IntInput }
The set of arguments for constructing a CachesIscsiVolume resource.
func (CachesIscsiVolumeArgs) ElementType ¶
func (CachesIscsiVolumeArgs) ElementType() reflect.Type
type CachesIscsiVolumeArray ¶
type CachesIscsiVolumeArray []CachesIscsiVolumeInput
func (CachesIscsiVolumeArray) ElementType ¶
func (CachesIscsiVolumeArray) ElementType() reflect.Type
func (CachesIscsiVolumeArray) ToCachesIscsiVolumeArrayOutput ¶
func (i CachesIscsiVolumeArray) ToCachesIscsiVolumeArrayOutput() CachesIscsiVolumeArrayOutput
func (CachesIscsiVolumeArray) ToCachesIscsiVolumeArrayOutputWithContext ¶
func (i CachesIscsiVolumeArray) ToCachesIscsiVolumeArrayOutputWithContext(ctx context.Context) CachesIscsiVolumeArrayOutput
type CachesIscsiVolumeArrayInput ¶
type CachesIscsiVolumeArrayInput interface { pulumi.Input ToCachesIscsiVolumeArrayOutput() CachesIscsiVolumeArrayOutput ToCachesIscsiVolumeArrayOutputWithContext(context.Context) CachesIscsiVolumeArrayOutput }
CachesIscsiVolumeArrayInput is an input type that accepts CachesIscsiVolumeArray and CachesIscsiVolumeArrayOutput values. You can construct a concrete instance of `CachesIscsiVolumeArrayInput` via:
CachesIscsiVolumeArray{ CachesIscsiVolumeArgs{...} }
type CachesIscsiVolumeArrayOutput ¶
type CachesIscsiVolumeArrayOutput struct{ *pulumi.OutputState }
func (CachesIscsiVolumeArrayOutput) ElementType ¶
func (CachesIscsiVolumeArrayOutput) ElementType() reflect.Type
func (CachesIscsiVolumeArrayOutput) Index ¶
func (o CachesIscsiVolumeArrayOutput) Index(i pulumi.IntInput) CachesIscsiVolumeOutput
func (CachesIscsiVolumeArrayOutput) ToCachesIscsiVolumeArrayOutput ¶
func (o CachesIscsiVolumeArrayOutput) ToCachesIscsiVolumeArrayOutput() CachesIscsiVolumeArrayOutput
func (CachesIscsiVolumeArrayOutput) ToCachesIscsiVolumeArrayOutputWithContext ¶
func (o CachesIscsiVolumeArrayOutput) ToCachesIscsiVolumeArrayOutputWithContext(ctx context.Context) CachesIscsiVolumeArrayOutput
type CachesIscsiVolumeInput ¶
type CachesIscsiVolumeInput interface { pulumi.Input ToCachesIscsiVolumeOutput() CachesIscsiVolumeOutput ToCachesIscsiVolumeOutputWithContext(ctx context.Context) CachesIscsiVolumeOutput }
type CachesIscsiVolumeMap ¶
type CachesIscsiVolumeMap map[string]CachesIscsiVolumeInput
func (CachesIscsiVolumeMap) ElementType ¶
func (CachesIscsiVolumeMap) ElementType() reflect.Type
func (CachesIscsiVolumeMap) ToCachesIscsiVolumeMapOutput ¶
func (i CachesIscsiVolumeMap) ToCachesIscsiVolumeMapOutput() CachesIscsiVolumeMapOutput
func (CachesIscsiVolumeMap) ToCachesIscsiVolumeMapOutputWithContext ¶
func (i CachesIscsiVolumeMap) ToCachesIscsiVolumeMapOutputWithContext(ctx context.Context) CachesIscsiVolumeMapOutput
type CachesIscsiVolumeMapInput ¶
type CachesIscsiVolumeMapInput interface { pulumi.Input ToCachesIscsiVolumeMapOutput() CachesIscsiVolumeMapOutput ToCachesIscsiVolumeMapOutputWithContext(context.Context) CachesIscsiVolumeMapOutput }
CachesIscsiVolumeMapInput is an input type that accepts CachesIscsiVolumeMap and CachesIscsiVolumeMapOutput values. You can construct a concrete instance of `CachesIscsiVolumeMapInput` via:
CachesIscsiVolumeMap{ "key": CachesIscsiVolumeArgs{...} }
type CachesIscsiVolumeMapOutput ¶
type CachesIscsiVolumeMapOutput struct{ *pulumi.OutputState }
func (CachesIscsiVolumeMapOutput) ElementType ¶
func (CachesIscsiVolumeMapOutput) ElementType() reflect.Type
func (CachesIscsiVolumeMapOutput) MapIndex ¶
func (o CachesIscsiVolumeMapOutput) MapIndex(k pulumi.StringInput) CachesIscsiVolumeOutput
func (CachesIscsiVolumeMapOutput) ToCachesIscsiVolumeMapOutput ¶
func (o CachesIscsiVolumeMapOutput) ToCachesIscsiVolumeMapOutput() CachesIscsiVolumeMapOutput
func (CachesIscsiVolumeMapOutput) ToCachesIscsiVolumeMapOutputWithContext ¶
func (o CachesIscsiVolumeMapOutput) ToCachesIscsiVolumeMapOutputWithContext(ctx context.Context) CachesIscsiVolumeMapOutput
type CachesIscsiVolumeOutput ¶
type CachesIscsiVolumeOutput struct{ *pulumi.OutputState }
func (CachesIscsiVolumeOutput) Arn ¶
func (o CachesIscsiVolumeOutput) Arn() pulumi.StringOutput
Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`.
func (CachesIscsiVolumeOutput) ChapEnabled ¶
func (o CachesIscsiVolumeOutput) ChapEnabled() pulumi.BoolOutput
Whether mutual CHAP is enabled for the iSCSI target.
func (CachesIscsiVolumeOutput) ElementType ¶
func (CachesIscsiVolumeOutput) ElementType() reflect.Type
func (CachesIscsiVolumeOutput) GatewayArn ¶
func (o CachesIscsiVolumeOutput) GatewayArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the gateway.
func (CachesIscsiVolumeOutput) KmsEncrypted ¶
func (o CachesIscsiVolumeOutput) KmsEncrypted() pulumi.BoolPtrOutput
Set to `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3.
func (CachesIscsiVolumeOutput) KmsKey ¶
func (o CachesIscsiVolumeOutput) KmsKey() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. Is required when `kmsEncrypted` is set.
func (CachesIscsiVolumeOutput) LunNumber ¶
func (o CachesIscsiVolumeOutput) LunNumber() pulumi.IntOutput
Logical disk number.
func (CachesIscsiVolumeOutput) NetworkInterfaceId ¶
func (o CachesIscsiVolumeOutput) NetworkInterfaceId() pulumi.StringOutput
The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted.
func (CachesIscsiVolumeOutput) NetworkInterfacePort ¶
func (o CachesIscsiVolumeOutput) NetworkInterfacePort() pulumi.IntOutput
The port used to communicate with iSCSI targets.
func (CachesIscsiVolumeOutput) SnapshotId ¶
func (o CachesIscsiVolumeOutput) SnapshotId() pulumi.StringPtrOutput
The snapshot ID of the snapshot to restore as the new cached volumeE.g., `snap-1122aabb`.
func (CachesIscsiVolumeOutput) SourceVolumeArn ¶
func (o CachesIscsiVolumeOutput) SourceVolumeArn() pulumi.StringPtrOutput
The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified existing volume's latest recovery point. The `volumeSizeInBytes` value for this new volume must be equal to or larger than the size of the existing volume, in bytes.
func (CachesIscsiVolumeOutput) Tags ¶
func (o CachesIscsiVolumeOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (CachesIscsiVolumeOutput) TagsAll ¶
func (o CachesIscsiVolumeOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (CachesIscsiVolumeOutput) TargetArn ¶
func (o CachesIscsiVolumeOutput) TargetArn() pulumi.StringOutput
Target Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/target/iqn.1997-05.com.amazon:TargetName`.
func (CachesIscsiVolumeOutput) TargetName ¶
func (o CachesIscsiVolumeOutput) TargetName() pulumi.StringOutput
The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway.
func (CachesIscsiVolumeOutput) ToCachesIscsiVolumeOutput ¶
func (o CachesIscsiVolumeOutput) ToCachesIscsiVolumeOutput() CachesIscsiVolumeOutput
func (CachesIscsiVolumeOutput) ToCachesIscsiVolumeOutputWithContext ¶
func (o CachesIscsiVolumeOutput) ToCachesIscsiVolumeOutputWithContext(ctx context.Context) CachesIscsiVolumeOutput
func (CachesIscsiVolumeOutput) VolumeArn ¶
func (o CachesIscsiVolumeOutput) VolumeArn() pulumi.StringOutput
Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`.
func (CachesIscsiVolumeOutput) VolumeId ¶
func (o CachesIscsiVolumeOutput) VolumeId() pulumi.StringOutput
Volume ID, e.g., `vol-12345678`.
func (CachesIscsiVolumeOutput) VolumeSizeInBytes ¶
func (o CachesIscsiVolumeOutput) VolumeSizeInBytes() pulumi.IntOutput
The size of the volume in bytes.
type CachesIscsiVolumeState ¶
type CachesIscsiVolumeState struct { // Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`. Arn pulumi.StringPtrInput // Whether mutual CHAP is enabled for the iSCSI target. ChapEnabled pulumi.BoolPtrInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringPtrInput // Set to `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. KmsEncrypted pulumi.BoolPtrInput // The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. Is required when `kmsEncrypted` is set. KmsKey pulumi.StringPtrInput // Logical disk number. LunNumber pulumi.IntPtrInput // The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. NetworkInterfaceId pulumi.StringPtrInput // The port used to communicate with iSCSI targets. NetworkInterfacePort pulumi.IntPtrInput // The snapshot ID of the snapshot to restore as the new cached volumeE.g., `snap-1122aabb`. SnapshotId pulumi.StringPtrInput // The ARN for an existing volume. Specifying this ARN makes the new volume into an exact copy of the specified existing volume's latest recovery point. The `volumeSizeInBytes` value for this new volume must be equal to or larger than the size of the existing volume, in bytes. SourceVolumeArn pulumi.StringPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // Target Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/target/iqn.1997-05.com.amazon:TargetName`. TargetArn pulumi.StringPtrInput // The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway. TargetName pulumi.StringPtrInput // Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`. VolumeArn pulumi.StringPtrInput // Volume ID, e.g., `vol-12345678`. VolumeId pulumi.StringPtrInput // The size of the volume in bytes. VolumeSizeInBytes pulumi.IntPtrInput }
func (CachesIscsiVolumeState) ElementType ¶
func (CachesIscsiVolumeState) ElementType() reflect.Type
type FileSystemAssociation ¶
type FileSystemAssociation struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the newly created file system association. Arn pulumi.StringOutput `pulumi:"arn"` // The Amazon Resource Name (ARN) of the storage used for the audit logs. AuditDestinationArn pulumi.StringPtrOutput `pulumi:"auditDestinationArn"` // Refresh cache information. see Cache Attributes for more details. CacheAttributes FileSystemAssociationCacheAttributesPtrOutput `pulumi:"cacheAttributes"` // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringOutput `pulumi:"gatewayArn"` // The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway. LocationArn pulumi.StringOutput `pulumi:"locationArn"` // The password of the user credential. Password pulumi.StringOutput `pulumi:"password"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The user name of the user credential that has permission to access the root share of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group. Username pulumi.StringOutput `pulumi:"username"` }
Associate an Amazon FSx file system with the FSx File Gateway. After the association process is complete, the file shares on the Amazon FSx file system are available for access through the gateway. This operation only supports the FSx File Gateway type.
[FSx File Gateway requirements](https://docs.aws.amazon.com/filegateway/latest/filefsxw/Requirements.html).
## Example Usage
```go 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.NewFileSystemAssociation(ctx, "example", &storagegateway.FileSystemAssociationArgs{ GatewayArn: pulumi.Any(aws_storagegateway_gateway.Example.Arn), LocationArn: pulumi.Any(aws_fsx_windows_file_system.Example.Arn), Username: pulumi.String("Admin"), Password: pulumi.String("avoid-plaintext-passwords"), AuditDestinationArn: pulumi.Any(aws_s3_bucket.Example.Arn), }) if err != nil { return err } return nil }) }
``` ## Required Services Example
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/fsx" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ssm" "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 { awsServiceStoragegatewayAmiFILES3Latest, err := ssm.LookupParameter(ctx, &ssm.LookupParameterArgs{ Name: "/aws/service/storagegateway/ami/FILE_S3/latest", }, nil) if err != nil { return err } testInstance, err := ec2.NewInstance(ctx, "testInstance", &ec2.InstanceArgs{ Ami: *pulumi.String(awsServiceStoragegatewayAmiFILES3Latest.Value), AssociatePublicIpAddress: pulumi.Bool(true), InstanceType: ec2.InstanceType(data.Aws_ec2_instance_type_offering.Available.Instance_type), VpcSecurityGroupIds: pulumi.StringArray{ aws_security_group.Test.Id, }, SubnetId: pulumi.Any(aws_subnet.Test[0].Id), }, pulumi.DependsOn([]pulumi.Resource{ aws_route.Test, aws_vpc_dhcp_options_association.Test, })) if err != nil { return err } testGateway, err := storagegateway.NewGateway(ctx, "testGateway", &storagegateway.GatewayArgs{ GatewayIpAddress: testInstance.PublicIp, GatewayName: pulumi.String("test-sgw"), GatewayTimezone: pulumi.String("GMT"), GatewayType: pulumi.String("FILE_FSX_SMB"), SmbActiveDirectorySettings: &storagegateway.GatewaySmbActiveDirectorySettingsArgs{ DomainName: pulumi.Any(aws_directory_service_directory.Test.Name), Password: pulumi.Any(aws_directory_service_directory.Test.Password), Username: pulumi.String("Admin"), }, }) if err != nil { return err } testWindowsFileSystem, err := fsx.NewWindowsFileSystem(ctx, "testWindowsFileSystem", &fsx.WindowsFileSystemArgs{ ActiveDirectoryId: pulumi.Any(aws_directory_service_directory.Test.Id), SecurityGroupIds: pulumi.StringArray{ aws_security_group.Test.Id, }, SkipFinalBackup: pulumi.Bool(true), StorageCapacity: pulumi.Int(32), SubnetIds: pulumi.StringArray{ aws_subnet.Test[0].Id, }, ThroughputCapacity: pulumi.Int(8), }) if err != nil { return err } _, err = storagegateway.NewFileSystemAssociation(ctx, "fsx", &storagegateway.FileSystemAssociationArgs{ GatewayArn: testGateway.Arn, LocationArn: testWindowsFileSystem.Arn, Username: pulumi.String("Admin"), Password: pulumi.Any(aws_directory_service_directory.Test.Password), CacheAttributes: &storagegateway.FileSystemAssociationCacheAttributesArgs{ CacheStaleTimeoutInSeconds: pulumi.Int(400), }, AuditDestinationArn: pulumi.Any(aws_cloudwatch_log_group.Test.Arn), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_storagegateway_file_system_association.example id = "arn:aws:storagegateway:us-east-1:123456789012:fs-association/fsa-0DA347732FDB40125" } Using `pulumi import`, import `aws_storagegateway_file_system_association` using the FSx file system association Amazon Resource Name (ARN). For exampleconsole % pulumi import aws_storagegateway_file_system_association.example arn:aws:storagegateway:us-east-1:123456789012:fs-association/fsa-0DA347732FDB40125
func GetFileSystemAssociation ¶
func GetFileSystemAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FileSystemAssociationState, opts ...pulumi.ResourceOption) (*FileSystemAssociation, error)
GetFileSystemAssociation gets an existing FileSystemAssociation 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 NewFileSystemAssociation ¶
func NewFileSystemAssociation(ctx *pulumi.Context, name string, args *FileSystemAssociationArgs, opts ...pulumi.ResourceOption) (*FileSystemAssociation, error)
NewFileSystemAssociation registers a new resource with the given unique name, arguments, and options.
func (*FileSystemAssociation) ElementType ¶
func (*FileSystemAssociation) ElementType() reflect.Type
func (*FileSystemAssociation) ToFileSystemAssociationOutput ¶
func (i *FileSystemAssociation) ToFileSystemAssociationOutput() FileSystemAssociationOutput
func (*FileSystemAssociation) ToFileSystemAssociationOutputWithContext ¶
func (i *FileSystemAssociation) ToFileSystemAssociationOutputWithContext(ctx context.Context) FileSystemAssociationOutput
type FileSystemAssociationArgs ¶
type FileSystemAssociationArgs struct { // The Amazon Resource Name (ARN) of the storage used for the audit logs. AuditDestinationArn pulumi.StringPtrInput // Refresh cache information. see Cache Attributes for more details. CacheAttributes FileSystemAssociationCacheAttributesPtrInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringInput // The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway. LocationArn pulumi.StringInput // The password of the user credential. Password pulumi.StringInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The user name of the user credential that has permission to access the root share of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group. Username pulumi.StringInput }
The set of arguments for constructing a FileSystemAssociation resource.
func (FileSystemAssociationArgs) ElementType ¶
func (FileSystemAssociationArgs) ElementType() reflect.Type
type FileSystemAssociationArray ¶
type FileSystemAssociationArray []FileSystemAssociationInput
func (FileSystemAssociationArray) ElementType ¶
func (FileSystemAssociationArray) ElementType() reflect.Type
func (FileSystemAssociationArray) ToFileSystemAssociationArrayOutput ¶
func (i FileSystemAssociationArray) ToFileSystemAssociationArrayOutput() FileSystemAssociationArrayOutput
func (FileSystemAssociationArray) ToFileSystemAssociationArrayOutputWithContext ¶
func (i FileSystemAssociationArray) ToFileSystemAssociationArrayOutputWithContext(ctx context.Context) FileSystemAssociationArrayOutput
type FileSystemAssociationArrayInput ¶
type FileSystemAssociationArrayInput interface { pulumi.Input ToFileSystemAssociationArrayOutput() FileSystemAssociationArrayOutput ToFileSystemAssociationArrayOutputWithContext(context.Context) FileSystemAssociationArrayOutput }
FileSystemAssociationArrayInput is an input type that accepts FileSystemAssociationArray and FileSystemAssociationArrayOutput values. You can construct a concrete instance of `FileSystemAssociationArrayInput` via:
FileSystemAssociationArray{ FileSystemAssociationArgs{...} }
type FileSystemAssociationArrayOutput ¶
type FileSystemAssociationArrayOutput struct{ *pulumi.OutputState }
func (FileSystemAssociationArrayOutput) ElementType ¶
func (FileSystemAssociationArrayOutput) ElementType() reflect.Type
func (FileSystemAssociationArrayOutput) Index ¶
func (o FileSystemAssociationArrayOutput) Index(i pulumi.IntInput) FileSystemAssociationOutput
func (FileSystemAssociationArrayOutput) ToFileSystemAssociationArrayOutput ¶
func (o FileSystemAssociationArrayOutput) ToFileSystemAssociationArrayOutput() FileSystemAssociationArrayOutput
func (FileSystemAssociationArrayOutput) ToFileSystemAssociationArrayOutputWithContext ¶
func (o FileSystemAssociationArrayOutput) ToFileSystemAssociationArrayOutputWithContext(ctx context.Context) FileSystemAssociationArrayOutput
type FileSystemAssociationCacheAttributes ¶
type FileSystemAssociationCacheAttributes struct { // Refreshes a file share's cache by using Time To Live (TTL). // TTL is the length of time since the last refresh after which access to the directory would cause the file gateway // to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: `0` or `300` to `2592000` seconds (5 minutes to 30 days). Defaults to `0` CacheStaleTimeoutInSeconds *int `pulumi:"cacheStaleTimeoutInSeconds"` }
type FileSystemAssociationCacheAttributesArgs ¶
type FileSystemAssociationCacheAttributesArgs struct { // Refreshes a file share's cache by using Time To Live (TTL). // TTL is the length of time since the last refresh after which access to the directory would cause the file gateway // to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: `0` or `300` to `2592000` seconds (5 minutes to 30 days). Defaults to `0` CacheStaleTimeoutInSeconds pulumi.IntPtrInput `pulumi:"cacheStaleTimeoutInSeconds"` }
func (FileSystemAssociationCacheAttributesArgs) ElementType ¶
func (FileSystemAssociationCacheAttributesArgs) ElementType() reflect.Type
func (FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesOutput ¶
func (i FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesOutput() FileSystemAssociationCacheAttributesOutput
func (FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesOutputWithContext ¶
func (i FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesOutput
func (FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesPtrOutput ¶
func (i FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesPtrOutput() FileSystemAssociationCacheAttributesPtrOutput
func (FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesPtrOutputWithContext ¶
func (i FileSystemAssociationCacheAttributesArgs) ToFileSystemAssociationCacheAttributesPtrOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesPtrOutput
type FileSystemAssociationCacheAttributesInput ¶
type FileSystemAssociationCacheAttributesInput interface { pulumi.Input ToFileSystemAssociationCacheAttributesOutput() FileSystemAssociationCacheAttributesOutput ToFileSystemAssociationCacheAttributesOutputWithContext(context.Context) FileSystemAssociationCacheAttributesOutput }
FileSystemAssociationCacheAttributesInput is an input type that accepts FileSystemAssociationCacheAttributesArgs and FileSystemAssociationCacheAttributesOutput values. You can construct a concrete instance of `FileSystemAssociationCacheAttributesInput` via:
FileSystemAssociationCacheAttributesArgs{...}
type FileSystemAssociationCacheAttributesOutput ¶
type FileSystemAssociationCacheAttributesOutput struct{ *pulumi.OutputState }
func (FileSystemAssociationCacheAttributesOutput) CacheStaleTimeoutInSeconds ¶
func (o FileSystemAssociationCacheAttributesOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: `0` or `300` to `2592000` seconds (5 minutes to 30 days). Defaults to `0`
func (FileSystemAssociationCacheAttributesOutput) ElementType ¶
func (FileSystemAssociationCacheAttributesOutput) ElementType() reflect.Type
func (FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesOutput ¶
func (o FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesOutput() FileSystemAssociationCacheAttributesOutput
func (FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesOutputWithContext ¶
func (o FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesOutput
func (FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesPtrOutput ¶
func (o FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesPtrOutput() FileSystemAssociationCacheAttributesPtrOutput
func (FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesPtrOutputWithContext ¶
func (o FileSystemAssociationCacheAttributesOutput) ToFileSystemAssociationCacheAttributesPtrOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesPtrOutput
type FileSystemAssociationCacheAttributesPtrInput ¶
type FileSystemAssociationCacheAttributesPtrInput interface { pulumi.Input ToFileSystemAssociationCacheAttributesPtrOutput() FileSystemAssociationCacheAttributesPtrOutput ToFileSystemAssociationCacheAttributesPtrOutputWithContext(context.Context) FileSystemAssociationCacheAttributesPtrOutput }
FileSystemAssociationCacheAttributesPtrInput is an input type that accepts FileSystemAssociationCacheAttributesArgs, FileSystemAssociationCacheAttributesPtr and FileSystemAssociationCacheAttributesPtrOutput values. You can construct a concrete instance of `FileSystemAssociationCacheAttributesPtrInput` via:
FileSystemAssociationCacheAttributesArgs{...} or: nil
func FileSystemAssociationCacheAttributesPtr ¶
func FileSystemAssociationCacheAttributesPtr(v *FileSystemAssociationCacheAttributesArgs) FileSystemAssociationCacheAttributesPtrInput
type FileSystemAssociationCacheAttributesPtrOutput ¶
type FileSystemAssociationCacheAttributesPtrOutput struct{ *pulumi.OutputState }
func (FileSystemAssociationCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds ¶
func (o FileSystemAssociationCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: `0` or `300` to `2592000` seconds (5 minutes to 30 days). Defaults to `0`
func (FileSystemAssociationCacheAttributesPtrOutput) ElementType ¶
func (FileSystemAssociationCacheAttributesPtrOutput) ElementType() reflect.Type
func (FileSystemAssociationCacheAttributesPtrOutput) ToFileSystemAssociationCacheAttributesPtrOutput ¶
func (o FileSystemAssociationCacheAttributesPtrOutput) ToFileSystemAssociationCacheAttributesPtrOutput() FileSystemAssociationCacheAttributesPtrOutput
func (FileSystemAssociationCacheAttributesPtrOutput) ToFileSystemAssociationCacheAttributesPtrOutputWithContext ¶
func (o FileSystemAssociationCacheAttributesPtrOutput) ToFileSystemAssociationCacheAttributesPtrOutputWithContext(ctx context.Context) FileSystemAssociationCacheAttributesPtrOutput
type FileSystemAssociationInput ¶
type FileSystemAssociationInput interface { pulumi.Input ToFileSystemAssociationOutput() FileSystemAssociationOutput ToFileSystemAssociationOutputWithContext(ctx context.Context) FileSystemAssociationOutput }
type FileSystemAssociationMap ¶
type FileSystemAssociationMap map[string]FileSystemAssociationInput
func (FileSystemAssociationMap) ElementType ¶
func (FileSystemAssociationMap) ElementType() reflect.Type
func (FileSystemAssociationMap) ToFileSystemAssociationMapOutput ¶
func (i FileSystemAssociationMap) ToFileSystemAssociationMapOutput() FileSystemAssociationMapOutput
func (FileSystemAssociationMap) ToFileSystemAssociationMapOutputWithContext ¶
func (i FileSystemAssociationMap) ToFileSystemAssociationMapOutputWithContext(ctx context.Context) FileSystemAssociationMapOutput
type FileSystemAssociationMapInput ¶
type FileSystemAssociationMapInput interface { pulumi.Input ToFileSystemAssociationMapOutput() FileSystemAssociationMapOutput ToFileSystemAssociationMapOutputWithContext(context.Context) FileSystemAssociationMapOutput }
FileSystemAssociationMapInput is an input type that accepts FileSystemAssociationMap and FileSystemAssociationMapOutput values. You can construct a concrete instance of `FileSystemAssociationMapInput` via:
FileSystemAssociationMap{ "key": FileSystemAssociationArgs{...} }
type FileSystemAssociationMapOutput ¶
type FileSystemAssociationMapOutput struct{ *pulumi.OutputState }
func (FileSystemAssociationMapOutput) ElementType ¶
func (FileSystemAssociationMapOutput) ElementType() reflect.Type
func (FileSystemAssociationMapOutput) MapIndex ¶
func (o FileSystemAssociationMapOutput) MapIndex(k pulumi.StringInput) FileSystemAssociationOutput
func (FileSystemAssociationMapOutput) ToFileSystemAssociationMapOutput ¶
func (o FileSystemAssociationMapOutput) ToFileSystemAssociationMapOutput() FileSystemAssociationMapOutput
func (FileSystemAssociationMapOutput) ToFileSystemAssociationMapOutputWithContext ¶
func (o FileSystemAssociationMapOutput) ToFileSystemAssociationMapOutputWithContext(ctx context.Context) FileSystemAssociationMapOutput
type FileSystemAssociationOutput ¶
type FileSystemAssociationOutput struct{ *pulumi.OutputState }
func (FileSystemAssociationOutput) Arn ¶
func (o FileSystemAssociationOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the newly created file system association.
func (FileSystemAssociationOutput) AuditDestinationArn ¶
func (o FileSystemAssociationOutput) AuditDestinationArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the storage used for the audit logs.
func (FileSystemAssociationOutput) CacheAttributes ¶
func (o FileSystemAssociationOutput) CacheAttributes() FileSystemAssociationCacheAttributesPtrOutput
Refresh cache information. see Cache Attributes for more details.
func (FileSystemAssociationOutput) ElementType ¶
func (FileSystemAssociationOutput) ElementType() reflect.Type
func (FileSystemAssociationOutput) GatewayArn ¶
func (o FileSystemAssociationOutput) GatewayArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the gateway.
func (FileSystemAssociationOutput) LocationArn ¶
func (o FileSystemAssociationOutput) LocationArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway.
func (FileSystemAssociationOutput) Password ¶
func (o FileSystemAssociationOutput) Password() pulumi.StringOutput
The password of the user credential.
func (FileSystemAssociationOutput) Tags ¶
func (o FileSystemAssociationOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (FileSystemAssociationOutput) TagsAll ¶
func (o FileSystemAssociationOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (FileSystemAssociationOutput) ToFileSystemAssociationOutput ¶
func (o FileSystemAssociationOutput) ToFileSystemAssociationOutput() FileSystemAssociationOutput
func (FileSystemAssociationOutput) ToFileSystemAssociationOutputWithContext ¶
func (o FileSystemAssociationOutput) ToFileSystemAssociationOutputWithContext(ctx context.Context) FileSystemAssociationOutput
func (FileSystemAssociationOutput) Username ¶
func (o FileSystemAssociationOutput) Username() pulumi.StringOutput
The user name of the user credential that has permission to access the root share of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group.
type FileSystemAssociationState ¶
type FileSystemAssociationState struct { // Amazon Resource Name (ARN) of the newly created file system association. Arn pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the storage used for the audit logs. AuditDestinationArn pulumi.StringPtrInput // Refresh cache information. see Cache Attributes for more details. CacheAttributes FileSystemAssociationCacheAttributesPtrInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the Amazon FSx file system to associate with the FSx File Gateway. LocationArn pulumi.StringPtrInput // The password of the user credential. Password pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // The user name of the user credential that has permission to access the root share of the Amazon FSx file system. The user account must belong to the Amazon FSx delegated admin user group. Username pulumi.StringPtrInput }
func (FileSystemAssociationState) ElementType ¶
func (FileSystemAssociationState) ElementType() reflect.Type
type Gateway ¶
type Gateway struct { pulumi.CustomResourceState // Gateway activation key during resource creation. Conflicts with `gatewayIpAddress`. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). ActivationKey pulumi.StringOutput `pulumi:"activationKey"` // Amazon Resource Name (ARN) of the gateway. Arn pulumi.StringOutput `pulumi:"arn"` // The average download bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types. AverageDownloadRateLimitInBitsPerSec pulumi.IntPtrOutput `pulumi:"averageDownloadRateLimitInBitsPerSec"` // The average upload bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types. AverageUploadRateLimitInBitsPerSec pulumi.IntPtrOutput `pulumi:"averageUploadRateLimitInBitsPerSec"` // The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway. CloudwatchLogGroupArn pulumi.StringPtrOutput `pulumi:"cloudwatchLogGroupArn"` // The ID of the Amazon EC2 instance that was used to launch the gateway. Ec2InstanceId pulumi.StringOutput `pulumi:"ec2InstanceId"` // The type of endpoint for your gateway. EndpointType pulumi.StringOutput `pulumi:"endpointType"` // Identifier of the gateway. GatewayId pulumi.StringOutput `pulumi:"gatewayId"` // Gateway IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). GatewayIpAddress pulumi.StringOutput `pulumi:"gatewayIpAddress"` // Name of the gateway. GatewayName pulumi.StringOutput `pulumi:"gatewayName"` // An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. GatewayNetworkInterfaces GatewayGatewayNetworkInterfaceArrayOutput `pulumi:"gatewayNetworkInterfaces"` // Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. GatewayTimezone pulumi.StringOutput `pulumi:"gatewayTimezone"` // Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_FSX_SMB`, `FILE_S3`, `STORED`, `VTL`. GatewayType pulumi.StringPtrOutput `pulumi:"gatewayType"` // 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](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). GatewayVpcEndpoint pulumi.StringPtrOutput `pulumi:"gatewayVpcEndpoint"` // The type of hypervisor environment used by the host. HostEnvironment pulumi.StringOutput `pulumi:"hostEnvironment"` // 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. MaintenanceStartTime GatewayMaintenanceStartTimeOutput `pulumi:"maintenanceStartTime"` // 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`. MediumChangerType pulumi.StringPtrOutput `pulumi:"mediumChangerType"` // Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. SmbActiveDirectorySettings GatewaySmbActiveDirectorySettingsPtrOutput `pulumi:"smbActiveDirectorySettings"` SmbFileShareVisibility pulumi.BoolPtrOutput `pulumi:"smbFileShareVisibility"` // Guest password for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `GuestAccess` authentication 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. SmbGuestPassword pulumi.StringPtrOutput `pulumi:"smbGuestPassword"` // Specifies the type of security strategy. Valid values are: `ClientSpecified`, `MandatorySigning`, and `MandatoryEncryption`. See [Setting a Security Level for Your Gateway](https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-gateway-file.html#security-strategy) for more information. SmbSecurityStrategy pulumi.StringOutput `pulumi:"smbSecurityStrategy"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `IBM-ULT3580-TD5`. TapeDriveType pulumi.StringPtrOutput `pulumi:"tapeDriveType"` }
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 connected` errors during resource creation (gateway activation), ensure your gateway instance meets the [Storage Gateway requirements](https://docs.aws.amazon.com/storagegateway/latest/userguide/Requirements.html).
## Example Usage ### Local Cache
```go 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 { testVolumeAttachment, err := ec2.NewVolumeAttachment(ctx, "testVolumeAttachment", &ec2.VolumeAttachmentArgs{ DeviceName: pulumi.String("/dev/xvdb"), VolumeId: pulumi.Any(aws_ebs_volume.Test.Id), InstanceId: pulumi.Any(aws_instance.Test.Id), }) if err != nil { return err } testLocalDisk := testVolumeAttachment.DeviceName.ApplyT(func(deviceName string) (storagegateway.GetLocalDiskResult, error) { return storagegateway.GetLocalDiskOutput(ctx, storagegateway.GetLocalDiskOutputArgs{ DiskNode: deviceName, GatewayArn: aws_storagegateway_gateway.Test.Arn, }, nil), nil }).(storagegateway.GetLocalDiskResultOutput) _, err = storagegateway.NewCache(ctx, "testCache", &storagegateway.CacheArgs{ DiskId: testLocalDisk.ApplyT(func(testLocalDisk storagegateway.GetLocalDiskResult) (*string, error) { return &testLocalDisk.DiskId, nil }).(pulumi.StringPtrOutput), GatewayArn: pulumi.Any(aws_storagegateway_gateway.Test.Arn), }) if err != nil { return err } return nil }) }
``` ### FSx File Gateway
```go 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 }) }
``` ### S3 File Gateway
```go 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 }) }
``` ### Tape Gateway
```go 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 }) }
``` ### Volume Gateway (Cached)
```go 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 }) }
``` ### Volume Gateway (Stored)
```go 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 }) }
```
## Import
terraform import {
to = aws_storagegateway_gateway.example id = "arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678" } Using `pulumi import`, import `aws_storagegateway_gateway` using the gateway Amazon Resource Name (ARN). For exampleconsole % pulumi import aws_storagegateway_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 TODO configuration or use `ignore_changes` to hide the difference. For exampleterraform resource "aws_storagegateway_gateway" "example" {
... other configuration ... ¶
gateway_ip_address = aws_instance.sgw.private_ip
There is no Storage Gateway API for reading gateway_ip_address ¶
lifecycle { ignore_changes = ["gateway_ip_address"] } }
func GetGateway ¶
func GetGateway(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GatewayState, opts ...pulumi.ResourceOption) (*Gateway, error)
GetGateway gets an existing Gateway 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 NewGateway ¶
func NewGateway(ctx *pulumi.Context, name string, args *GatewayArgs, opts ...pulumi.ResourceOption) (*Gateway, error)
NewGateway registers a new resource with the given unique name, arguments, and options.
func (*Gateway) ElementType ¶
func (*Gateway) ToGatewayOutput ¶
func (i *Gateway) ToGatewayOutput() GatewayOutput
func (*Gateway) ToGatewayOutputWithContext ¶
func (i *Gateway) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewayArgs ¶
type GatewayArgs struct { // Gateway activation key during resource creation. Conflicts with `gatewayIpAddress`. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). ActivationKey pulumi.StringPtrInput // The average download bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types. AverageDownloadRateLimitInBitsPerSec pulumi.IntPtrInput // The average upload bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types. AverageUploadRateLimitInBitsPerSec pulumi.IntPtrInput // The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway. CloudwatchLogGroupArn pulumi.StringPtrInput // Gateway IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). GatewayIpAddress pulumi.StringPtrInput // Name of the gateway. GatewayName pulumi.StringInput // Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. GatewayTimezone pulumi.StringInput // Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_FSX_SMB`, `FILE_S3`, `STORED`, `VTL`. GatewayType pulumi.StringPtrInput // 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](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). GatewayVpcEndpoint pulumi.StringPtrInput // 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. MaintenanceStartTime GatewayMaintenanceStartTimePtrInput // 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`. MediumChangerType pulumi.StringPtrInput // Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. SmbActiveDirectorySettings GatewaySmbActiveDirectorySettingsPtrInput SmbFileShareVisibility pulumi.BoolPtrInput // Guest password for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `GuestAccess` authentication 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. SmbGuestPassword pulumi.StringPtrInput // Specifies the type of security strategy. Valid values are: `ClientSpecified`, `MandatorySigning`, and `MandatoryEncryption`. See [Setting a Security Level for Your Gateway](https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-gateway-file.html#security-strategy) for more information. SmbSecurityStrategy pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `IBM-ULT3580-TD5`. TapeDriveType pulumi.StringPtrInput }
The set of arguments for constructing a Gateway resource.
func (GatewayArgs) ElementType ¶
func (GatewayArgs) ElementType() reflect.Type
type GatewayArray ¶
type GatewayArray []GatewayInput
func (GatewayArray) ElementType ¶
func (GatewayArray) ElementType() reflect.Type
func (GatewayArray) ToGatewayArrayOutput ¶
func (i GatewayArray) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArray) ToGatewayArrayOutputWithContext ¶
func (i GatewayArray) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayArrayInput ¶
type GatewayArrayInput interface { pulumi.Input ToGatewayArrayOutput() GatewayArrayOutput ToGatewayArrayOutputWithContext(context.Context) GatewayArrayOutput }
GatewayArrayInput is an input type that accepts GatewayArray and GatewayArrayOutput values. You can construct a concrete instance of `GatewayArrayInput` via:
GatewayArray{ GatewayArgs{...} }
type GatewayArrayOutput ¶
type GatewayArrayOutput struct{ *pulumi.OutputState }
func (GatewayArrayOutput) ElementType ¶
func (GatewayArrayOutput) ElementType() reflect.Type
func (GatewayArrayOutput) Index ¶
func (o GatewayArrayOutput) Index(i pulumi.IntInput) GatewayOutput
func (GatewayArrayOutput) ToGatewayArrayOutput ¶
func (o GatewayArrayOutput) ToGatewayArrayOutput() GatewayArrayOutput
func (GatewayArrayOutput) ToGatewayArrayOutputWithContext ¶
func (o GatewayArrayOutput) ToGatewayArrayOutputWithContext(ctx context.Context) GatewayArrayOutput
type GatewayGatewayNetworkInterface ¶
type GatewayGatewayNetworkInterface struct { // The Internet Protocol version 4 (IPv4) address of the interface. Ipv4Address *string `pulumi:"ipv4Address"` }
type GatewayGatewayNetworkInterfaceArgs ¶
type GatewayGatewayNetworkInterfaceArgs struct { // The Internet Protocol version 4 (IPv4) address of the interface. Ipv4Address pulumi.StringPtrInput `pulumi:"ipv4Address"` }
func (GatewayGatewayNetworkInterfaceArgs) ElementType ¶
func (GatewayGatewayNetworkInterfaceArgs) ElementType() reflect.Type
func (GatewayGatewayNetworkInterfaceArgs) ToGatewayGatewayNetworkInterfaceOutput ¶
func (i GatewayGatewayNetworkInterfaceArgs) ToGatewayGatewayNetworkInterfaceOutput() GatewayGatewayNetworkInterfaceOutput
func (GatewayGatewayNetworkInterfaceArgs) ToGatewayGatewayNetworkInterfaceOutputWithContext ¶
func (i GatewayGatewayNetworkInterfaceArgs) ToGatewayGatewayNetworkInterfaceOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceOutput
type GatewayGatewayNetworkInterfaceArray ¶
type GatewayGatewayNetworkInterfaceArray []GatewayGatewayNetworkInterfaceInput
func (GatewayGatewayNetworkInterfaceArray) ElementType ¶
func (GatewayGatewayNetworkInterfaceArray) ElementType() reflect.Type
func (GatewayGatewayNetworkInterfaceArray) ToGatewayGatewayNetworkInterfaceArrayOutput ¶
func (i GatewayGatewayNetworkInterfaceArray) ToGatewayGatewayNetworkInterfaceArrayOutput() GatewayGatewayNetworkInterfaceArrayOutput
func (GatewayGatewayNetworkInterfaceArray) ToGatewayGatewayNetworkInterfaceArrayOutputWithContext ¶
func (i GatewayGatewayNetworkInterfaceArray) ToGatewayGatewayNetworkInterfaceArrayOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceArrayOutput
type GatewayGatewayNetworkInterfaceArrayInput ¶
type GatewayGatewayNetworkInterfaceArrayInput interface { pulumi.Input ToGatewayGatewayNetworkInterfaceArrayOutput() GatewayGatewayNetworkInterfaceArrayOutput ToGatewayGatewayNetworkInterfaceArrayOutputWithContext(context.Context) GatewayGatewayNetworkInterfaceArrayOutput }
GatewayGatewayNetworkInterfaceArrayInput is an input type that accepts GatewayGatewayNetworkInterfaceArray and GatewayGatewayNetworkInterfaceArrayOutput values. You can construct a concrete instance of `GatewayGatewayNetworkInterfaceArrayInput` via:
GatewayGatewayNetworkInterfaceArray{ GatewayGatewayNetworkInterfaceArgs{...} }
type GatewayGatewayNetworkInterfaceArrayOutput ¶
type GatewayGatewayNetworkInterfaceArrayOutput struct{ *pulumi.OutputState }
func (GatewayGatewayNetworkInterfaceArrayOutput) ElementType ¶
func (GatewayGatewayNetworkInterfaceArrayOutput) ElementType() reflect.Type
func (GatewayGatewayNetworkInterfaceArrayOutput) ToGatewayGatewayNetworkInterfaceArrayOutput ¶
func (o GatewayGatewayNetworkInterfaceArrayOutput) ToGatewayGatewayNetworkInterfaceArrayOutput() GatewayGatewayNetworkInterfaceArrayOutput
func (GatewayGatewayNetworkInterfaceArrayOutput) ToGatewayGatewayNetworkInterfaceArrayOutputWithContext ¶
func (o GatewayGatewayNetworkInterfaceArrayOutput) ToGatewayGatewayNetworkInterfaceArrayOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceArrayOutput
type GatewayGatewayNetworkInterfaceInput ¶
type GatewayGatewayNetworkInterfaceInput interface { pulumi.Input ToGatewayGatewayNetworkInterfaceOutput() GatewayGatewayNetworkInterfaceOutput ToGatewayGatewayNetworkInterfaceOutputWithContext(context.Context) GatewayGatewayNetworkInterfaceOutput }
GatewayGatewayNetworkInterfaceInput is an input type that accepts GatewayGatewayNetworkInterfaceArgs and GatewayGatewayNetworkInterfaceOutput values. You can construct a concrete instance of `GatewayGatewayNetworkInterfaceInput` via:
GatewayGatewayNetworkInterfaceArgs{...}
type GatewayGatewayNetworkInterfaceOutput ¶
type GatewayGatewayNetworkInterfaceOutput struct{ *pulumi.OutputState }
func (GatewayGatewayNetworkInterfaceOutput) ElementType ¶
func (GatewayGatewayNetworkInterfaceOutput) ElementType() reflect.Type
func (GatewayGatewayNetworkInterfaceOutput) Ipv4Address ¶
func (o GatewayGatewayNetworkInterfaceOutput) Ipv4Address() pulumi.StringPtrOutput
The Internet Protocol version 4 (IPv4) address of the interface.
func (GatewayGatewayNetworkInterfaceOutput) ToGatewayGatewayNetworkInterfaceOutput ¶
func (o GatewayGatewayNetworkInterfaceOutput) ToGatewayGatewayNetworkInterfaceOutput() GatewayGatewayNetworkInterfaceOutput
func (GatewayGatewayNetworkInterfaceOutput) ToGatewayGatewayNetworkInterfaceOutputWithContext ¶
func (o GatewayGatewayNetworkInterfaceOutput) ToGatewayGatewayNetworkInterfaceOutputWithContext(ctx context.Context) GatewayGatewayNetworkInterfaceOutput
type GatewayInput ¶
type GatewayInput interface { pulumi.Input ToGatewayOutput() GatewayOutput ToGatewayOutputWithContext(ctx context.Context) GatewayOutput }
type GatewayMaintenanceStartTime ¶
type GatewayMaintenanceStartTime struct { // 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. DayOfMonth *string `pulumi:"dayOfMonth"` // 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. DayOfWeek *string `pulumi:"dayOfWeek"` // 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. HourOfDay int `pulumi:"hourOfDay"` // 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. MinuteOfHour *int `pulumi:"minuteOfHour"` }
type GatewayMaintenanceStartTimeArgs ¶
type GatewayMaintenanceStartTimeArgs struct { // 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. DayOfMonth pulumi.StringPtrInput `pulumi:"dayOfMonth"` // 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. DayOfWeek pulumi.StringPtrInput `pulumi:"dayOfWeek"` // 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. HourOfDay pulumi.IntInput `pulumi:"hourOfDay"` // 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. MinuteOfHour pulumi.IntPtrInput `pulumi:"minuteOfHour"` }
func (GatewayMaintenanceStartTimeArgs) ElementType ¶
func (GatewayMaintenanceStartTimeArgs) ElementType() reflect.Type
func (GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimeOutput ¶
func (i GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimeOutput() GatewayMaintenanceStartTimeOutput
func (GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimeOutputWithContext ¶
func (i GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimeOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimeOutput
func (GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimePtrOutput ¶
func (i GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimePtrOutput() GatewayMaintenanceStartTimePtrOutput
func (GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimePtrOutputWithContext ¶
func (i GatewayMaintenanceStartTimeArgs) ToGatewayMaintenanceStartTimePtrOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimePtrOutput
type GatewayMaintenanceStartTimeInput ¶
type GatewayMaintenanceStartTimeInput interface { pulumi.Input ToGatewayMaintenanceStartTimeOutput() GatewayMaintenanceStartTimeOutput ToGatewayMaintenanceStartTimeOutputWithContext(context.Context) GatewayMaintenanceStartTimeOutput }
GatewayMaintenanceStartTimeInput is an input type that accepts GatewayMaintenanceStartTimeArgs and GatewayMaintenanceStartTimeOutput values. You can construct a concrete instance of `GatewayMaintenanceStartTimeInput` via:
GatewayMaintenanceStartTimeArgs{...}
type GatewayMaintenanceStartTimeOutput ¶
type GatewayMaintenanceStartTimeOutput struct{ *pulumi.OutputState }
func (GatewayMaintenanceStartTimeOutput) DayOfMonth ¶
func (o GatewayMaintenanceStartTimeOutput) DayOfMonth() pulumi.StringPtrOutput
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.
func (GatewayMaintenanceStartTimeOutput) DayOfWeek ¶
func (o GatewayMaintenanceStartTimeOutput) DayOfWeek() pulumi.StringPtrOutput
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.
func (GatewayMaintenanceStartTimeOutput) ElementType ¶
func (GatewayMaintenanceStartTimeOutput) ElementType() reflect.Type
func (GatewayMaintenanceStartTimeOutput) HourOfDay ¶
func (o GatewayMaintenanceStartTimeOutput) HourOfDay() pulumi.IntOutput
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.
func (GatewayMaintenanceStartTimeOutput) MinuteOfHour ¶
func (o GatewayMaintenanceStartTimeOutput) MinuteOfHour() pulumi.IntPtrOutput
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.
func (GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimeOutput ¶
func (o GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimeOutput() GatewayMaintenanceStartTimeOutput
func (GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimeOutputWithContext ¶
func (o GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimeOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimeOutput
func (GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimePtrOutput ¶
func (o GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimePtrOutput() GatewayMaintenanceStartTimePtrOutput
func (GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimePtrOutputWithContext ¶
func (o GatewayMaintenanceStartTimeOutput) ToGatewayMaintenanceStartTimePtrOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimePtrOutput
type GatewayMaintenanceStartTimePtrInput ¶
type GatewayMaintenanceStartTimePtrInput interface { pulumi.Input ToGatewayMaintenanceStartTimePtrOutput() GatewayMaintenanceStartTimePtrOutput ToGatewayMaintenanceStartTimePtrOutputWithContext(context.Context) GatewayMaintenanceStartTimePtrOutput }
GatewayMaintenanceStartTimePtrInput is an input type that accepts GatewayMaintenanceStartTimeArgs, GatewayMaintenanceStartTimePtr and GatewayMaintenanceStartTimePtrOutput values. You can construct a concrete instance of `GatewayMaintenanceStartTimePtrInput` via:
GatewayMaintenanceStartTimeArgs{...} or: nil
func GatewayMaintenanceStartTimePtr ¶
func GatewayMaintenanceStartTimePtr(v *GatewayMaintenanceStartTimeArgs) GatewayMaintenanceStartTimePtrInput
type GatewayMaintenanceStartTimePtrOutput ¶
type GatewayMaintenanceStartTimePtrOutput struct{ *pulumi.OutputState }
func (GatewayMaintenanceStartTimePtrOutput) DayOfMonth ¶
func (o GatewayMaintenanceStartTimePtrOutput) DayOfMonth() pulumi.StringPtrOutput
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.
func (GatewayMaintenanceStartTimePtrOutput) DayOfWeek ¶
func (o GatewayMaintenanceStartTimePtrOutput) DayOfWeek() pulumi.StringPtrOutput
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.
func (GatewayMaintenanceStartTimePtrOutput) ElementType ¶
func (GatewayMaintenanceStartTimePtrOutput) ElementType() reflect.Type
func (GatewayMaintenanceStartTimePtrOutput) HourOfDay ¶
func (o GatewayMaintenanceStartTimePtrOutput) HourOfDay() pulumi.IntPtrOutput
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.
func (GatewayMaintenanceStartTimePtrOutput) MinuteOfHour ¶
func (o GatewayMaintenanceStartTimePtrOutput) MinuteOfHour() pulumi.IntPtrOutput
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.
func (GatewayMaintenanceStartTimePtrOutput) ToGatewayMaintenanceStartTimePtrOutput ¶
func (o GatewayMaintenanceStartTimePtrOutput) ToGatewayMaintenanceStartTimePtrOutput() GatewayMaintenanceStartTimePtrOutput
func (GatewayMaintenanceStartTimePtrOutput) ToGatewayMaintenanceStartTimePtrOutputWithContext ¶
func (o GatewayMaintenanceStartTimePtrOutput) ToGatewayMaintenanceStartTimePtrOutputWithContext(ctx context.Context) GatewayMaintenanceStartTimePtrOutput
type GatewayMap ¶
type GatewayMap map[string]GatewayInput
func (GatewayMap) ElementType ¶
func (GatewayMap) ElementType() reflect.Type
func (GatewayMap) ToGatewayMapOutput ¶
func (i GatewayMap) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMap) ToGatewayMapOutputWithContext ¶
func (i GatewayMap) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayMapInput ¶
type GatewayMapInput interface { pulumi.Input ToGatewayMapOutput() GatewayMapOutput ToGatewayMapOutputWithContext(context.Context) GatewayMapOutput }
GatewayMapInput is an input type that accepts GatewayMap and GatewayMapOutput values. You can construct a concrete instance of `GatewayMapInput` via:
GatewayMap{ "key": GatewayArgs{...} }
type GatewayMapOutput ¶
type GatewayMapOutput struct{ *pulumi.OutputState }
func (GatewayMapOutput) ElementType ¶
func (GatewayMapOutput) ElementType() reflect.Type
func (GatewayMapOutput) MapIndex ¶
func (o GatewayMapOutput) MapIndex(k pulumi.StringInput) GatewayOutput
func (GatewayMapOutput) ToGatewayMapOutput ¶
func (o GatewayMapOutput) ToGatewayMapOutput() GatewayMapOutput
func (GatewayMapOutput) ToGatewayMapOutputWithContext ¶
func (o GatewayMapOutput) ToGatewayMapOutputWithContext(ctx context.Context) GatewayMapOutput
type GatewayOutput ¶
type GatewayOutput struct{ *pulumi.OutputState }
func (GatewayOutput) ActivationKey ¶
func (o GatewayOutput) ActivationKey() pulumi.StringOutput
Gateway activation key during resource creation. Conflicts with `gatewayIpAddress`. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html).
func (GatewayOutput) Arn ¶
func (o GatewayOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the gateway.
func (GatewayOutput) AverageDownloadRateLimitInBitsPerSec ¶
func (o GatewayOutput) AverageDownloadRateLimitInBitsPerSec() pulumi.IntPtrOutput
The average download bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types.
func (GatewayOutput) AverageUploadRateLimitInBitsPerSec ¶
func (o GatewayOutput) AverageUploadRateLimitInBitsPerSec() pulumi.IntPtrOutput
The average upload bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types.
func (GatewayOutput) CloudwatchLogGroupArn ¶
func (o GatewayOutput) CloudwatchLogGroupArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway.
func (GatewayOutput) Ec2InstanceId ¶
func (o GatewayOutput) Ec2InstanceId() pulumi.StringOutput
The ID of the Amazon EC2 instance that was used to launch the gateway.
func (GatewayOutput) ElementType ¶
func (GatewayOutput) ElementType() reflect.Type
func (GatewayOutput) EndpointType ¶
func (o GatewayOutput) EndpointType() pulumi.StringOutput
The type of endpoint for your gateway.
func (GatewayOutput) GatewayId ¶
func (o GatewayOutput) GatewayId() pulumi.StringOutput
Identifier of the gateway.
func (GatewayOutput) GatewayIpAddress ¶
func (o GatewayOutput) GatewayIpAddress() pulumi.StringOutput
Gateway IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html).
func (GatewayOutput) GatewayName ¶
func (o GatewayOutput) GatewayName() pulumi.StringOutput
Name of the gateway.
func (GatewayOutput) GatewayNetworkInterfaces ¶
func (o GatewayOutput) GatewayNetworkInterfaces() GatewayGatewayNetworkInterfaceArrayOutput
An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface.
func (GatewayOutput) GatewayTimezone ¶
func (o GatewayOutput) GatewayTimezone() pulumi.StringOutput
Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule.
func (GatewayOutput) GatewayType ¶
func (o GatewayOutput) GatewayType() pulumi.StringPtrOutput
Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_FSX_SMB`, `FILE_S3`, `STORED`, `VTL`.
func (GatewayOutput) GatewayVpcEndpoint ¶
func (o GatewayOutput) GatewayVpcEndpoint() pulumi.StringPtrOutput
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](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html).
func (GatewayOutput) HostEnvironment ¶
func (o GatewayOutput) HostEnvironment() pulumi.StringOutput
The type of hypervisor environment used by the host.
func (GatewayOutput) MaintenanceStartTime ¶
func (o GatewayOutput) MaintenanceStartTime() GatewayMaintenanceStartTimeOutput
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.
func (GatewayOutput) MediumChangerType ¶
func (o GatewayOutput) MediumChangerType() pulumi.StringPtrOutput
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`.
func (GatewayOutput) SmbActiveDirectorySettings ¶
func (o GatewayOutput) SmbActiveDirectorySettings() GatewaySmbActiveDirectorySettingsPtrOutput
Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below.
func (GatewayOutput) SmbFileShareVisibility ¶
func (o GatewayOutput) SmbFileShareVisibility() pulumi.BoolPtrOutput
Specifies whether the shares on this gateway appear when listing shares.
func (GatewayOutput) SmbGuestPassword ¶
func (o GatewayOutput) SmbGuestPassword() pulumi.StringPtrOutput
Guest password for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `GuestAccess` authentication 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.
func (GatewayOutput) SmbSecurityStrategy ¶
func (o GatewayOutput) SmbSecurityStrategy() pulumi.StringOutput
Specifies the type of security strategy. Valid values are: `ClientSpecified`, `MandatorySigning`, and `MandatoryEncryption`. See [Setting a Security Level for Your Gateway](https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-gateway-file.html#security-strategy) for more information.
func (GatewayOutput) Tags ¶
func (o GatewayOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (GatewayOutput) TagsAll ¶
func (o GatewayOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (GatewayOutput) TapeDriveType ¶
func (o GatewayOutput) TapeDriveType() pulumi.StringPtrOutput
Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `IBM-ULT3580-TD5`.
func (GatewayOutput) ToGatewayOutput ¶
func (o GatewayOutput) ToGatewayOutput() GatewayOutput
func (GatewayOutput) ToGatewayOutputWithContext ¶
func (o GatewayOutput) ToGatewayOutputWithContext(ctx context.Context) GatewayOutput
type GatewaySmbActiveDirectorySettings ¶
type GatewaySmbActiveDirectorySettings struct { ActiveDirectoryStatus *string `pulumi:"activeDirectoryStatus"` // 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`. DomainControllers []string `pulumi:"domainControllers"` // The name of the domain that you want the gateway to join. DomainName string `pulumi:"domainName"` // 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. OrganizationalUnit *string `pulumi:"organizationalUnit"` // The password of the user who has permission to add the gateway to the Active Directory domain. Password string `pulumi:"password"` // Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. TimeoutInSeconds *int `pulumi:"timeoutInSeconds"` // The user name of user who has permission to add the gateway to the Active Directory domain. Username string `pulumi:"username"` }
type GatewaySmbActiveDirectorySettingsArgs ¶
type GatewaySmbActiveDirectorySettingsArgs struct { ActiveDirectoryStatus pulumi.StringPtrInput `pulumi:"activeDirectoryStatus"` // 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`. DomainControllers pulumi.StringArrayInput `pulumi:"domainControllers"` // The name of the domain that you want the gateway to join. DomainName pulumi.StringInput `pulumi:"domainName"` // 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. OrganizationalUnit pulumi.StringPtrInput `pulumi:"organizationalUnit"` // The password of the user who has permission to add the gateway to the Active Directory domain. Password pulumi.StringInput `pulumi:"password"` // Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds. TimeoutInSeconds pulumi.IntPtrInput `pulumi:"timeoutInSeconds"` // The user name of user who has permission to add the gateway to the Active Directory domain. Username pulumi.StringInput `pulumi:"username"` }
func (GatewaySmbActiveDirectorySettingsArgs) ElementType ¶
func (GatewaySmbActiveDirectorySettingsArgs) ElementType() reflect.Type
func (GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsOutput ¶
func (i GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsOutput() GatewaySmbActiveDirectorySettingsOutput
func (GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsOutputWithContext ¶
func (i GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsOutput
func (GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsPtrOutput ¶
func (i GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsPtrOutput() GatewaySmbActiveDirectorySettingsPtrOutput
func (GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext ¶
func (i GatewaySmbActiveDirectorySettingsArgs) ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsPtrOutput
type GatewaySmbActiveDirectorySettingsInput ¶
type GatewaySmbActiveDirectorySettingsInput interface { pulumi.Input ToGatewaySmbActiveDirectorySettingsOutput() GatewaySmbActiveDirectorySettingsOutput ToGatewaySmbActiveDirectorySettingsOutputWithContext(context.Context) GatewaySmbActiveDirectorySettingsOutput }
GatewaySmbActiveDirectorySettingsInput is an input type that accepts GatewaySmbActiveDirectorySettingsArgs and GatewaySmbActiveDirectorySettingsOutput values. You can construct a concrete instance of `GatewaySmbActiveDirectorySettingsInput` via:
GatewaySmbActiveDirectorySettingsArgs{...}
type GatewaySmbActiveDirectorySettingsOutput ¶
type GatewaySmbActiveDirectorySettingsOutput struct{ *pulumi.OutputState }
func (GatewaySmbActiveDirectorySettingsOutput) ActiveDirectoryStatus ¶
func (o GatewaySmbActiveDirectorySettingsOutput) ActiveDirectoryStatus() pulumi.StringPtrOutput
func (GatewaySmbActiveDirectorySettingsOutput) DomainControllers ¶
func (o GatewaySmbActiveDirectorySettingsOutput) DomainControllers() pulumi.StringArrayOutput
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`.
func (GatewaySmbActiveDirectorySettingsOutput) DomainName ¶
func (o GatewaySmbActiveDirectorySettingsOutput) DomainName() pulumi.StringOutput
The name of the domain that you want the gateway to join.
func (GatewaySmbActiveDirectorySettingsOutput) ElementType ¶
func (GatewaySmbActiveDirectorySettingsOutput) ElementType() reflect.Type
func (GatewaySmbActiveDirectorySettingsOutput) OrganizationalUnit ¶
func (o GatewaySmbActiveDirectorySettingsOutput) OrganizationalUnit() pulumi.StringPtrOutput
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.
func (GatewaySmbActiveDirectorySettingsOutput) Password ¶
func (o GatewaySmbActiveDirectorySettingsOutput) Password() pulumi.StringOutput
The password of the user who has permission to add the gateway to the Active Directory domain.
func (GatewaySmbActiveDirectorySettingsOutput) TimeoutInSeconds ¶
func (o GatewaySmbActiveDirectorySettingsOutput) TimeoutInSeconds() pulumi.IntPtrOutput
Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds.
func (GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsOutput ¶
func (o GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsOutput() GatewaySmbActiveDirectorySettingsOutput
func (GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsOutputWithContext ¶
func (o GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsOutput
func (GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsPtrOutput ¶
func (o GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsPtrOutput() GatewaySmbActiveDirectorySettingsPtrOutput
func (GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext ¶
func (o GatewaySmbActiveDirectorySettingsOutput) ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsPtrOutput
func (GatewaySmbActiveDirectorySettingsOutput) Username ¶
func (o GatewaySmbActiveDirectorySettingsOutput) Username() pulumi.StringOutput
The user name of user who has permission to add the gateway to the Active Directory domain.
type GatewaySmbActiveDirectorySettingsPtrInput ¶
type GatewaySmbActiveDirectorySettingsPtrInput interface { pulumi.Input ToGatewaySmbActiveDirectorySettingsPtrOutput() GatewaySmbActiveDirectorySettingsPtrOutput ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext(context.Context) GatewaySmbActiveDirectorySettingsPtrOutput }
GatewaySmbActiveDirectorySettingsPtrInput is an input type that accepts GatewaySmbActiveDirectorySettingsArgs, GatewaySmbActiveDirectorySettingsPtr and GatewaySmbActiveDirectorySettingsPtrOutput values. You can construct a concrete instance of `GatewaySmbActiveDirectorySettingsPtrInput` via:
GatewaySmbActiveDirectorySettingsArgs{...} or: nil
func GatewaySmbActiveDirectorySettingsPtr ¶
func GatewaySmbActiveDirectorySettingsPtr(v *GatewaySmbActiveDirectorySettingsArgs) GatewaySmbActiveDirectorySettingsPtrInput
type GatewaySmbActiveDirectorySettingsPtrOutput ¶
type GatewaySmbActiveDirectorySettingsPtrOutput struct{ *pulumi.OutputState }
func (GatewaySmbActiveDirectorySettingsPtrOutput) ActiveDirectoryStatus ¶
func (o GatewaySmbActiveDirectorySettingsPtrOutput) ActiveDirectoryStatus() pulumi.StringPtrOutput
func (GatewaySmbActiveDirectorySettingsPtrOutput) DomainControllers ¶
func (o GatewaySmbActiveDirectorySettingsPtrOutput) DomainControllers() pulumi.StringArrayOutput
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`.
func (GatewaySmbActiveDirectorySettingsPtrOutput) DomainName ¶
func (o GatewaySmbActiveDirectorySettingsPtrOutput) DomainName() pulumi.StringPtrOutput
The name of the domain that you want the gateway to join.
func (GatewaySmbActiveDirectorySettingsPtrOutput) ElementType ¶
func (GatewaySmbActiveDirectorySettingsPtrOutput) ElementType() reflect.Type
func (GatewaySmbActiveDirectorySettingsPtrOutput) OrganizationalUnit ¶
func (o GatewaySmbActiveDirectorySettingsPtrOutput) OrganizationalUnit() pulumi.StringPtrOutput
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.
func (GatewaySmbActiveDirectorySettingsPtrOutput) Password ¶
func (o GatewaySmbActiveDirectorySettingsPtrOutput) Password() pulumi.StringPtrOutput
The password of the user who has permission to add the gateway to the Active Directory domain.
func (GatewaySmbActiveDirectorySettingsPtrOutput) TimeoutInSeconds ¶
func (o GatewaySmbActiveDirectorySettingsPtrOutput) TimeoutInSeconds() pulumi.IntPtrOutput
Specifies the time in seconds, in which the JoinDomain operation must complete. The default is `20` seconds.
func (GatewaySmbActiveDirectorySettingsPtrOutput) ToGatewaySmbActiveDirectorySettingsPtrOutput ¶
func (o GatewaySmbActiveDirectorySettingsPtrOutput) ToGatewaySmbActiveDirectorySettingsPtrOutput() GatewaySmbActiveDirectorySettingsPtrOutput
func (GatewaySmbActiveDirectorySettingsPtrOutput) ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext ¶
func (o GatewaySmbActiveDirectorySettingsPtrOutput) ToGatewaySmbActiveDirectorySettingsPtrOutputWithContext(ctx context.Context) GatewaySmbActiveDirectorySettingsPtrOutput
func (GatewaySmbActiveDirectorySettingsPtrOutput) Username ¶
func (o GatewaySmbActiveDirectorySettingsPtrOutput) Username() pulumi.StringPtrOutput
The user name of user who has permission to add the gateway to the Active Directory domain.
type GatewayState ¶
type GatewayState struct { // Gateway activation key during resource creation. Conflicts with `gatewayIpAddress`. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). ActivationKey pulumi.StringPtrInput // Amazon Resource Name (ARN) of the gateway. Arn pulumi.StringPtrInput // The average download bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types. AverageDownloadRateLimitInBitsPerSec pulumi.IntPtrInput // The average upload bandwidth rate limit in bits per second. This is supported for the `CACHED`, `STORED`, and `VTL` gateway types. AverageUploadRateLimitInBitsPerSec pulumi.IntPtrInput // The Amazon Resource Name (ARN) of the Amazon CloudWatch log group to use to monitor and log events in the gateway. CloudwatchLogGroupArn pulumi.StringPtrInput // The ID of the Amazon EC2 instance that was used to launch the gateway. Ec2InstanceId pulumi.StringPtrInput // The type of endpoint for your gateway. EndpointType pulumi.StringPtrInput // Identifier of the gateway. GatewayId pulumi.StringPtrInput // Gateway IP address to retrieve activation key during resource creation. Conflicts with `activationKey`. Gateway must be accessible on port 80 from where this provider is running. Additional information is available in the [Storage Gateway User Guide](https://docs.aws.amazon.com/storagegateway/latest/userguide/get-activation-key.html). GatewayIpAddress pulumi.StringPtrInput // Name of the gateway. GatewayName pulumi.StringPtrInput // An array that contains descriptions of the gateway network interfaces. See Gateway Network Interface. GatewayNetworkInterfaces GatewayGatewayNetworkInterfaceArrayInput // Time zone for the gateway. The time zone is of the format "GMT", "GMT-hr:mm", or "GMT+hr:mm". For example, `GMT-4:00` indicates the time is 4 hours behind GMT. The time zone is used, for example, for scheduling snapshots and your gateway's maintenance schedule. GatewayTimezone pulumi.StringPtrInput // Type of the gateway. The default value is `STORED`. Valid values: `CACHED`, `FILE_FSX_SMB`, `FILE_S3`, `STORED`, `VTL`. GatewayType pulumi.StringPtrInput // 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](https://docs.aws.amazon.com/storagegateway/latest/userguide/gateway-private-link.html). GatewayVpcEndpoint pulumi.StringPtrInput // The type of hypervisor environment used by the host. HostEnvironment pulumi.StringPtrInput // 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. MaintenanceStartTime GatewayMaintenanceStartTimePtrInput // 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`. MediumChangerType pulumi.StringPtrInput // Nested argument with Active Directory domain join information for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `ActiveDirectory` authentication SMB file shares. More details below. SmbActiveDirectorySettings GatewaySmbActiveDirectorySettingsPtrInput SmbFileShareVisibility pulumi.BoolPtrInput // Guest password for Server Message Block (SMB) file shares. Only valid for `FILE_S3` and `FILE_FSX_SMB` gateway types. Must be set before creating `GuestAccess` authentication 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. SmbGuestPassword pulumi.StringPtrInput // Specifies the type of security strategy. Valid values are: `ClientSpecified`, `MandatorySigning`, and `MandatoryEncryption`. See [Setting a Security Level for Your Gateway](https://docs.aws.amazon.com/storagegateway/latest/userguide/managing-gateway-file.html#security-strategy) for more information. SmbSecurityStrategy pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // Type of tape drive to use for tape gateway. This provider cannot detect drift of this argument. Valid values: `IBM-ULT3580-TD5`. TapeDriveType pulumi.StringPtrInput }
func (GatewayState) ElementType ¶
func (GatewayState) ElementType() reflect.Type
type GetLocalDiskArgs ¶
type GetLocalDiskArgs struct { // Device node of the local disk to retrieve. For example, `/dev/sdb`. DiskNode *string `pulumi:"diskNode"` // Device path of the local disk to retrieve. For example, `/dev/xvdb` or `/dev/nvme1n1`. DiskPath *string `pulumi:"diskPath"` // ARN of the gateway. GatewayArn string `pulumi:"gatewayArn"` }
A collection of arguments for invoking getLocalDisk.
type GetLocalDiskOutputArgs ¶
type GetLocalDiskOutputArgs struct { // Device node of the local disk to retrieve. For example, `/dev/sdb`. DiskNode pulumi.StringPtrInput `pulumi:"diskNode"` // Device path of the local disk to retrieve. For example, `/dev/xvdb` or `/dev/nvme1n1`. DiskPath pulumi.StringPtrInput `pulumi:"diskPath"` // ARN of the gateway. GatewayArn pulumi.StringInput `pulumi:"gatewayArn"` }
A collection of arguments for invoking getLocalDisk.
func (GetLocalDiskOutputArgs) ElementType ¶
func (GetLocalDiskOutputArgs) ElementType() reflect.Type
type GetLocalDiskResult ¶
type GetLocalDiskResult struct { // Disk identifierE.g., `pci-0000:03:00.0-scsi-0:0:0:0` DiskId string `pulumi:"diskId"` DiskNode string `pulumi:"diskNode"` DiskPath string `pulumi:"diskPath"` GatewayArn string `pulumi:"gatewayArn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getLocalDisk.
func GetLocalDisk ¶
func GetLocalDisk(ctx *pulumi.Context, args *GetLocalDiskArgs, opts ...pulumi.InvokeOption) (*GetLocalDiskResult, error)
Retrieve information about a Storage Gateway local disk. The disk identifier is useful for adding the disk as a cache or upload buffer to a gateway.
## Example Usage
```go 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.GetLocalDisk(ctx, &storagegateway.GetLocalDiskArgs{ DiskPath: pulumi.StringRef(aws_volume_attachment.Test.Device_name), GatewayArn: aws_storagegateway_gateway.Test.Arn, }, nil) if err != nil { return err } return nil }) }
```
type GetLocalDiskResultOutput ¶
type GetLocalDiskResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLocalDisk.
func GetLocalDiskOutput ¶
func GetLocalDiskOutput(ctx *pulumi.Context, args GetLocalDiskOutputArgs, opts ...pulumi.InvokeOption) GetLocalDiskResultOutput
func (GetLocalDiskResultOutput) DiskId ¶
func (o GetLocalDiskResultOutput) DiskId() pulumi.StringOutput
Disk identifierE.g., `pci-0000:03:00.0-scsi-0:0:0:0`
func (GetLocalDiskResultOutput) DiskNode ¶
func (o GetLocalDiskResultOutput) DiskNode() pulumi.StringOutput
func (GetLocalDiskResultOutput) DiskPath ¶
func (o GetLocalDiskResultOutput) DiskPath() pulumi.StringOutput
func (GetLocalDiskResultOutput) ElementType ¶
func (GetLocalDiskResultOutput) ElementType() reflect.Type
func (GetLocalDiskResultOutput) GatewayArn ¶
func (o GetLocalDiskResultOutput) GatewayArn() pulumi.StringOutput
func (GetLocalDiskResultOutput) Id ¶
func (o GetLocalDiskResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLocalDiskResultOutput) ToGetLocalDiskResultOutput ¶
func (o GetLocalDiskResultOutput) ToGetLocalDiskResultOutput() GetLocalDiskResultOutput
func (GetLocalDiskResultOutput) ToGetLocalDiskResultOutputWithContext ¶
func (o GetLocalDiskResultOutput) ToGetLocalDiskResultOutputWithContext(ctx context.Context) GetLocalDiskResultOutput
type NfsFileShare ¶
type NfsFileShare struct { pulumi.StringOutput `pulumi:"arn"` AuditDestinationArn pulumi.StringPtrOutput `pulumi:"auditDestinationArn"` BucketRegion pulumi.StringPtrOutput `pulumi:"bucketRegion"` CacheAttributes NfsFileShareCacheAttributesPtrOutput `pulumi:"cacheAttributes"` ClientLists pulumi.StringArrayOutput `pulumi:"clientLists"` DefaultStorageClass pulumi.StringPtrOutput `pulumi:"defaultStorageClass"` FileShareName pulumi.StringOutput `pulumi:"fileShareName"` FileshareId pulumi.StringOutput `pulumi:"fileshareId"` GatewayArn pulumi.StringOutput `pulumi:"gatewayArn"` GuessMimeTypeEnabled pulumi.BoolPtrOutput `pulumi:"guessMimeTypeEnabled"` KmsEncrypted pulumi.BoolPtrOutput `pulumi:"kmsEncrypted"` KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"` LocationArn pulumi.StringOutput `pulumi:"locationArn"` NfsFileShareDefaults NfsFileShareNfsFileShareDefaultsPtrOutput `pulumi:"nfsFileShareDefaults"` NotificationPolicy pulumi.StringPtrOutput `pulumi:"notificationPolicy"` ObjectAcl pulumi.StringPtrOutput `pulumi:"objectAcl"` Path pulumi.StringOutput `pulumi:"path"` ReadOnly pulumi.BoolPtrOutput `pulumi:"readOnly"` RequesterPays pulumi.BoolPtrOutput `pulumi:"requesterPays"` RoleArn pulumi.StringOutput `pulumi:"roleArn"` Squash pulumi.StringPtrOutput `pulumi:"squash"` Tags pulumi.StringMapOutput `pulumi:"tags"` TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` VpcEndpointDnsName pulumi.StringPtrOutput `pulumi:"vpcEndpointDnsName"` }Arn
Manages an AWS Storage Gateway NFS File Share.
## Example Usage
```go 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.NewNfsFileShare(ctx, "example", &storagegateway.NfsFileShareArgs{ ClientLists: pulumi.StringArray{ pulumi.String("0.0.0.0/0"), }, GatewayArn: pulumi.Any(aws_storagegateway_gateway.Example.Arn), LocationArn: pulumi.Any(aws_s3_bucket.Example.Arn), RoleArn: pulumi.Any(aws_iam_role.Example.Arn), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_storagegateway_nfs_file_share.example id = "arn:aws:storagegateway:us-east-1:123456789012:share/share-12345678" } Using `pulumi import`, import `aws_storagegateway_nfs_file_share` using the NFS File Share Amazon Resource Name (ARN). For exampleconsole % pulumi import aws_storagegateway_nfs_file_share.example arn:aws:storagegateway:us-east-1:123456789012:share/share-12345678
func GetNfsFileShare ¶
func GetNfsFileShare(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NfsFileShareState, opts ...pulumi.ResourceOption) (*NfsFileShare, error)
GetNfsFileShare gets an existing NfsFileShare 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 NewNfsFileShare ¶
func NewNfsFileShare(ctx *pulumi.Context, name string, args *NfsFileShareArgs, opts ...pulumi.ResourceOption) (*NfsFileShare, error)
NewNfsFileShare registers a new resource with the given unique name, arguments, and options.
func (*NfsFileShare) ElementType ¶
func (*NfsFileShare) ElementType() reflect.Type
func (*NfsFileShare) ToNfsFileShareOutput ¶
func (i *NfsFileShare) ToNfsFileShareOutput() NfsFileShareOutput
func (*NfsFileShare) ToNfsFileShareOutputWithContext ¶
func (i *NfsFileShare) ToNfsFileShareOutputWithContext(ctx context.Context) NfsFileShareOutput
type NfsFileShareArgs ¶
type NfsFileShareArgs struct { pulumi.StringPtrInput BucketRegion pulumi.StringPtrInput CacheAttributes NfsFileShareCacheAttributesPtrInput ClientLists pulumi.StringArrayInput DefaultStorageClass pulumi.StringPtrInput FileShareName pulumi.StringPtrInput GatewayArn pulumi.StringInput GuessMimeTypeEnabled pulumi.BoolPtrInput KmsEncrypted pulumi.BoolPtrInput KmsKeyArn pulumi.StringPtrInput LocationArn pulumi.StringInput NfsFileShareDefaults NfsFileShareNfsFileShareDefaultsPtrInput NotificationPolicy pulumi.StringPtrInput ObjectAcl pulumi.StringPtrInput ReadOnly pulumi.BoolPtrInput RequesterPays pulumi.BoolPtrInput RoleArn pulumi.StringInput Squash pulumi.StringPtrInput Tags pulumi.StringMapInput VpcEndpointDnsName pulumi.StringPtrInput }AuditDestinationArn
The set of arguments for constructing a NfsFileShare resource.
func (NfsFileShareArgs) ElementType ¶
func (NfsFileShareArgs) ElementType() reflect.Type
type NfsFileShareArray ¶
type NfsFileShareArray []NfsFileShareInput
func (NfsFileShareArray) ElementType ¶
func (NfsFileShareArray) ElementType() reflect.Type
func (NfsFileShareArray) ToNfsFileShareArrayOutput ¶
func (i NfsFileShareArray) ToNfsFileShareArrayOutput() NfsFileShareArrayOutput
func (NfsFileShareArray) ToNfsFileShareArrayOutputWithContext ¶
func (i NfsFileShareArray) ToNfsFileShareArrayOutputWithContext(ctx context.Context) NfsFileShareArrayOutput
type NfsFileShareArrayInput ¶
NfsFileShareArrayInput is an input type that accepts NfsFileShareArray and NfsFileShareArrayOutput values. You can construct a concrete instance of `NfsFileShareArrayInput` via:
NfsFileShareArray{ NfsFileShareArgs{...} }
type NfsFileShareArrayOutput ¶
func (NfsFileShareArrayOutput) ElementType ¶
func (NfsFileShareArrayOutput) ElementType() reflect.Type
func (NfsFileShareArrayOutput) Index ¶
func (o NfsFileShareArrayOutput) Index(i pulumi.IntInput) NfsFileShareOutput
func (NfsFileShareArrayOutput) ToNfsFileShareArrayOutput ¶
func (o NfsFileShareArrayOutput) ToNfsFileShareArrayOutput() NfsFileShareArrayOutput
func (NfsFileShareArrayOutput) ToNfsFileShareArrayOutputWithContext ¶
func (o NfsFileShareArrayOutput) ToNfsFileShareArrayOutputWithContext(ctx context.Context) NfsFileShareArrayOutput
type NfsFileShareCacheAttributes ¶
type NfsFileShareCacheAttributes struct { // TTL is the length of time since the last refresh after which access to the directory would cause the file gateway // to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days) CacheStaleTimeoutInSeconds *int `pulumi:"cacheStaleTimeoutInSeconds"` }
type NfsFileShareCacheAttributesArgs ¶
type NfsFileShareCacheAttributesArgs struct { // TTL is the length of time since the last refresh after which access to the directory would cause the file gateway // to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days) CacheStaleTimeoutInSeconds pulumi.IntPtrInput `pulumi:"cacheStaleTimeoutInSeconds"` }
func (NfsFileShareCacheAttributesArgs) ElementType ¶
func (NfsFileShareCacheAttributesArgs) ElementType() reflect.Type
func (NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesOutput ¶
func (i NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesOutput() NfsFileShareCacheAttributesOutput
func (NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesOutputWithContext ¶
func (i NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesOutput
func (NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesPtrOutput ¶
func (i NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesPtrOutput() NfsFileShareCacheAttributesPtrOutput
func (NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesPtrOutputWithContext ¶
func (i NfsFileShareCacheAttributesArgs) ToNfsFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesPtrOutput
type NfsFileShareCacheAttributesInput ¶
NfsFileShareCacheAttributesInput is an input type that accepts NfsFileShareCacheAttributesArgs and NfsFileShareCacheAttributesOutput values. You can construct a concrete instance of `NfsFileShareCacheAttributesInput` via:
NfsFileShareCacheAttributesArgs{...}
type NfsFileShareCacheAttributesOutput ¶
func (NfsFileShareCacheAttributesOutput) CacheStaleTimeoutInSeconds ¶
func (o NfsFileShareCacheAttributesOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
func (NfsFileShareCacheAttributesOutput) ElementType ¶
func (NfsFileShareCacheAttributesOutput) ElementType() reflect.Type
func (NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesOutput ¶
func (o NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesOutput() NfsFileShareCacheAttributesOutput
func (NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesOutputWithContext ¶
func (o NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesOutput
func (NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesPtrOutput ¶
func (o NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesPtrOutput() NfsFileShareCacheAttributesPtrOutput
func (NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesPtrOutputWithContext ¶
func (o NfsFileShareCacheAttributesOutput) ToNfsFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesPtrOutput
type NfsFileShareCacheAttributesPtrInput ¶
NfsFileShareCacheAttributesPtrInput is an input type that accepts NfsFileShareCacheAttributesArgs, NfsFileShareCacheAttributesPtr and NfsFileShareCacheAttributesPtrOutput values. You can construct a concrete instance of `NfsFileShareCacheAttributesPtrInput` via:
NfsFileShareCacheAttributesArgs{...} or: nil
func NfsFileShareCacheAttributesPtr ¶
func NfsFileShareCacheAttributesPtr(v *NfsFileShareCacheAttributesArgs) NfsFileShareCacheAttributesPtrInput
type NfsFileShareCacheAttributesPtrOutput ¶
func (NfsFileShareCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds ¶
func (o NfsFileShareCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
func (NfsFileShareCacheAttributesPtrOutput) ElementType ¶
func (NfsFileShareCacheAttributesPtrOutput) ElementType() reflect.Type
func (NfsFileShareCacheAttributesPtrOutput) ToNfsFileShareCacheAttributesPtrOutput ¶
func (o NfsFileShareCacheAttributesPtrOutput) ToNfsFileShareCacheAttributesPtrOutput() NfsFileShareCacheAttributesPtrOutput
func (NfsFileShareCacheAttributesPtrOutput) ToNfsFileShareCacheAttributesPtrOutputWithContext ¶
func (o NfsFileShareCacheAttributesPtrOutput) ToNfsFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) NfsFileShareCacheAttributesPtrOutput
type NfsFileShareInput ¶
type NfsFileShareMap ¶
type NfsFileShareMap map[string]NfsFileShareInput
func (NfsFileShareMap) ElementType ¶
func (NfsFileShareMap) ElementType() reflect.Type
func (NfsFileShareMap) ToNfsFileShareMapOutput ¶
func (i NfsFileShareMap) ToNfsFileShareMapOutput() NfsFileShareMapOutput
func (NfsFileShareMap) ToNfsFileShareMapOutputWithContext ¶
func (i NfsFileShareMap) ToNfsFileShareMapOutputWithContext(ctx context.Context) NfsFileShareMapOutput
type NfsFileShareMapInput ¶
NfsFileShareMapInput is an input type that accepts NfsFileShareMap and NfsFileShareMapOutput values. You can construct a concrete instance of `NfsFileShareMapInput` via:
NfsFileShareMap{ "key": NfsFileShareArgs{...} }
type NfsFileShareMapOutput ¶
func (NfsFileShareMapOutput) ElementType ¶
func (NfsFileShareMapOutput) ElementType() reflect.Type
func (NfsFileShareMapOutput) MapIndex ¶
func (o NfsFileShareMapOutput) MapIndex(k pulumi.StringInput) NfsFileShareOutput
func (NfsFileShareMapOutput) ToNfsFileShareMapOutput ¶
func (o NfsFileShareMapOutput) ToNfsFileShareMapOutput() NfsFileShareMapOutput
func (NfsFileShareMapOutput) ToNfsFileShareMapOutputWithContext ¶
func (o NfsFileShareMapOutput) ToNfsFileShareMapOutputWithContext(ctx context.Context) NfsFileShareMapOutput
type NfsFileShareNfsFileShareDefaultsArgs ¶
type NfsFileShareNfsFileShareDefaultsArgs struct { pulumi.StringPtrInput `pulumi:"directoryMode"` FileMode pulumi.StringPtrInput `pulumi:"fileMode"` GroupId pulumi.StringPtrInput `pulumi:"groupId"` OwnerId pulumi.StringPtrInput `pulumi:"ownerId"` }DirectoryMode
func (NfsFileShareNfsFileShareDefaultsArgs) ElementType ¶
func (NfsFileShareNfsFileShareDefaultsArgs) ElementType() reflect.Type
func (NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsOutput ¶
func (i NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsOutput() NfsFileShareNfsFileShareDefaultsOutput
func (NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsOutputWithContext ¶
func (i NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsOutput
func (NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsPtrOutput ¶
func (i NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsPtrOutput() NfsFileShareNfsFileShareDefaultsPtrOutput
func (NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsPtrOutputWithContext ¶
func (i NfsFileShareNfsFileShareDefaultsArgs) ToNfsFileShareNfsFileShareDefaultsPtrOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsPtrOutput
type NfsFileShareNfsFileShareDefaultsInput ¶
NfsFileShareNfsFileShareDefaultsInput is an input type that accepts NfsFileShareNfsFileShareDefaultsArgs and NfsFileShareNfsFileShareDefaultsOutput values. You can construct a concrete instance of `NfsFileShareNfsFileShareDefaultsInput` via:
NfsFileShareNfsFileShareDefaultsArgs{...}
type NfsFileShareNfsFileShareDefaultsOutput ¶
func (NfsFileShareNfsFileShareDefaultsOutput) DirectoryMode ¶
func (o NfsFileShareNfsFileShareDefaultsOutput) DirectoryMode() pulumi.StringPtrOutput
The Unix directory mode in the string form "nnnn". Defaults to `"0777"`.
func (NfsFileShareNfsFileShareDefaultsOutput) ElementType ¶
func (NfsFileShareNfsFileShareDefaultsOutput) ElementType() reflect.Type
func (NfsFileShareNfsFileShareDefaultsOutput) FileMode ¶
func (o NfsFileShareNfsFileShareDefaultsOutput) FileMode() pulumi.StringPtrOutput
The Unix file mode in the string form "nnnn". Defaults to `"0666"`.
func (NfsFileShareNfsFileShareDefaultsOutput) GroupId ¶
func (o NfsFileShareNfsFileShareDefaultsOutput) GroupId() pulumi.StringPtrOutput
The default group ID for the file share (unless the files have another group ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
func (NfsFileShareNfsFileShareDefaultsOutput) OwnerId ¶
func (o NfsFileShareNfsFileShareDefaultsOutput) OwnerId() pulumi.StringPtrOutput
The default owner ID for the file share (unless the files have another owner ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
func (NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsOutput ¶
func (o NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsOutput() NfsFileShareNfsFileShareDefaultsOutput
func (NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsOutputWithContext ¶
func (o NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsOutput
func (NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutput ¶
func (o NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutput() NfsFileShareNfsFileShareDefaultsPtrOutput
func (NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutputWithContext ¶
func (o NfsFileShareNfsFileShareDefaultsOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsPtrOutput
type NfsFileShareNfsFileShareDefaultsPtrInput ¶
NfsFileShareNfsFileShareDefaultsPtrInput is an input type that accepts NfsFileShareNfsFileShareDefaultsArgs, NfsFileShareNfsFileShareDefaultsPtr and NfsFileShareNfsFileShareDefaultsPtrOutput values. You can construct a concrete instance of `NfsFileShareNfsFileShareDefaultsPtrInput` via:
NfsFileShareNfsFileShareDefaultsArgs{...} or: nil
func NfsFileShareNfsFileShareDefaultsPtr ¶
func NfsFileShareNfsFileShareDefaultsPtr(v *NfsFileShareNfsFileShareDefaultsArgs) NfsFileShareNfsFileShareDefaultsPtrInput
type NfsFileShareNfsFileShareDefaultsPtrOutput ¶
func (NfsFileShareNfsFileShareDefaultsPtrOutput) DirectoryMode ¶
func (o NfsFileShareNfsFileShareDefaultsPtrOutput) DirectoryMode() pulumi.StringPtrOutput
The Unix directory mode in the string form "nnnn". Defaults to `"0777"`.
func (NfsFileShareNfsFileShareDefaultsPtrOutput) ElementType ¶
func (NfsFileShareNfsFileShareDefaultsPtrOutput) ElementType() reflect.Type
func (NfsFileShareNfsFileShareDefaultsPtrOutput) FileMode ¶
func (o NfsFileShareNfsFileShareDefaultsPtrOutput) FileMode() pulumi.StringPtrOutput
The Unix file mode in the string form "nnnn". Defaults to `"0666"`.
func (NfsFileShareNfsFileShareDefaultsPtrOutput) GroupId ¶
func (o NfsFileShareNfsFileShareDefaultsPtrOutput) GroupId() pulumi.StringPtrOutput
The default group ID for the file share (unless the files have another group ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
func (NfsFileShareNfsFileShareDefaultsPtrOutput) OwnerId ¶
func (o NfsFileShareNfsFileShareDefaultsPtrOutput) OwnerId() pulumi.StringPtrOutput
The default owner ID for the file share (unless the files have another owner ID specified). Defaults to `65534` (`nfsnobody`). Valid values: `0` through `4294967294`.
func (NfsFileShareNfsFileShareDefaultsPtrOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutput ¶
func (o NfsFileShareNfsFileShareDefaultsPtrOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutput() NfsFileShareNfsFileShareDefaultsPtrOutput
func (NfsFileShareNfsFileShareDefaultsPtrOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutputWithContext ¶
func (o NfsFileShareNfsFileShareDefaultsPtrOutput) ToNfsFileShareNfsFileShareDefaultsPtrOutputWithContext(ctx context.Context) NfsFileShareNfsFileShareDefaultsPtrOutput
type NfsFileShareOutput ¶
func (NfsFileShareOutput) Arn ¶
func (o NfsFileShareOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the NFS File Share.
func (NfsFileShareOutput) AuditDestinationArn ¶
func (o NfsFileShareOutput) AuditDestinationArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the storage used for audit logs.
func (NfsFileShareOutput) BucketRegion ¶
func (o NfsFileShareOutput) BucketRegion() pulumi.StringPtrOutput
The region of the S3 bucket used by the file share. Required when specifying `vpcEndpointDnsName`.
func (NfsFileShareOutput) CacheAttributes ¶
func (o NfsFileShareOutput) CacheAttributes() NfsFileShareCacheAttributesPtrOutput
Refresh cache information. see Cache Attributes for more details.
func (NfsFileShareOutput) ClientLists ¶
func (o NfsFileShareOutput) ClientLists() pulumi.StringArrayOutput
The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to `["0.0.0.0/0"]` to not limit access. Minimum 1 item. Maximum 100 items.
func (NfsFileShareOutput) DefaultStorageClass ¶
func (o NfsFileShareOutput) DefaultStorageClass() pulumi.StringPtrOutput
The default [storage class](https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateNFSFileShare.html#StorageGateway-CreateNFSFileShare-request-DefaultStorageClass) for objects put into an Amazon S3 bucket by the file gateway. Defaults to `S3_STANDARD`.
func (NfsFileShareOutput) ElementType ¶
func (NfsFileShareOutput) ElementType() reflect.Type
func (NfsFileShareOutput) FileShareName ¶
func (o NfsFileShareOutput) FileShareName() pulumi.StringOutput
The name of the file share. Must be set if an S3 prefix name is set in `locationArn`.
func (NfsFileShareOutput) FileshareId ¶
func (o NfsFileShareOutput) FileshareId() pulumi.StringOutput
ID of the NFS File Share.
func (NfsFileShareOutput) GatewayArn ¶
func (o NfsFileShareOutput) GatewayArn() pulumi.StringOutput
Amazon Resource Name (ARN) of the file gateway.
func (NfsFileShareOutput) GuessMimeTypeEnabled ¶
func (o NfsFileShareOutput) GuessMimeTypeEnabled() pulumi.BoolPtrOutput
Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to `true`.
func (NfsFileShareOutput) KmsEncrypted ¶
func (o NfsFileShareOutput) KmsEncrypted() pulumi.BoolPtrOutput
Boolean value if `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. Defaults to `false`.
func (NfsFileShareOutput) KmsKeyArn ¶
func (o NfsFileShareOutput) KmsKeyArn() pulumi.StringPtrOutput
Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when `kmsEncrypted` is true.
func (NfsFileShareOutput) LocationArn ¶
func (o NfsFileShareOutput) LocationArn() pulumi.StringOutput
The ARN of the backed storage used for storing file data.
func (NfsFileShareOutput) NfsFileShareDefaults ¶
func (o NfsFileShareOutput) NfsFileShareDefaults() NfsFileShareNfsFileShareDefaultsPtrOutput
Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
func (NfsFileShareOutput) NotificationPolicy ¶
func (o NfsFileShareOutput) NotificationPolicy() pulumi.StringPtrOutput
The notification policy of the file share. For more information see the [AWS Documentation](https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateNFSFileShare.html#StorageGateway-CreateNFSFileShare-request-NotificationPolicy). Default value is `{}`.
func (NfsFileShareOutput) ObjectAcl ¶
func (o NfsFileShareOutput) ObjectAcl() pulumi.StringPtrOutput
Access Control List permission for S3 objects. Defaults to `private`.
func (NfsFileShareOutput) Path ¶
func (o NfsFileShareOutput) Path() pulumi.StringOutput
File share path used by the NFS client to identify the mount point.
func (NfsFileShareOutput) ReadOnly ¶
func (o NfsFileShareOutput) ReadOnly() pulumi.BoolPtrOutput
Boolean to indicate write status of file share. File share does not accept writes if `true`. Defaults to `false`.
func (NfsFileShareOutput) RequesterPays ¶
func (o NfsFileShareOutput) RequesterPays() pulumi.BoolPtrOutput
Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to `true` if you want the requester to pay instead of the bucket owner. Defaults to `false`.
func (NfsFileShareOutput) RoleArn ¶
func (o NfsFileShareOutput) RoleArn() pulumi.StringOutput
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
func (NfsFileShareOutput) Squash ¶
func (o NfsFileShareOutput) Squash() pulumi.StringPtrOutput
Maps a user to anonymous user. Defaults to `RootSquash`. Valid values: `RootSquash` (only root is mapped to anonymous user), `NoSquash` (no one is mapped to anonymous user), `AllSquash` (everyone is mapped to anonymous user)
func (NfsFileShareOutput) Tags ¶
func (o NfsFileShareOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (NfsFileShareOutput) TagsAll ¶
func (o NfsFileShareOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (NfsFileShareOutput) ToNfsFileShareOutput ¶
func (o NfsFileShareOutput) ToNfsFileShareOutput() NfsFileShareOutput
func (NfsFileShareOutput) ToNfsFileShareOutputWithContext ¶
func (o NfsFileShareOutput) ToNfsFileShareOutputWithContext(ctx context.Context) NfsFileShareOutput
func (NfsFileShareOutput) VpcEndpointDnsName ¶
func (o NfsFileShareOutput) VpcEndpointDnsName() pulumi.StringPtrOutput
The DNS name of the VPC endpoint for S3 PrivateLink.
type NfsFileShareState ¶
type NfsFileShareState struct { pulumi.StringPtrInput AuditDestinationArn pulumi.StringPtrInput BucketRegion pulumi.StringPtrInput CacheAttributes NfsFileShareCacheAttributesPtrInput ClientLists pulumi.StringArrayInput DefaultStorageClass pulumi.StringPtrInput FileShareName pulumi.StringPtrInput FileshareId pulumi.StringPtrInput GatewayArn pulumi.StringPtrInput GuessMimeTypeEnabled pulumi.BoolPtrInput KmsEncrypted pulumi.BoolPtrInput KmsKeyArn pulumi.StringPtrInput LocationArn pulumi.StringPtrInput NfsFileShareDefaults NfsFileShareNfsFileShareDefaultsPtrInput NotificationPolicy pulumi.StringPtrInput ObjectAcl pulumi.StringPtrInput Path pulumi.StringPtrInput ReadOnly pulumi.BoolPtrInput RequesterPays pulumi.BoolPtrInput RoleArn pulumi.StringPtrInput Squash pulumi.StringPtrInput Tags pulumi.StringMapInput TagsAll pulumi.StringMapInput VpcEndpointDnsName pulumi.StringPtrInput }Arn
func (NfsFileShareState) ElementType ¶
func (NfsFileShareState) ElementType() reflect.Type
type SmbFileShare ¶
type SmbFileShare struct { pulumi.BoolPtrOutput `pulumi:"accessBasedEnumeration"` AdminUserLists pulumi.StringArrayOutput `pulumi:"adminUserLists"` Arn pulumi.StringOutput `pulumi:"arn"` AuditDestinationArn pulumi.StringPtrOutput `pulumi:"auditDestinationArn"` Authentication pulumi.StringPtrOutput `pulumi:"authentication"` BucketRegion pulumi.StringPtrOutput `pulumi:"bucketRegion"` CacheAttributes SmbFileShareCacheAttributesPtrOutput `pulumi:"cacheAttributes"` CaseSensitivity pulumi.StringPtrOutput `pulumi:"caseSensitivity"` DefaultStorageClass pulumi.StringPtrOutput `pulumi:"defaultStorageClass"` FileShareName pulumi.StringOutput `pulumi:"fileShareName"` FileshareId pulumi.StringOutput `pulumi:"fileshareId"` GatewayArn pulumi.StringOutput `pulumi:"gatewayArn"` GuessMimeTypeEnabled pulumi.BoolPtrOutput `pulumi:"guessMimeTypeEnabled"` InvalidUserLists pulumi.StringArrayOutput `pulumi:"invalidUserLists"` KmsEncrypted pulumi.BoolPtrOutput `pulumi:"kmsEncrypted"` KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"` LocationArn pulumi.StringOutput `pulumi:"locationArn"` NotificationPolicy pulumi.StringPtrOutput `pulumi:"notificationPolicy"` ObjectAcl pulumi.StringPtrOutput `pulumi:"objectAcl"` OplocksEnabled pulumi.BoolOutput `pulumi:"oplocksEnabled"` Path pulumi.StringOutput `pulumi:"path"` ReadOnly pulumi.BoolPtrOutput `pulumi:"readOnly"` RequesterPays pulumi.BoolPtrOutput `pulumi:"requesterPays"` RoleArn pulumi.StringOutput `pulumi:"roleArn"` SmbAclEnabled pulumi.BoolPtrOutput `pulumi:"smbAclEnabled"` Tags pulumi.StringMapOutput `pulumi:"tags"` TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` ValidUserLists pulumi.StringArrayOutput `pulumi:"validUserLists"` VpcEndpointDnsName pulumi.StringPtrOutput `pulumi:"vpcEndpointDnsName"` }AccessBasedEnumeration
Manages an AWS Storage Gateway SMB File Share.
## Example Usage ### Active Directory Authentication
> **NOTE:** The gateway must have already joined the Active Directory domain prior to SMB file share creationE.g., via "SMB Settings" in the AWS Storage Gateway console or `smbActiveDirectorySettings` in the `storagegateway.Gateway` resource.
```go 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.NewSmbFileShare(ctx, "example", &storagegateway.SmbFileShareArgs{ Authentication: pulumi.String("ActiveDirectory"), GatewayArn: pulumi.Any(aws_storagegateway_gateway.Example.Arn), LocationArn: pulumi.Any(aws_s3_bucket.Example.Arn), RoleArn: pulumi.Any(aws_iam_role.Example.Arn), }) if err != nil { return err } return nil }) }
``` ### Guest Authentication
> **NOTE:** The gateway must have already had the SMB guest password set prior to SMB file share creationE.g., via "SMB Settings" in the AWS Storage Gateway console or `smbGuestPassword` in the `storagegateway.Gateway` resource.
```go 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.NewSmbFileShare(ctx, "example", &storagegateway.SmbFileShareArgs{ Authentication: pulumi.String("GuestAccess"), GatewayArn: pulumi.Any(aws_storagegateway_gateway.Example.Arn), LocationArn: pulumi.Any(aws_s3_bucket.Example.Arn), RoleArn: pulumi.Any(aws_iam_role.Example.Arn), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_storagegateway_smb_file_share.example id = "arn:aws:storagegateway:us-east-1:123456789012:share/share-12345678" } Using `pulumi import`, import `aws_storagegateway_smb_file_share` using the SMB File Share Amazon Resource Name (ARN). For exampleconsole % pulumi import aws_storagegateway_smb_file_share.example arn:aws:storagegateway:us-east-1:123456789012:share/share-12345678
func GetSmbFileShare ¶
func GetSmbFileShare(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SmbFileShareState, opts ...pulumi.ResourceOption) (*SmbFileShare, error)
GetSmbFileShare gets an existing SmbFileShare 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 NewSmbFileShare ¶
func NewSmbFileShare(ctx *pulumi.Context, name string, args *SmbFileShareArgs, opts ...pulumi.ResourceOption) (*SmbFileShare, error)
NewSmbFileShare registers a new resource with the given unique name, arguments, and options.
func (*SmbFileShare) ElementType ¶
func (*SmbFileShare) ElementType() reflect.Type
func (*SmbFileShare) ToSmbFileShareOutput ¶
func (i *SmbFileShare) ToSmbFileShareOutput() SmbFileShareOutput
func (*SmbFileShare) ToSmbFileShareOutputWithContext ¶
func (i *SmbFileShare) ToSmbFileShareOutputWithContext(ctx context.Context) SmbFileShareOutput
type SmbFileShareArgs ¶
type SmbFileShareArgs struct { pulumi.BoolPtrInput AdminUserLists pulumi.StringArrayInput AuditDestinationArn pulumi.StringPtrInput Authentication pulumi.StringPtrInput BucketRegion pulumi.StringPtrInput CacheAttributes SmbFileShareCacheAttributesPtrInput CaseSensitivity pulumi.StringPtrInput DefaultStorageClass pulumi.StringPtrInput FileShareName pulumi.StringPtrInput GatewayArn pulumi.StringInput GuessMimeTypeEnabled pulumi.BoolPtrInput InvalidUserLists pulumi.StringArrayInput KmsEncrypted pulumi.BoolPtrInput KmsKeyArn pulumi.StringPtrInput LocationArn pulumi.StringInput NotificationPolicy pulumi.StringPtrInput ObjectAcl pulumi.StringPtrInput OplocksEnabled pulumi.BoolPtrInput ReadOnly pulumi.BoolPtrInput RequesterPays pulumi.BoolPtrInput RoleArn pulumi.StringInput SmbAclEnabled pulumi.BoolPtrInput Tags pulumi.StringMapInput ValidUserLists pulumi.StringArrayInput VpcEndpointDnsName pulumi.StringPtrInput }AccessBasedEnumeration
The set of arguments for constructing a SmbFileShare resource.
func (SmbFileShareArgs) ElementType ¶
func (SmbFileShareArgs) ElementType() reflect.Type
type SmbFileShareArray ¶
type SmbFileShareArray []SmbFileShareInput
func (SmbFileShareArray) ElementType ¶
func (SmbFileShareArray) ElementType() reflect.Type
func (SmbFileShareArray) ToSmbFileShareArrayOutput ¶
func (i SmbFileShareArray) ToSmbFileShareArrayOutput() SmbFileShareArrayOutput
func (SmbFileShareArray) ToSmbFileShareArrayOutputWithContext ¶
func (i SmbFileShareArray) ToSmbFileShareArrayOutputWithContext(ctx context.Context) SmbFileShareArrayOutput
type SmbFileShareArrayInput ¶
SmbFileShareArrayInput is an input type that accepts SmbFileShareArray and SmbFileShareArrayOutput values. You can construct a concrete instance of `SmbFileShareArrayInput` via:
SmbFileShareArray{ SmbFileShareArgs{...} }
type SmbFileShareArrayOutput ¶
func (SmbFileShareArrayOutput) ElementType ¶
func (SmbFileShareArrayOutput) ElementType() reflect.Type
func (SmbFileShareArrayOutput) Index ¶
func (o SmbFileShareArrayOutput) Index(i pulumi.IntInput) SmbFileShareOutput
func (SmbFileShareArrayOutput) ToSmbFileShareArrayOutput ¶
func (o SmbFileShareArrayOutput) ToSmbFileShareArrayOutput() SmbFileShareArrayOutput
func (SmbFileShareArrayOutput) ToSmbFileShareArrayOutputWithContext ¶
func (o SmbFileShareArrayOutput) ToSmbFileShareArrayOutputWithContext(ctx context.Context) SmbFileShareArrayOutput
type SmbFileShareCacheAttributes ¶
type SmbFileShareCacheAttributes struct { // TTL is the length of time since the last refresh after which access to the directory would cause the file gateway // to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days) CacheStaleTimeoutInSeconds *int `pulumi:"cacheStaleTimeoutInSeconds"` }
type SmbFileShareCacheAttributesArgs ¶
type SmbFileShareCacheAttributesArgs struct { // TTL is the length of time since the last refresh after which access to the directory would cause the file gateway // to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days) CacheStaleTimeoutInSeconds pulumi.IntPtrInput `pulumi:"cacheStaleTimeoutInSeconds"` }
func (SmbFileShareCacheAttributesArgs) ElementType ¶
func (SmbFileShareCacheAttributesArgs) ElementType() reflect.Type
func (SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesOutput ¶
func (i SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesOutput() SmbFileShareCacheAttributesOutput
func (SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesOutputWithContext ¶
func (i SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesOutput
func (SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesPtrOutput ¶
func (i SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesPtrOutput() SmbFileShareCacheAttributesPtrOutput
func (SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesPtrOutputWithContext ¶
func (i SmbFileShareCacheAttributesArgs) ToSmbFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesPtrOutput
type SmbFileShareCacheAttributesInput ¶
SmbFileShareCacheAttributesInput is an input type that accepts SmbFileShareCacheAttributesArgs and SmbFileShareCacheAttributesOutput values. You can construct a concrete instance of `SmbFileShareCacheAttributesInput` via:
SmbFileShareCacheAttributesArgs{...}
type SmbFileShareCacheAttributesOutput ¶
func (SmbFileShareCacheAttributesOutput) CacheStaleTimeoutInSeconds ¶
func (o SmbFileShareCacheAttributesOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
func (SmbFileShareCacheAttributesOutput) ElementType ¶
func (SmbFileShareCacheAttributesOutput) ElementType() reflect.Type
func (SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesOutput ¶
func (o SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesOutput() SmbFileShareCacheAttributesOutput
func (SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesOutputWithContext ¶
func (o SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesOutput
func (SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesPtrOutput ¶
func (o SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesPtrOutput() SmbFileShareCacheAttributesPtrOutput
func (SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesPtrOutputWithContext ¶
func (o SmbFileShareCacheAttributesOutput) ToSmbFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesPtrOutput
type SmbFileShareCacheAttributesPtrInput ¶
SmbFileShareCacheAttributesPtrInput is an input type that accepts SmbFileShareCacheAttributesArgs, SmbFileShareCacheAttributesPtr and SmbFileShareCacheAttributesPtrOutput values. You can construct a concrete instance of `SmbFileShareCacheAttributesPtrInput` via:
SmbFileShareCacheAttributesArgs{...} or: nil
func SmbFileShareCacheAttributesPtr ¶
func SmbFileShareCacheAttributesPtr(v *SmbFileShareCacheAttributesArgs) SmbFileShareCacheAttributesPtrInput
type SmbFileShareCacheAttributesPtrOutput ¶
func (SmbFileShareCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds ¶
func (o SmbFileShareCacheAttributesPtrOutput) CacheStaleTimeoutInSeconds() pulumi.IntPtrOutput
Refreshes a file share's cache by using Time To Live (TTL). TTL is the length of time since the last refresh after which access to the directory would cause the file gateway to first refresh that directory's contents from the Amazon S3 bucket. Valid Values: 300 to 2,592,000 seconds (5 minutes to 30 days)
func (SmbFileShareCacheAttributesPtrOutput) ElementType ¶
func (SmbFileShareCacheAttributesPtrOutput) ElementType() reflect.Type
func (SmbFileShareCacheAttributesPtrOutput) ToSmbFileShareCacheAttributesPtrOutput ¶
func (o SmbFileShareCacheAttributesPtrOutput) ToSmbFileShareCacheAttributesPtrOutput() SmbFileShareCacheAttributesPtrOutput
func (SmbFileShareCacheAttributesPtrOutput) ToSmbFileShareCacheAttributesPtrOutputWithContext ¶
func (o SmbFileShareCacheAttributesPtrOutput) ToSmbFileShareCacheAttributesPtrOutputWithContext(ctx context.Context) SmbFileShareCacheAttributesPtrOutput
type SmbFileShareInput ¶
type SmbFileShareMap ¶
type SmbFileShareMap map[string]SmbFileShareInput
func (SmbFileShareMap) ElementType ¶
func (SmbFileShareMap) ElementType() reflect.Type
func (SmbFileShareMap) ToSmbFileShareMapOutput ¶
func (i SmbFileShareMap) ToSmbFileShareMapOutput() SmbFileShareMapOutput
func (SmbFileShareMap) ToSmbFileShareMapOutputWithContext ¶
func (i SmbFileShareMap) ToSmbFileShareMapOutputWithContext(ctx context.Context) SmbFileShareMapOutput
type SmbFileShareMapInput ¶
SmbFileShareMapInput is an input type that accepts SmbFileShareMap and SmbFileShareMapOutput values. You can construct a concrete instance of `SmbFileShareMapInput` via:
SmbFileShareMap{ "key": SmbFileShareArgs{...} }
type SmbFileShareMapOutput ¶
func (SmbFileShareMapOutput) ElementType ¶
func (SmbFileShareMapOutput) ElementType() reflect.Type
func (SmbFileShareMapOutput) MapIndex ¶
func (o SmbFileShareMapOutput) MapIndex(k pulumi.StringInput) SmbFileShareOutput
func (SmbFileShareMapOutput) ToSmbFileShareMapOutput ¶
func (o SmbFileShareMapOutput) ToSmbFileShareMapOutput() SmbFileShareMapOutput
func (SmbFileShareMapOutput) ToSmbFileShareMapOutputWithContext ¶
func (o SmbFileShareMapOutput) ToSmbFileShareMapOutputWithContext(ctx context.Context) SmbFileShareMapOutput
type SmbFileShareOutput ¶
func (SmbFileShareOutput) AccessBasedEnumeration ¶
func (o SmbFileShareOutput) AccessBasedEnumeration() pulumi.BoolPtrOutput
The files and folders on this share will only be visible to users with read access. Default value is `false`.
func (SmbFileShareOutput) AdminUserLists ¶
func (o SmbFileShareOutput) AdminUserLists() pulumi.StringArrayOutput
A list of users in the Active Directory that have admin access to the file share. Only valid if `authentication` is set to `ActiveDirectory`.
func (SmbFileShareOutput) Arn ¶
func (o SmbFileShareOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the SMB File Share.
func (SmbFileShareOutput) AuditDestinationArn ¶
func (o SmbFileShareOutput) AuditDestinationArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the CloudWatch Log Group used for the audit logs.
func (SmbFileShareOutput) Authentication ¶
func (o SmbFileShareOutput) Authentication() pulumi.StringPtrOutput
The authentication method that users use to access the file share. Defaults to `ActiveDirectory`. Valid values: `ActiveDirectory`, `GuestAccess`.
func (SmbFileShareOutput) BucketRegion ¶
func (o SmbFileShareOutput) BucketRegion() pulumi.StringPtrOutput
The region of the S3 buck used by the file share. Required when specifying a `vpcEndpointDnsName`.
func (SmbFileShareOutput) CacheAttributes ¶
func (o SmbFileShareOutput) CacheAttributes() SmbFileShareCacheAttributesPtrOutput
Refresh cache information. see Cache Attributes for more details.
func (SmbFileShareOutput) CaseSensitivity ¶
func (o SmbFileShareOutput) CaseSensitivity() pulumi.StringPtrOutput
The case of an object name in an Amazon S3 bucket. For `ClientSpecified`, the client determines the case sensitivity. For `CaseSensitive`, the gateway determines the case sensitivity. The default value is `ClientSpecified`.
func (SmbFileShareOutput) DefaultStorageClass ¶
func (o SmbFileShareOutput) DefaultStorageClass() pulumi.StringPtrOutput
The default [storage class](https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateNFSFileShare.html#StorageGateway-CreateNFSFileShare-request-DefaultStorageClass) for objects put into an Amazon S3 bucket by the file gateway. Defaults to `S3_STANDARD`.
func (SmbFileShareOutput) ElementType ¶
func (SmbFileShareOutput) ElementType() reflect.Type
func (SmbFileShareOutput) FileShareName ¶
func (o SmbFileShareOutput) FileShareName() pulumi.StringOutput
The name of the file share. Must be set if an S3 prefix name is set in `locationArn`.
func (SmbFileShareOutput) FileshareId ¶
func (o SmbFileShareOutput) FileshareId() pulumi.StringOutput
ID of the SMB File Share.
func (SmbFileShareOutput) GatewayArn ¶
func (o SmbFileShareOutput) GatewayArn() pulumi.StringOutput
Amazon Resource Name (ARN) of the file gateway.
func (SmbFileShareOutput) GuessMimeTypeEnabled ¶
func (o SmbFileShareOutput) GuessMimeTypeEnabled() pulumi.BoolPtrOutput
Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to `true`.
func (SmbFileShareOutput) InvalidUserLists ¶
func (o SmbFileShareOutput) InvalidUserLists() pulumi.StringArrayOutput
A list of users in the Active Directory that are not allowed to access the file share. Only valid if `authentication` is set to `ActiveDirectory`.
func (SmbFileShareOutput) KmsEncrypted ¶
func (o SmbFileShareOutput) KmsEncrypted() pulumi.BoolPtrOutput
Boolean value if `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. Defaults to `false`.
func (SmbFileShareOutput) KmsKeyArn ¶
func (o SmbFileShareOutput) KmsKeyArn() pulumi.StringPtrOutput
Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when `kmsEncrypted` is true.
func (SmbFileShareOutput) LocationArn ¶
func (o SmbFileShareOutput) LocationArn() pulumi.StringOutput
The ARN of the backed storage used for storing file data.
func (SmbFileShareOutput) NotificationPolicy ¶
func (o SmbFileShareOutput) NotificationPolicy() pulumi.StringPtrOutput
The notification policy of the file share. For more information see the [AWS Documentation](https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateNFSFileShare.html#StorageGateway-CreateNFSFileShare-request-NotificationPolicy). Default value is `{}`.
func (SmbFileShareOutput) ObjectAcl ¶
func (o SmbFileShareOutput) ObjectAcl() pulumi.StringPtrOutput
Access Control List permission for S3 objects. Defaults to `private`.
func (SmbFileShareOutput) OplocksEnabled ¶
func (o SmbFileShareOutput) OplocksEnabled() pulumi.BoolOutput
Boolean to indicate Opportunistic lock (oplock) status. Defaults to `true`.
func (SmbFileShareOutput) Path ¶
func (o SmbFileShareOutput) Path() pulumi.StringOutput
File share path used by the NFS client to identify the mount point.
func (SmbFileShareOutput) ReadOnly ¶
func (o SmbFileShareOutput) ReadOnly() pulumi.BoolPtrOutput
Boolean to indicate write status of file share. File share does not accept writes if `true`. Defaults to `false`.
func (SmbFileShareOutput) RequesterPays ¶
func (o SmbFileShareOutput) RequesterPays() pulumi.BoolPtrOutput
Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to `true` if you want the requester to pay instead of the bucket owner. Defaults to `false`.
func (SmbFileShareOutput) RoleArn ¶
func (o SmbFileShareOutput) RoleArn() pulumi.StringOutput
The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
func (SmbFileShareOutput) SmbAclEnabled ¶
func (o SmbFileShareOutput) SmbAclEnabled() pulumi.BoolPtrOutput
Set this value to `true` to enable ACL (access control list) on the SMB fileshare. Set it to `false` to map file and directory permissions to the POSIX permissions. This setting applies only to `ActiveDirectory` authentication type.
func (SmbFileShareOutput) Tags ¶
func (o SmbFileShareOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (SmbFileShareOutput) TagsAll ¶
func (o SmbFileShareOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (SmbFileShareOutput) ToSmbFileShareOutput ¶
func (o SmbFileShareOutput) ToSmbFileShareOutput() SmbFileShareOutput
func (SmbFileShareOutput) ToSmbFileShareOutputWithContext ¶
func (o SmbFileShareOutput) ToSmbFileShareOutputWithContext(ctx context.Context) SmbFileShareOutput
func (SmbFileShareOutput) ValidUserLists ¶
func (o SmbFileShareOutput) ValidUserLists() pulumi.StringArrayOutput
A list of users in the Active Directory that are allowed to access the file share. If you need to specify an Active directory group, add '@' before the name of the group. It will be set on Allowed group in AWS console. Only valid if `authentication` is set to `ActiveDirectory`.
func (SmbFileShareOutput) VpcEndpointDnsName ¶
func (o SmbFileShareOutput) VpcEndpointDnsName() pulumi.StringPtrOutput
The DNS name of the VPC endpoint for S3 private link.
type SmbFileShareState ¶
type SmbFileShareState struct { pulumi.BoolPtrInput AdminUserLists pulumi.StringArrayInput Arn pulumi.StringPtrInput AuditDestinationArn pulumi.StringPtrInput Authentication pulumi.StringPtrInput BucketRegion pulumi.StringPtrInput CacheAttributes SmbFileShareCacheAttributesPtrInput CaseSensitivity pulumi.StringPtrInput DefaultStorageClass pulumi.StringPtrInput FileShareName pulumi.StringPtrInput FileshareId pulumi.StringPtrInput GatewayArn pulumi.StringPtrInput GuessMimeTypeEnabled pulumi.BoolPtrInput InvalidUserLists pulumi.StringArrayInput KmsEncrypted pulumi.BoolPtrInput KmsKeyArn pulumi.StringPtrInput LocationArn pulumi.StringPtrInput NotificationPolicy pulumi.StringPtrInput ObjectAcl pulumi.StringPtrInput OplocksEnabled pulumi.BoolPtrInput Path pulumi.StringPtrInput ReadOnly pulumi.BoolPtrInput RequesterPays pulumi.BoolPtrInput RoleArn pulumi.StringPtrInput SmbAclEnabled pulumi.BoolPtrInput Tags pulumi.StringMapInput TagsAll pulumi.StringMapInput ValidUserLists pulumi.StringArrayInput VpcEndpointDnsName pulumi.StringPtrInput }AccessBasedEnumeration
func (SmbFileShareState) ElementType ¶
func (SmbFileShareState) ElementType() reflect.Type
type StoredIscsiVolume ¶
type StoredIscsiVolume struct { pulumi.CustomResourceState // Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`. Arn pulumi.StringOutput `pulumi:"arn"` // Whether mutual CHAP is enabled for the iSCSI target. ChapEnabled pulumi.BoolOutput `pulumi:"chapEnabled"` // The unique identifier for the gateway local disk that is configured as a stored volume. DiskId pulumi.StringOutput `pulumi:"diskId"` // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringOutput `pulumi:"gatewayArn"` // `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. Optional. KmsEncrypted pulumi.BoolPtrOutput `pulumi:"kmsEncrypted"` // The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when `kmsEncrypted` is `true`. KmsKey pulumi.StringPtrOutput `pulumi:"kmsKey"` // Logical disk number. LunNumber pulumi.IntOutput `pulumi:"lunNumber"` // The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. NetworkInterfaceId pulumi.StringOutput `pulumi:"networkInterfaceId"` // The port used to communicate with iSCSI targets. NetworkInterfacePort pulumi.IntOutput `pulumi:"networkInterfacePort"` // Specify this field as `true` if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume. PreserveExistingData pulumi.BoolOutput `pulumi:"preserveExistingData"` // The snapshot ID of the snapshot to restore as the new stored volumeE.g., `snap-1122aabb`. SnapshotId pulumi.StringPtrOutput `pulumi:"snapshotId"` // Key-value mapping of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Target Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/target/iqn.1997-05.com.amazon:TargetName`. TargetArn pulumi.StringOutput `pulumi:"targetArn"` // The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway. TargetName pulumi.StringOutput `pulumi:"targetName"` // A value that indicates whether a storage volume is attached to, detached from, or is in the process of detaching from a gateway. VolumeAttachmentStatus pulumi.StringOutput `pulumi:"volumeAttachmentStatus"` // Volume ID, e.g., `vol-12345678`. VolumeId pulumi.StringOutput `pulumi:"volumeId"` // The size of the data stored on the volume in bytes. VolumeSizeInBytes pulumi.IntOutput `pulumi:"volumeSizeInBytes"` // indicates the state of the storage volume. VolumeStatus pulumi.StringOutput `pulumi:"volumeStatus"` // indicates the type of the volume. VolumeType pulumi.StringOutput `pulumi:"volumeType"` }
Manages an AWS Storage Gateway stored iSCSI volume.
> **NOTE:** The gateway must have a working storage added (e.g., via the `storagegateway.WorkingStorage` resource) before the volume is operational to clients, however the Storage Gateway API will allow volume creation without error in that case and return volume status as `WORKING STORAGE NOT CONFIGURED`.
## Example Usage ### Create Empty Stored iSCSI Volume
```go 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.NewStoredIscsiVolume(ctx, "example", &storagegateway.StoredIscsiVolumeArgs{ GatewayArn: pulumi.Any(aws_storagegateway_cache.Example.Gateway_arn), NetworkInterfaceId: pulumi.Any(aws_instance.Example.Private_ip), TargetName: pulumi.String("example"), PreserveExistingData: pulumi.Bool(false), DiskId: pulumi.Any(data.Aws_storagegateway_local_disk.Test.Id), }) if err != nil { return err } return nil }) }
``` ### Create Stored iSCSI Volume From Snapshot
```go 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.NewStoredIscsiVolume(ctx, "example", &storagegateway.StoredIscsiVolumeArgs{ GatewayArn: pulumi.Any(aws_storagegateway_cache.Example.Gateway_arn), NetworkInterfaceId: pulumi.Any(aws_instance.Example.Private_ip), SnapshotId: pulumi.Any(aws_ebs_snapshot.Example.Id), TargetName: pulumi.String("example"), PreserveExistingData: pulumi.Bool(false), DiskId: pulumi.Any(data.Aws_storagegateway_local_disk.Test.Id), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_storagegateway_stored_iscsi_volume.example id = "arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678" } Using `pulumi import`, import `aws_storagegateway_stored_iscsi_volume` using the volume Amazon Resource Name (ARN). For exampleconsole % pulumi import aws_storagegateway_stored_iscsi_volume.example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678
func GetStoredIscsiVolume ¶
func GetStoredIscsiVolume(ctx *pulumi.Context, name string, id pulumi.IDInput, state *StoredIscsiVolumeState, opts ...pulumi.ResourceOption) (*StoredIscsiVolume, error)
GetStoredIscsiVolume gets an existing StoredIscsiVolume 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 NewStoredIscsiVolume ¶
func NewStoredIscsiVolume(ctx *pulumi.Context, name string, args *StoredIscsiVolumeArgs, opts ...pulumi.ResourceOption) (*StoredIscsiVolume, error)
NewStoredIscsiVolume registers a new resource with the given unique name, arguments, and options.
func (*StoredIscsiVolume) ElementType ¶
func (*StoredIscsiVolume) ElementType() reflect.Type
func (*StoredIscsiVolume) ToStoredIscsiVolumeOutput ¶
func (i *StoredIscsiVolume) ToStoredIscsiVolumeOutput() StoredIscsiVolumeOutput
func (*StoredIscsiVolume) ToStoredIscsiVolumeOutputWithContext ¶
func (i *StoredIscsiVolume) ToStoredIscsiVolumeOutputWithContext(ctx context.Context) StoredIscsiVolumeOutput
type StoredIscsiVolumeArgs ¶
type StoredIscsiVolumeArgs struct { // The unique identifier for the gateway local disk that is configured as a stored volume. DiskId pulumi.StringInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringInput // `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. Optional. KmsEncrypted pulumi.BoolPtrInput // The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when `kmsEncrypted` is `true`. KmsKey pulumi.StringPtrInput // The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. NetworkInterfaceId pulumi.StringInput // Specify this field as `true` if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume. PreserveExistingData pulumi.BoolInput // The snapshot ID of the snapshot to restore as the new stored volumeE.g., `snap-1122aabb`. SnapshotId pulumi.StringPtrInput // Key-value mapping of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway. TargetName pulumi.StringInput }
The set of arguments for constructing a StoredIscsiVolume resource.
func (StoredIscsiVolumeArgs) ElementType ¶
func (StoredIscsiVolumeArgs) ElementType() reflect.Type
type StoredIscsiVolumeArray ¶
type StoredIscsiVolumeArray []StoredIscsiVolumeInput
func (StoredIscsiVolumeArray) ElementType ¶
func (StoredIscsiVolumeArray) ElementType() reflect.Type
func (StoredIscsiVolumeArray) ToStoredIscsiVolumeArrayOutput ¶
func (i StoredIscsiVolumeArray) ToStoredIscsiVolumeArrayOutput() StoredIscsiVolumeArrayOutput
func (StoredIscsiVolumeArray) ToStoredIscsiVolumeArrayOutputWithContext ¶
func (i StoredIscsiVolumeArray) ToStoredIscsiVolumeArrayOutputWithContext(ctx context.Context) StoredIscsiVolumeArrayOutput
type StoredIscsiVolumeArrayInput ¶
type StoredIscsiVolumeArrayInput interface { pulumi.Input ToStoredIscsiVolumeArrayOutput() StoredIscsiVolumeArrayOutput ToStoredIscsiVolumeArrayOutputWithContext(context.Context) StoredIscsiVolumeArrayOutput }
StoredIscsiVolumeArrayInput is an input type that accepts StoredIscsiVolumeArray and StoredIscsiVolumeArrayOutput values. You can construct a concrete instance of `StoredIscsiVolumeArrayInput` via:
StoredIscsiVolumeArray{ StoredIscsiVolumeArgs{...} }
type StoredIscsiVolumeArrayOutput ¶
type StoredIscsiVolumeArrayOutput struct{ *pulumi.OutputState }
func (StoredIscsiVolumeArrayOutput) ElementType ¶
func (StoredIscsiVolumeArrayOutput) ElementType() reflect.Type
func (StoredIscsiVolumeArrayOutput) Index ¶
func (o StoredIscsiVolumeArrayOutput) Index(i pulumi.IntInput) StoredIscsiVolumeOutput
func (StoredIscsiVolumeArrayOutput) ToStoredIscsiVolumeArrayOutput ¶
func (o StoredIscsiVolumeArrayOutput) ToStoredIscsiVolumeArrayOutput() StoredIscsiVolumeArrayOutput
func (StoredIscsiVolumeArrayOutput) ToStoredIscsiVolumeArrayOutputWithContext ¶
func (o StoredIscsiVolumeArrayOutput) ToStoredIscsiVolumeArrayOutputWithContext(ctx context.Context) StoredIscsiVolumeArrayOutput
type StoredIscsiVolumeInput ¶
type StoredIscsiVolumeInput interface { pulumi.Input ToStoredIscsiVolumeOutput() StoredIscsiVolumeOutput ToStoredIscsiVolumeOutputWithContext(ctx context.Context) StoredIscsiVolumeOutput }
type StoredIscsiVolumeMap ¶
type StoredIscsiVolumeMap map[string]StoredIscsiVolumeInput
func (StoredIscsiVolumeMap) ElementType ¶
func (StoredIscsiVolumeMap) ElementType() reflect.Type
func (StoredIscsiVolumeMap) ToStoredIscsiVolumeMapOutput ¶
func (i StoredIscsiVolumeMap) ToStoredIscsiVolumeMapOutput() StoredIscsiVolumeMapOutput
func (StoredIscsiVolumeMap) ToStoredIscsiVolumeMapOutputWithContext ¶
func (i StoredIscsiVolumeMap) ToStoredIscsiVolumeMapOutputWithContext(ctx context.Context) StoredIscsiVolumeMapOutput
type StoredIscsiVolumeMapInput ¶
type StoredIscsiVolumeMapInput interface { pulumi.Input ToStoredIscsiVolumeMapOutput() StoredIscsiVolumeMapOutput ToStoredIscsiVolumeMapOutputWithContext(context.Context) StoredIscsiVolumeMapOutput }
StoredIscsiVolumeMapInput is an input type that accepts StoredIscsiVolumeMap and StoredIscsiVolumeMapOutput values. You can construct a concrete instance of `StoredIscsiVolumeMapInput` via:
StoredIscsiVolumeMap{ "key": StoredIscsiVolumeArgs{...} }
type StoredIscsiVolumeMapOutput ¶
type StoredIscsiVolumeMapOutput struct{ *pulumi.OutputState }
func (StoredIscsiVolumeMapOutput) ElementType ¶
func (StoredIscsiVolumeMapOutput) ElementType() reflect.Type
func (StoredIscsiVolumeMapOutput) MapIndex ¶
func (o StoredIscsiVolumeMapOutput) MapIndex(k pulumi.StringInput) StoredIscsiVolumeOutput
func (StoredIscsiVolumeMapOutput) ToStoredIscsiVolumeMapOutput ¶
func (o StoredIscsiVolumeMapOutput) ToStoredIscsiVolumeMapOutput() StoredIscsiVolumeMapOutput
func (StoredIscsiVolumeMapOutput) ToStoredIscsiVolumeMapOutputWithContext ¶
func (o StoredIscsiVolumeMapOutput) ToStoredIscsiVolumeMapOutputWithContext(ctx context.Context) StoredIscsiVolumeMapOutput
type StoredIscsiVolumeOutput ¶
type StoredIscsiVolumeOutput struct{ *pulumi.OutputState }
func (StoredIscsiVolumeOutput) Arn ¶
func (o StoredIscsiVolumeOutput) Arn() pulumi.StringOutput
Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`.
func (StoredIscsiVolumeOutput) ChapEnabled ¶
func (o StoredIscsiVolumeOutput) ChapEnabled() pulumi.BoolOutput
Whether mutual CHAP is enabled for the iSCSI target.
func (StoredIscsiVolumeOutput) DiskId ¶
func (o StoredIscsiVolumeOutput) DiskId() pulumi.StringOutput
The unique identifier for the gateway local disk that is configured as a stored volume.
func (StoredIscsiVolumeOutput) ElementType ¶
func (StoredIscsiVolumeOutput) ElementType() reflect.Type
func (StoredIscsiVolumeOutput) GatewayArn ¶
func (o StoredIscsiVolumeOutput) GatewayArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the gateway.
func (StoredIscsiVolumeOutput) KmsEncrypted ¶
func (o StoredIscsiVolumeOutput) KmsEncrypted() pulumi.BoolPtrOutput
`true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. Optional.
func (StoredIscsiVolumeOutput) KmsKey ¶
func (o StoredIscsiVolumeOutput) KmsKey() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when `kmsEncrypted` is `true`.
func (StoredIscsiVolumeOutput) LunNumber ¶
func (o StoredIscsiVolumeOutput) LunNumber() pulumi.IntOutput
Logical disk number.
func (StoredIscsiVolumeOutput) NetworkInterfaceId ¶
func (o StoredIscsiVolumeOutput) NetworkInterfaceId() pulumi.StringOutput
The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted.
func (StoredIscsiVolumeOutput) NetworkInterfacePort ¶
func (o StoredIscsiVolumeOutput) NetworkInterfacePort() pulumi.IntOutput
The port used to communicate with iSCSI targets.
func (StoredIscsiVolumeOutput) PreserveExistingData ¶
func (o StoredIscsiVolumeOutput) PreserveExistingData() pulumi.BoolOutput
Specify this field as `true` if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume.
func (StoredIscsiVolumeOutput) SnapshotId ¶
func (o StoredIscsiVolumeOutput) SnapshotId() pulumi.StringPtrOutput
The snapshot ID of the snapshot to restore as the new stored volumeE.g., `snap-1122aabb`.
func (StoredIscsiVolumeOutput) Tags ¶
func (o StoredIscsiVolumeOutput) Tags() pulumi.StringMapOutput
Key-value mapping of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (StoredIscsiVolumeOutput) TagsAll ¶
func (o StoredIscsiVolumeOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (StoredIscsiVolumeOutput) TargetArn ¶
func (o StoredIscsiVolumeOutput) TargetArn() pulumi.StringOutput
Target Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/target/iqn.1997-05.com.amazon:TargetName`.
func (StoredIscsiVolumeOutput) TargetName ¶
func (o StoredIscsiVolumeOutput) TargetName() pulumi.StringOutput
The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway.
func (StoredIscsiVolumeOutput) ToStoredIscsiVolumeOutput ¶
func (o StoredIscsiVolumeOutput) ToStoredIscsiVolumeOutput() StoredIscsiVolumeOutput
func (StoredIscsiVolumeOutput) ToStoredIscsiVolumeOutputWithContext ¶
func (o StoredIscsiVolumeOutput) ToStoredIscsiVolumeOutputWithContext(ctx context.Context) StoredIscsiVolumeOutput
func (StoredIscsiVolumeOutput) VolumeAttachmentStatus ¶
func (o StoredIscsiVolumeOutput) VolumeAttachmentStatus() pulumi.StringOutput
A value that indicates whether a storage volume is attached to, detached from, or is in the process of detaching from a gateway.
func (StoredIscsiVolumeOutput) VolumeId ¶
func (o StoredIscsiVolumeOutput) VolumeId() pulumi.StringOutput
Volume ID, e.g., `vol-12345678`.
func (StoredIscsiVolumeOutput) VolumeSizeInBytes ¶
func (o StoredIscsiVolumeOutput) VolumeSizeInBytes() pulumi.IntOutput
The size of the data stored on the volume in bytes.
func (StoredIscsiVolumeOutput) VolumeStatus ¶
func (o StoredIscsiVolumeOutput) VolumeStatus() pulumi.StringOutput
indicates the state of the storage volume.
func (StoredIscsiVolumeOutput) VolumeType ¶
func (o StoredIscsiVolumeOutput) VolumeType() pulumi.StringOutput
indicates the type of the volume.
type StoredIscsiVolumeState ¶
type StoredIscsiVolumeState struct { // Volume Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/volume/vol-12345678`. Arn pulumi.StringPtrInput // Whether mutual CHAP is enabled for the iSCSI target. ChapEnabled pulumi.BoolPtrInput // The unique identifier for the gateway local disk that is configured as a stored volume. DiskId pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringPtrInput // `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. Optional. KmsEncrypted pulumi.BoolPtrInput // The Amazon Resource Name (ARN) of the AWS KMS key used for Amazon S3 server side encryption. This value can only be set when `kmsEncrypted` is `true`. KmsKey pulumi.StringPtrInput // Logical disk number. LunNumber pulumi.IntPtrInput // The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. NetworkInterfaceId pulumi.StringPtrInput // The port used to communicate with iSCSI targets. NetworkInterfacePort pulumi.IntPtrInput // Specify this field as `true` if you want to preserve the data on the local disk. Otherwise, specifying this field as false creates an empty volume. PreserveExistingData pulumi.BoolPtrInput // The snapshot ID of the snapshot to restore as the new stored volumeE.g., `snap-1122aabb`. SnapshotId pulumi.StringPtrInput // Key-value mapping of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // Target Amazon Resource Name (ARN), e.g., `arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678/target/iqn.1997-05.com.amazon:TargetName`. TargetArn pulumi.StringPtrInput // The name of the iSCSI target used by initiators to connect to the target and as a suffix for the target ARN. The target name must be unique across all volumes of a gateway. TargetName pulumi.StringPtrInput // A value that indicates whether a storage volume is attached to, detached from, or is in the process of detaching from a gateway. VolumeAttachmentStatus pulumi.StringPtrInput // Volume ID, e.g., `vol-12345678`. VolumeId pulumi.StringPtrInput // The size of the data stored on the volume in bytes. VolumeSizeInBytes pulumi.IntPtrInput // indicates the state of the storage volume. VolumeStatus pulumi.StringPtrInput // indicates the type of the volume. VolumeType pulumi.StringPtrInput }
func (StoredIscsiVolumeState) ElementType ¶
func (StoredIscsiVolumeState) ElementType() reflect.Type
type TapePool ¶
type TapePool struct { pulumi.CustomResourceState // Volume Amazon Resource Name (ARN), e.g., `aws_storagegateway_tape_pool.example arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678`. Arn pulumi.StringOutput `pulumi:"arn"` // The name of the new custom tape pool. PoolName pulumi.StringOutput `pulumi:"poolName"` // Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days). Default value is 0. RetentionLockTimeInDays pulumi.IntPtrOutput `pulumi:"retentionLockTimeInDays"` // Tape retention lock can be configured in two modes. When configured in governance mode, AWS accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root AWS account. Possible values are `COMPLIANCE`, `GOVERNANCE`, and `NONE`. Default value is `NONE`. RetentionLockType pulumi.StringPtrOutput `pulumi:"retentionLockType"` // The storage class that is associated with the new custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class that corresponds to the pool. Possible values are `DEEP_ARCHIVE` or `GLACIER`. StorageClass pulumi.StringOutput `pulumi:"storageClass"` // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Manages an AWS Storage Gateway Tape Pool.
## Example Usage
```go 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.NewTapePool(ctx, "example", &storagegateway.TapePoolArgs{ PoolName: pulumi.String("example"), StorageClass: pulumi.String("GLACIER"), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_storagegateway_tape_pool.example id = "arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678" } Using `pulumi import`, import `aws_storagegateway_tape_pool` using the volume Amazon Resource Name (ARN). For exampleconsole % pulumi import aws_storagegateway_tape_pool.example arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678
func GetTapePool ¶
func GetTapePool(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TapePoolState, opts ...pulumi.ResourceOption) (*TapePool, error)
GetTapePool gets an existing TapePool 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 NewTapePool ¶
func NewTapePool(ctx *pulumi.Context, name string, args *TapePoolArgs, opts ...pulumi.ResourceOption) (*TapePool, error)
NewTapePool registers a new resource with the given unique name, arguments, and options.
func (*TapePool) ElementType ¶
func (*TapePool) ToTapePoolOutput ¶
func (i *TapePool) ToTapePoolOutput() TapePoolOutput
func (*TapePool) ToTapePoolOutputWithContext ¶
func (i *TapePool) ToTapePoolOutputWithContext(ctx context.Context) TapePoolOutput
type TapePoolArgs ¶
type TapePoolArgs struct { // The name of the new custom tape pool. PoolName pulumi.StringInput // Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days). Default value is 0. RetentionLockTimeInDays pulumi.IntPtrInput // Tape retention lock can be configured in two modes. When configured in governance mode, AWS accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root AWS account. Possible values are `COMPLIANCE`, `GOVERNANCE`, and `NONE`. Default value is `NONE`. RetentionLockType pulumi.StringPtrInput // The storage class that is associated with the new custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class that corresponds to the pool. Possible values are `DEEP_ARCHIVE` or `GLACIER`. StorageClass pulumi.StringInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a TapePool resource.
func (TapePoolArgs) ElementType ¶
func (TapePoolArgs) ElementType() reflect.Type
type TapePoolArray ¶
type TapePoolArray []TapePoolInput
func (TapePoolArray) ElementType ¶
func (TapePoolArray) ElementType() reflect.Type
func (TapePoolArray) ToTapePoolArrayOutput ¶
func (i TapePoolArray) ToTapePoolArrayOutput() TapePoolArrayOutput
func (TapePoolArray) ToTapePoolArrayOutputWithContext ¶
func (i TapePoolArray) ToTapePoolArrayOutputWithContext(ctx context.Context) TapePoolArrayOutput
type TapePoolArrayInput ¶
type TapePoolArrayInput interface { pulumi.Input ToTapePoolArrayOutput() TapePoolArrayOutput ToTapePoolArrayOutputWithContext(context.Context) TapePoolArrayOutput }
TapePoolArrayInput is an input type that accepts TapePoolArray and TapePoolArrayOutput values. You can construct a concrete instance of `TapePoolArrayInput` via:
TapePoolArray{ TapePoolArgs{...} }
type TapePoolArrayOutput ¶
type TapePoolArrayOutput struct{ *pulumi.OutputState }
func (TapePoolArrayOutput) ElementType ¶
func (TapePoolArrayOutput) ElementType() reflect.Type
func (TapePoolArrayOutput) Index ¶
func (o TapePoolArrayOutput) Index(i pulumi.IntInput) TapePoolOutput
func (TapePoolArrayOutput) ToTapePoolArrayOutput ¶
func (o TapePoolArrayOutput) ToTapePoolArrayOutput() TapePoolArrayOutput
func (TapePoolArrayOutput) ToTapePoolArrayOutputWithContext ¶
func (o TapePoolArrayOutput) ToTapePoolArrayOutputWithContext(ctx context.Context) TapePoolArrayOutput
type TapePoolInput ¶
type TapePoolInput interface { pulumi.Input ToTapePoolOutput() TapePoolOutput ToTapePoolOutputWithContext(ctx context.Context) TapePoolOutput }
type TapePoolMap ¶
type TapePoolMap map[string]TapePoolInput
func (TapePoolMap) ElementType ¶
func (TapePoolMap) ElementType() reflect.Type
func (TapePoolMap) ToTapePoolMapOutput ¶
func (i TapePoolMap) ToTapePoolMapOutput() TapePoolMapOutput
func (TapePoolMap) ToTapePoolMapOutputWithContext ¶
func (i TapePoolMap) ToTapePoolMapOutputWithContext(ctx context.Context) TapePoolMapOutput
type TapePoolMapInput ¶
type TapePoolMapInput interface { pulumi.Input ToTapePoolMapOutput() TapePoolMapOutput ToTapePoolMapOutputWithContext(context.Context) TapePoolMapOutput }
TapePoolMapInput is an input type that accepts TapePoolMap and TapePoolMapOutput values. You can construct a concrete instance of `TapePoolMapInput` via:
TapePoolMap{ "key": TapePoolArgs{...} }
type TapePoolMapOutput ¶
type TapePoolMapOutput struct{ *pulumi.OutputState }
func (TapePoolMapOutput) ElementType ¶
func (TapePoolMapOutput) ElementType() reflect.Type
func (TapePoolMapOutput) MapIndex ¶
func (o TapePoolMapOutput) MapIndex(k pulumi.StringInput) TapePoolOutput
func (TapePoolMapOutput) ToTapePoolMapOutput ¶
func (o TapePoolMapOutput) ToTapePoolMapOutput() TapePoolMapOutput
func (TapePoolMapOutput) ToTapePoolMapOutputWithContext ¶
func (o TapePoolMapOutput) ToTapePoolMapOutputWithContext(ctx context.Context) TapePoolMapOutput
type TapePoolOutput ¶
type TapePoolOutput struct{ *pulumi.OutputState }
func (TapePoolOutput) Arn ¶
func (o TapePoolOutput) Arn() pulumi.StringOutput
Volume Amazon Resource Name (ARN), e.g., `aws_storagegateway_tape_pool.example arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678`.
func (TapePoolOutput) ElementType ¶
func (TapePoolOutput) ElementType() reflect.Type
func (TapePoolOutput) PoolName ¶
func (o TapePoolOutput) PoolName() pulumi.StringOutput
The name of the new custom tape pool.
func (TapePoolOutput) RetentionLockTimeInDays ¶
func (o TapePoolOutput) RetentionLockTimeInDays() pulumi.IntPtrOutput
Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days). Default value is 0.
func (TapePoolOutput) RetentionLockType ¶
func (o TapePoolOutput) RetentionLockType() pulumi.StringPtrOutput
Tape retention lock can be configured in two modes. When configured in governance mode, AWS accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root AWS account. Possible values are `COMPLIANCE`, `GOVERNANCE`, and `NONE`. Default value is `NONE`.
func (TapePoolOutput) StorageClass ¶
func (o TapePoolOutput) StorageClass() pulumi.StringOutput
The storage class that is associated with the new custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class that corresponds to the pool. Possible values are `DEEP_ARCHIVE` or `GLACIER`.
func (TapePoolOutput) Tags ¶
func (o TapePoolOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (TapePoolOutput) TagsAll ¶
func (o TapePoolOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (TapePoolOutput) ToTapePoolOutput ¶
func (o TapePoolOutput) ToTapePoolOutput() TapePoolOutput
func (TapePoolOutput) ToTapePoolOutputWithContext ¶
func (o TapePoolOutput) ToTapePoolOutputWithContext(ctx context.Context) TapePoolOutput
type TapePoolState ¶
type TapePoolState struct { // Volume Amazon Resource Name (ARN), e.g., `aws_storagegateway_tape_pool.example arn:aws:storagegateway:us-east-1:123456789012:tapepool/pool-12345678`. Arn pulumi.StringPtrInput // The name of the new custom tape pool. PoolName pulumi.StringPtrInput // Tape retention lock time is set in days. Tape retention lock can be enabled for up to 100 years (36,500 days). Default value is 0. RetentionLockTimeInDays pulumi.IntPtrInput // Tape retention lock can be configured in two modes. When configured in governance mode, AWS accounts with specific IAM permissions are authorized to remove the tape retention lock from archived virtual tapes. When configured in compliance mode, the tape retention lock cannot be removed by any user, including the root AWS account. Possible values are `COMPLIANCE`, `GOVERNANCE`, and `NONE`. Default value is `NONE`. RetentionLockType pulumi.StringPtrInput // The storage class that is associated with the new custom pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class that corresponds to the pool. Possible values are `DEEP_ARCHIVE` or `GLACIER`. StorageClass pulumi.StringPtrInput // Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (TapePoolState) ElementType ¶
func (TapePoolState) ElementType() reflect.Type
type UploadBuffer ¶
type UploadBuffer struct { pulumi.CustomResourceState // Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`. DiskId pulumi.StringOutput `pulumi:"diskId"` // Local disk path. For example, `/dev/nvme1n1`. DiskPath pulumi.StringOutput `pulumi:"diskPath"` // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringOutput `pulumi:"gatewayArn"` }
Manages an AWS Storage Gateway upload buffer.
> **NOTE:** The Storage Gateway API provides no method to remove an upload buffer disk. Destroying this resource does not perform any Storage Gateway actions.
## Example Usage ### Cached and VTL Gateway Type
```go 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 { testLocalDisk, err := storagegateway.GetLocalDisk(ctx, &storagegateway.GetLocalDiskArgs{ DiskNode: pulumi.StringRef(aws_volume_attachment.Test.Device_name), GatewayArn: aws_storagegateway_gateway.Test.Arn, }, nil) if err != nil { return err } _, err = storagegateway.NewUploadBuffer(ctx, "testUploadBuffer", &storagegateway.UploadBufferArgs{ DiskPath: *pulumi.String(testLocalDisk.DiskPath), GatewayArn: pulumi.Any(aws_storagegateway_gateway.Test.Arn), }) if err != nil { return err } return nil }) }
``` ### Stored Gateway Type
```go 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.GetLocalDisk(ctx, &storagegateway.GetLocalDiskArgs{ DiskNode: pulumi.StringRef(aws_volume_attachment.Test.Device_name), GatewayArn: aws_storagegateway_gateway.Test.Arn, }, nil) if err != nil { return err } _, err = storagegateway.NewUploadBuffer(ctx, "example", &storagegateway.UploadBufferArgs{ DiskId: pulumi.Any(data.Aws_storagegateway_local_disk.Example.Id), GatewayArn: pulumi.Any(aws_storagegateway_gateway.Example.Arn), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_storagegateway_upload_buffer.example id = "arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678:pci-0000:03:00.0-scsi-0:0:0:0" } Using `pulumi import`, import `aws_storagegateway_upload_buffer` using the gateway Amazon Resource Name (ARN) and local disk identifier separated with a colon (`:`). For exampleconsole % pulumi import aws_storagegateway_upload_buffer.example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678:pci-0000:03:00.0-scsi-0:0:0:0
func GetUploadBuffer ¶
func GetUploadBuffer(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UploadBufferState, opts ...pulumi.ResourceOption) (*UploadBuffer, error)
GetUploadBuffer gets an existing UploadBuffer 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 NewUploadBuffer ¶
func NewUploadBuffer(ctx *pulumi.Context, name string, args *UploadBufferArgs, opts ...pulumi.ResourceOption) (*UploadBuffer, error)
NewUploadBuffer registers a new resource with the given unique name, arguments, and options.
func (*UploadBuffer) ElementType ¶
func (*UploadBuffer) ElementType() reflect.Type
func (*UploadBuffer) ToUploadBufferOutput ¶
func (i *UploadBuffer) ToUploadBufferOutput() UploadBufferOutput
func (*UploadBuffer) ToUploadBufferOutputWithContext ¶
func (i *UploadBuffer) ToUploadBufferOutputWithContext(ctx context.Context) UploadBufferOutput
type UploadBufferArgs ¶
type UploadBufferArgs struct { // Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`. DiskId pulumi.StringPtrInput // Local disk path. For example, `/dev/nvme1n1`. DiskPath pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringInput }
The set of arguments for constructing a UploadBuffer resource.
func (UploadBufferArgs) ElementType ¶
func (UploadBufferArgs) ElementType() reflect.Type
type UploadBufferArray ¶
type UploadBufferArray []UploadBufferInput
func (UploadBufferArray) ElementType ¶
func (UploadBufferArray) ElementType() reflect.Type
func (UploadBufferArray) ToUploadBufferArrayOutput ¶
func (i UploadBufferArray) ToUploadBufferArrayOutput() UploadBufferArrayOutput
func (UploadBufferArray) ToUploadBufferArrayOutputWithContext ¶
func (i UploadBufferArray) ToUploadBufferArrayOutputWithContext(ctx context.Context) UploadBufferArrayOutput
type UploadBufferArrayInput ¶
type UploadBufferArrayInput interface { pulumi.Input ToUploadBufferArrayOutput() UploadBufferArrayOutput ToUploadBufferArrayOutputWithContext(context.Context) UploadBufferArrayOutput }
UploadBufferArrayInput is an input type that accepts UploadBufferArray and UploadBufferArrayOutput values. You can construct a concrete instance of `UploadBufferArrayInput` via:
UploadBufferArray{ UploadBufferArgs{...} }
type UploadBufferArrayOutput ¶
type UploadBufferArrayOutput struct{ *pulumi.OutputState }
func (UploadBufferArrayOutput) ElementType ¶
func (UploadBufferArrayOutput) ElementType() reflect.Type
func (UploadBufferArrayOutput) Index ¶
func (o UploadBufferArrayOutput) Index(i pulumi.IntInput) UploadBufferOutput
func (UploadBufferArrayOutput) ToUploadBufferArrayOutput ¶
func (o UploadBufferArrayOutput) ToUploadBufferArrayOutput() UploadBufferArrayOutput
func (UploadBufferArrayOutput) ToUploadBufferArrayOutputWithContext ¶
func (o UploadBufferArrayOutput) ToUploadBufferArrayOutputWithContext(ctx context.Context) UploadBufferArrayOutput
type UploadBufferInput ¶
type UploadBufferInput interface { pulumi.Input ToUploadBufferOutput() UploadBufferOutput ToUploadBufferOutputWithContext(ctx context.Context) UploadBufferOutput }
type UploadBufferMap ¶
type UploadBufferMap map[string]UploadBufferInput
func (UploadBufferMap) ElementType ¶
func (UploadBufferMap) ElementType() reflect.Type
func (UploadBufferMap) ToUploadBufferMapOutput ¶
func (i UploadBufferMap) ToUploadBufferMapOutput() UploadBufferMapOutput
func (UploadBufferMap) ToUploadBufferMapOutputWithContext ¶
func (i UploadBufferMap) ToUploadBufferMapOutputWithContext(ctx context.Context) UploadBufferMapOutput
type UploadBufferMapInput ¶
type UploadBufferMapInput interface { pulumi.Input ToUploadBufferMapOutput() UploadBufferMapOutput ToUploadBufferMapOutputWithContext(context.Context) UploadBufferMapOutput }
UploadBufferMapInput is an input type that accepts UploadBufferMap and UploadBufferMapOutput values. You can construct a concrete instance of `UploadBufferMapInput` via:
UploadBufferMap{ "key": UploadBufferArgs{...} }
type UploadBufferMapOutput ¶
type UploadBufferMapOutput struct{ *pulumi.OutputState }
func (UploadBufferMapOutput) ElementType ¶
func (UploadBufferMapOutput) ElementType() reflect.Type
func (UploadBufferMapOutput) MapIndex ¶
func (o UploadBufferMapOutput) MapIndex(k pulumi.StringInput) UploadBufferOutput
func (UploadBufferMapOutput) ToUploadBufferMapOutput ¶
func (o UploadBufferMapOutput) ToUploadBufferMapOutput() UploadBufferMapOutput
func (UploadBufferMapOutput) ToUploadBufferMapOutputWithContext ¶
func (o UploadBufferMapOutput) ToUploadBufferMapOutputWithContext(ctx context.Context) UploadBufferMapOutput
type UploadBufferOutput ¶
type UploadBufferOutput struct{ *pulumi.OutputState }
func (UploadBufferOutput) DiskId ¶
func (o UploadBufferOutput) DiskId() pulumi.StringOutput
Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`.
func (UploadBufferOutput) DiskPath ¶
func (o UploadBufferOutput) DiskPath() pulumi.StringOutput
Local disk path. For example, `/dev/nvme1n1`.
func (UploadBufferOutput) ElementType ¶
func (UploadBufferOutput) ElementType() reflect.Type
func (UploadBufferOutput) GatewayArn ¶
func (o UploadBufferOutput) GatewayArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the gateway.
func (UploadBufferOutput) ToUploadBufferOutput ¶
func (o UploadBufferOutput) ToUploadBufferOutput() UploadBufferOutput
func (UploadBufferOutput) ToUploadBufferOutputWithContext ¶
func (o UploadBufferOutput) ToUploadBufferOutputWithContext(ctx context.Context) UploadBufferOutput
type UploadBufferState ¶
type UploadBufferState struct { // Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`. DiskId pulumi.StringPtrInput // Local disk path. For example, `/dev/nvme1n1`. DiskPath pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringPtrInput }
func (UploadBufferState) ElementType ¶
func (UploadBufferState) ElementType() reflect.Type
type WorkingStorage ¶
type WorkingStorage struct { pulumi.CustomResourceState // Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`. DiskId pulumi.StringOutput `pulumi:"diskId"` // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringOutput `pulumi:"gatewayArn"` }
Manages an AWS Storage Gateway working storage.
> **NOTE:** The Storage Gateway API provides no method to remove a working storage disk. Destroying this resource does not perform any Storage Gateway actions.
## Example Usage
```go 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.NewWorkingStorage(ctx, "example", &storagegateway.WorkingStorageArgs{ DiskId: pulumi.Any(data.Aws_storagegateway_local_disk.Example.Id), GatewayArn: pulumi.Any(aws_storagegateway_gateway.Example.Arn), }) if err != nil { return err } return nil }) }
```
## Import
terraform import {
to = aws_storagegateway_working_storage.example id = "arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678:pci-0000:03:00.0-scsi-0:0:0:0" } Using `pulumi import`, import `aws_storagegateway_working_storage` using the gateway Amazon Resource Name (ARN) and local disk identifier separated with a colon (`:`). For exampleconsole % pulumi import aws_storagegateway_working_storage.example arn:aws:storagegateway:us-east-1:123456789012:gateway/sgw-12345678:pci-0000:03:00.0-scsi-0:0:0:0
func GetWorkingStorage ¶
func GetWorkingStorage(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkingStorageState, opts ...pulumi.ResourceOption) (*WorkingStorage, error)
GetWorkingStorage gets an existing WorkingStorage 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 NewWorkingStorage ¶
func NewWorkingStorage(ctx *pulumi.Context, name string, args *WorkingStorageArgs, opts ...pulumi.ResourceOption) (*WorkingStorage, error)
NewWorkingStorage registers a new resource with the given unique name, arguments, and options.
func (*WorkingStorage) ElementType ¶
func (*WorkingStorage) ElementType() reflect.Type
func (*WorkingStorage) ToWorkingStorageOutput ¶
func (i *WorkingStorage) ToWorkingStorageOutput() WorkingStorageOutput
func (*WorkingStorage) ToWorkingStorageOutputWithContext ¶
func (i *WorkingStorage) ToWorkingStorageOutputWithContext(ctx context.Context) WorkingStorageOutput
type WorkingStorageArgs ¶
type WorkingStorageArgs struct { // Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`. DiskId pulumi.StringInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringInput }
The set of arguments for constructing a WorkingStorage resource.
func (WorkingStorageArgs) ElementType ¶
func (WorkingStorageArgs) ElementType() reflect.Type
type WorkingStorageArray ¶
type WorkingStorageArray []WorkingStorageInput
func (WorkingStorageArray) ElementType ¶
func (WorkingStorageArray) ElementType() reflect.Type
func (WorkingStorageArray) ToWorkingStorageArrayOutput ¶
func (i WorkingStorageArray) ToWorkingStorageArrayOutput() WorkingStorageArrayOutput
func (WorkingStorageArray) ToWorkingStorageArrayOutputWithContext ¶
func (i WorkingStorageArray) ToWorkingStorageArrayOutputWithContext(ctx context.Context) WorkingStorageArrayOutput
type WorkingStorageArrayInput ¶
type WorkingStorageArrayInput interface { pulumi.Input ToWorkingStorageArrayOutput() WorkingStorageArrayOutput ToWorkingStorageArrayOutputWithContext(context.Context) WorkingStorageArrayOutput }
WorkingStorageArrayInput is an input type that accepts WorkingStorageArray and WorkingStorageArrayOutput values. You can construct a concrete instance of `WorkingStorageArrayInput` via:
WorkingStorageArray{ WorkingStorageArgs{...} }
type WorkingStorageArrayOutput ¶
type WorkingStorageArrayOutput struct{ *pulumi.OutputState }
func (WorkingStorageArrayOutput) ElementType ¶
func (WorkingStorageArrayOutput) ElementType() reflect.Type
func (WorkingStorageArrayOutput) Index ¶
func (o WorkingStorageArrayOutput) Index(i pulumi.IntInput) WorkingStorageOutput
func (WorkingStorageArrayOutput) ToWorkingStorageArrayOutput ¶
func (o WorkingStorageArrayOutput) ToWorkingStorageArrayOutput() WorkingStorageArrayOutput
func (WorkingStorageArrayOutput) ToWorkingStorageArrayOutputWithContext ¶
func (o WorkingStorageArrayOutput) ToWorkingStorageArrayOutputWithContext(ctx context.Context) WorkingStorageArrayOutput
type WorkingStorageInput ¶
type WorkingStorageInput interface { pulumi.Input ToWorkingStorageOutput() WorkingStorageOutput ToWorkingStorageOutputWithContext(ctx context.Context) WorkingStorageOutput }
type WorkingStorageMap ¶
type WorkingStorageMap map[string]WorkingStorageInput
func (WorkingStorageMap) ElementType ¶
func (WorkingStorageMap) ElementType() reflect.Type
func (WorkingStorageMap) ToWorkingStorageMapOutput ¶
func (i WorkingStorageMap) ToWorkingStorageMapOutput() WorkingStorageMapOutput
func (WorkingStorageMap) ToWorkingStorageMapOutputWithContext ¶
func (i WorkingStorageMap) ToWorkingStorageMapOutputWithContext(ctx context.Context) WorkingStorageMapOutput
type WorkingStorageMapInput ¶
type WorkingStorageMapInput interface { pulumi.Input ToWorkingStorageMapOutput() WorkingStorageMapOutput ToWorkingStorageMapOutputWithContext(context.Context) WorkingStorageMapOutput }
WorkingStorageMapInput is an input type that accepts WorkingStorageMap and WorkingStorageMapOutput values. You can construct a concrete instance of `WorkingStorageMapInput` via:
WorkingStorageMap{ "key": WorkingStorageArgs{...} }
type WorkingStorageMapOutput ¶
type WorkingStorageMapOutput struct{ *pulumi.OutputState }
func (WorkingStorageMapOutput) ElementType ¶
func (WorkingStorageMapOutput) ElementType() reflect.Type
func (WorkingStorageMapOutput) MapIndex ¶
func (o WorkingStorageMapOutput) MapIndex(k pulumi.StringInput) WorkingStorageOutput
func (WorkingStorageMapOutput) ToWorkingStorageMapOutput ¶
func (o WorkingStorageMapOutput) ToWorkingStorageMapOutput() WorkingStorageMapOutput
func (WorkingStorageMapOutput) ToWorkingStorageMapOutputWithContext ¶
func (o WorkingStorageMapOutput) ToWorkingStorageMapOutputWithContext(ctx context.Context) WorkingStorageMapOutput
type WorkingStorageOutput ¶
type WorkingStorageOutput struct{ *pulumi.OutputState }
func (WorkingStorageOutput) DiskId ¶
func (o WorkingStorageOutput) DiskId() pulumi.StringOutput
Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`.
func (WorkingStorageOutput) ElementType ¶
func (WorkingStorageOutput) ElementType() reflect.Type
func (WorkingStorageOutput) GatewayArn ¶
func (o WorkingStorageOutput) GatewayArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the gateway.
func (WorkingStorageOutput) ToWorkingStorageOutput ¶
func (o WorkingStorageOutput) ToWorkingStorageOutput() WorkingStorageOutput
func (WorkingStorageOutput) ToWorkingStorageOutputWithContext ¶
func (o WorkingStorageOutput) ToWorkingStorageOutputWithContext(ctx context.Context) WorkingStorageOutput
type WorkingStorageState ¶
type WorkingStorageState struct { // Local disk identifier. For example, `pci-0000:03:00.0-scsi-0:0:0:0`. DiskId pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the gateway. GatewayArn pulumi.StringPtrInput }
func (WorkingStorageState) ElementType ¶
func (WorkingStorageState) ElementType() reflect.Type