Documentation ¶
Overview ¶
Prebuilt docker Provider for Terraform CDK (cdktf)
Index ¶
- func Config_IsConstruct(x interface{}) *bool
- func Config_TfResourceType() *string
- func Container_IsConstruct(x interface{}) *bool
- func Container_TfResourceType() *string
- func DataDockerImage_IsConstruct(x interface{}) *bool
- func DataDockerImage_TfResourceType() *string
- func DataDockerNetwork_IsConstruct(x interface{}) *bool
- func DataDockerNetwork_TfResourceType() *string
- func DataDockerPlugin_IsConstruct(x interface{}) *bool
- func DataDockerPlugin_TfResourceType() *string
- func DataDockerRegistryImage_IsConstruct(x interface{}) *bool
- func DataDockerRegistryImage_TfResourceType() *string
- func DockerProvider_IsConstruct(x interface{}) *bool
- func DockerProvider_TfResourceType() *string
- func Image_IsConstruct(x interface{}) *bool
- func Image_TfResourceType() *string
- func Network_IsConstruct(x interface{}) *bool
- func Network_TfResourceType() *string
- func NewConfig_Override(c Config, scope constructs.Construct, id *string, config *ConfigConfig)
- func NewContainerCapabilitiesOutputReference_Override(c ContainerCapabilitiesOutputReference, ...)
- func NewContainerDevicesList_Override(c ContainerDevicesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerDevicesOutputReference_Override(c ContainerDevicesOutputReference, ...)
- func NewContainerHealthcheckOutputReference_Override(c ContainerHealthcheckOutputReference, ...)
- func NewContainerHostList_Override(c ContainerHostList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerHostOutputReference_Override(c ContainerHostOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerLabelsList_Override(c ContainerLabelsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerLabelsOutputReference_Override(c ContainerLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerMountsBindOptionsOutputReference_Override(c ContainerMountsBindOptionsOutputReference, ...)
- func NewContainerMountsList_Override(c ContainerMountsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerMountsOutputReference_Override(c ContainerMountsOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerMountsTmpfsOptionsOutputReference_Override(c ContainerMountsTmpfsOptionsOutputReference, ...)
- func NewContainerMountsVolumeOptionsLabelsList_Override(c ContainerMountsVolumeOptionsLabelsList, ...)
- func NewContainerMountsVolumeOptionsLabelsOutputReference_Override(c ContainerMountsVolumeOptionsLabelsOutputReference, ...)
- func NewContainerMountsVolumeOptionsOutputReference_Override(c ContainerMountsVolumeOptionsOutputReference, ...)
- func NewContainerNetworkDataList_Override(c ContainerNetworkDataList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerNetworkDataOutputReference_Override(c ContainerNetworkDataOutputReference, ...)
- func NewContainerNetworksAdvancedList_Override(c ContainerNetworksAdvancedList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerNetworksAdvancedOutputReference_Override(c ContainerNetworksAdvancedOutputReference, ...)
- func NewContainerPortsList_Override(c ContainerPortsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerPortsOutputReference_Override(c ContainerPortsOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerUlimitList_Override(c ContainerUlimitList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerUlimitOutputReference_Override(c ContainerUlimitOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerUploadList_Override(c ContainerUploadList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerUploadOutputReference_Override(c ContainerUploadOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerVolumesList_Override(c ContainerVolumesList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewContainerVolumesOutputReference_Override(c ContainerVolumesOutputReference, ...)
- func NewContainer_Override(c Container, scope constructs.Construct, id *string, config *ContainerConfig)
- func NewDataDockerImage_Override(d DataDockerImage, scope constructs.Construct, id *string, ...)
- func NewDataDockerNetworkIpamConfigList_Override(d DataDockerNetworkIpamConfigList, ...)
- func NewDataDockerNetworkIpamConfigOutputReference_Override(d DataDockerNetworkIpamConfigOutputReference, ...)
- func NewDataDockerNetwork_Override(d DataDockerNetwork, scope constructs.Construct, id *string, ...)
- func NewDataDockerPlugin_Override(d DataDockerPlugin, scope constructs.Construct, id *string, ...)
- func NewDataDockerRegistryImage_Override(d DataDockerRegistryImage, scope constructs.Construct, id *string, ...)
- func NewDockerProvider_Override(d DockerProvider, scope constructs.Construct, id *string, ...)
- func NewImageBuildOutputReference_Override(i ImageBuildOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewImage_Override(i Image, scope constructs.Construct, id *string, config *ImageConfig)
- func NewNetworkIpamConfigList_Override(n NetworkIpamConfigList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewNetworkIpamConfigOutputReference_Override(n NetworkIpamConfigOutputReference, ...)
- func NewNetworkLabelsList_Override(n NetworkLabelsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewNetworkLabelsOutputReference_Override(n NetworkLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewNetwork_Override(n Network, scope constructs.Construct, id *string, config *NetworkConfig)
- func NewPluginGrantPermissionsList_Override(p PluginGrantPermissionsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewPluginGrantPermissionsOutputReference_Override(p PluginGrantPermissionsOutputReference, ...)
- func NewPlugin_Override(p Plugin, scope constructs.Construct, id *string, config *PluginConfig)
- func NewRegistryImageBuildAuthConfigList_Override(r RegistryImageBuildAuthConfigList, ...)
- func NewRegistryImageBuildAuthConfigOutputReference_Override(r RegistryImageBuildAuthConfigOutputReference, ...)
- func NewRegistryImageBuildOutputReference_Override(r RegistryImageBuildOutputReference, ...)
- func NewRegistryImageBuildUlimitList_Override(r RegistryImageBuildUlimitList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewRegistryImageBuildUlimitOutputReference_Override(r RegistryImageBuildUlimitOutputReference, ...)
- func NewRegistryImage_Override(r RegistryImage, scope constructs.Construct, id *string, ...)
- func NewSecretLabelsList_Override(s SecretLabelsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSecretLabelsOutputReference_Override(s SecretLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewSecret_Override(s Secret, scope constructs.Construct, id *string, config *SecretConfig)
- func NewServiceAuthOutputReference_Override(s ServiceAuthOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceConvergeConfigOutputReference_Override(s ServiceConvergeConfigOutputReference, ...)
- func NewServiceEndpointSpecOutputReference_Override(s ServiceEndpointSpecOutputReference, ...)
- func NewServiceEndpointSpecPortsList_Override(s ServiceEndpointSpecPortsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceEndpointSpecPortsOutputReference_Override(s ServiceEndpointSpecPortsOutputReference, ...)
- func NewServiceLabelsList_Override(s ServiceLabelsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceLabelsOutputReference_Override(s ServiceLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceModeOutputReference_Override(s ServiceModeOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceModeReplicatedOutputReference_Override(s ServiceModeReplicatedOutputReference, ...)
- func NewServiceRollbackConfigOutputReference_Override(s ServiceRollbackConfigOutputReference, ...)
- func NewServiceTaskSpecContainerSpecConfigsList_Override(s ServiceTaskSpecContainerSpecConfigsList, ...)
- func NewServiceTaskSpecContainerSpecConfigsOutputReference_Override(s ServiceTaskSpecContainerSpecConfigsOutputReference, ...)
- func NewServiceTaskSpecContainerSpecDnsConfigOutputReference_Override(s ServiceTaskSpecContainerSpecDnsConfigOutputReference, ...)
- func NewServiceTaskSpecContainerSpecHealthcheckOutputReference_Override(s ServiceTaskSpecContainerSpecHealthcheckOutputReference, ...)
- func NewServiceTaskSpecContainerSpecHostsList_Override(s ServiceTaskSpecContainerSpecHostsList, ...)
- func NewServiceTaskSpecContainerSpecHostsOutputReference_Override(s ServiceTaskSpecContainerSpecHostsOutputReference, ...)
- func NewServiceTaskSpecContainerSpecLabelsList_Override(s ServiceTaskSpecContainerSpecLabelsList, ...)
- func NewServiceTaskSpecContainerSpecLabelsOutputReference_Override(s ServiceTaskSpecContainerSpecLabelsOutputReference, ...)
- func NewServiceTaskSpecContainerSpecMountsBindOptionsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference, ...)
- func NewServiceTaskSpecContainerSpecMountsList_Override(s ServiceTaskSpecContainerSpecMountsList, ...)
- func NewServiceTaskSpecContainerSpecMountsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsOutputReference, ...)
- func NewServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference, ...)
- func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList_Override(s ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList, ...)
- func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference, ...)
- func NewServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference, ...)
- func NewServiceTaskSpecContainerSpecOutputReference_Override(s ServiceTaskSpecContainerSpecOutputReference, ...)
- func NewServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference_Override(s ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference, ...)
- func NewServiceTaskSpecContainerSpecPrivilegesOutputReference_Override(s ServiceTaskSpecContainerSpecPrivilegesOutputReference, ...)
- func NewServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference_Override(s ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference, ...)
- func NewServiceTaskSpecContainerSpecSecretsList_Override(s ServiceTaskSpecContainerSpecSecretsList, ...)
- func NewServiceTaskSpecContainerSpecSecretsOutputReference_Override(s ServiceTaskSpecContainerSpecSecretsOutputReference, ...)
- func NewServiceTaskSpecLogDriverOutputReference_Override(s ServiceTaskSpecLogDriverOutputReference, ...)
- func NewServiceTaskSpecOutputReference_Override(s ServiceTaskSpecOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewServiceTaskSpecPlacementOutputReference_Override(s ServiceTaskSpecPlacementOutputReference, ...)
- func NewServiceTaskSpecPlacementPlatformsList_Override(s ServiceTaskSpecPlacementPlatformsList, ...)
- func NewServiceTaskSpecPlacementPlatformsOutputReference_Override(s ServiceTaskSpecPlacementPlatformsOutputReference, ...)
- func NewServiceTaskSpecResourcesLimitsOutputReference_Override(s ServiceTaskSpecResourcesLimitsOutputReference, ...)
- func NewServiceTaskSpecResourcesOutputReference_Override(s ServiceTaskSpecResourcesOutputReference, ...)
- func NewServiceTaskSpecResourcesReservationGenericResourcesOutputReference_Override(s ServiceTaskSpecResourcesReservationGenericResourcesOutputReference, ...)
- func NewServiceTaskSpecResourcesReservationOutputReference_Override(s ServiceTaskSpecResourcesReservationOutputReference, ...)
- func NewServiceTaskSpecRestartPolicyOutputReference_Override(s ServiceTaskSpecRestartPolicyOutputReference, ...)
- func NewServiceUpdateConfigOutputReference_Override(s ServiceUpdateConfigOutputReference, ...)
- func NewService_Override(s Service, scope constructs.Construct, id *string, config *ServiceConfig)
- func NewVolumeLabelsList_Override(v VolumeLabelsList, terraformResource cdktf.IInterpolatingParent, ...)
- func NewVolumeLabelsOutputReference_Override(v VolumeLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, ...)
- func NewVolume_Override(v Volume, scope constructs.Construct, id *string, config *VolumeConfig)
- func Plugin_IsConstruct(x interface{}) *bool
- func Plugin_TfResourceType() *string
- func RegistryImage_IsConstruct(x interface{}) *bool
- func RegistryImage_TfResourceType() *string
- func Secret_IsConstruct(x interface{}) *bool
- func Secret_TfResourceType() *string
- func Service_IsConstruct(x interface{}) *bool
- func Service_TfResourceType() *string
- func Volume_IsConstruct(x interface{}) *bool
- func Volume_TfResourceType() *string
- type Config
- type ConfigConfig
- type Container
- type ContainerCapabilities
- type ContainerCapabilitiesOutputReference
- type ContainerConfig
- type ContainerDevices
- type ContainerDevicesList
- type ContainerDevicesOutputReference
- type ContainerHealthcheck
- type ContainerHealthcheckOutputReference
- type ContainerHost
- type ContainerHostList
- type ContainerHostOutputReference
- type ContainerLabels
- type ContainerLabelsList
- type ContainerLabelsOutputReference
- type ContainerMounts
- type ContainerMountsBindOptions
- type ContainerMountsBindOptionsOutputReference
- type ContainerMountsList
- type ContainerMountsOutputReference
- type ContainerMountsTmpfsOptions
- type ContainerMountsTmpfsOptionsOutputReference
- type ContainerMountsVolumeOptions
- type ContainerMountsVolumeOptionsLabels
- type ContainerMountsVolumeOptionsLabelsList
- type ContainerMountsVolumeOptionsLabelsOutputReference
- type ContainerMountsVolumeOptionsOutputReference
- type ContainerNetworkData
- type ContainerNetworkDataList
- type ContainerNetworkDataOutputReference
- type ContainerNetworksAdvanced
- type ContainerNetworksAdvancedList
- type ContainerNetworksAdvancedOutputReference
- type ContainerPorts
- type ContainerPortsList
- type ContainerPortsOutputReference
- type ContainerUlimit
- type ContainerUlimitList
- type ContainerUlimitOutputReference
- type ContainerUpload
- type ContainerUploadList
- type ContainerUploadOutputReference
- type ContainerVolumes
- type ContainerVolumesList
- type ContainerVolumesOutputReference
- type DataDockerImage
- type DataDockerImageConfig
- type DataDockerNetwork
- type DataDockerNetworkConfig
- type DataDockerNetworkIpamConfig
- type DataDockerNetworkIpamConfigList
- type DataDockerNetworkIpamConfigOutputReference
- type DataDockerPlugin
- type DataDockerPluginConfig
- type DataDockerRegistryImage
- type DataDockerRegistryImageConfig
- type DockerProvider
- type DockerProviderConfig
- type DockerProviderRegistryAuth
- type Image
- type ImageBuild
- type ImageBuildOutputReference
- type ImageConfig
- type Network
- type NetworkConfig
- type NetworkIpamConfig
- type NetworkIpamConfigList
- type NetworkIpamConfigOutputReference
- type NetworkLabels
- type NetworkLabelsList
- type NetworkLabelsOutputReference
- type Plugin
- type PluginConfig
- type PluginGrantPermissions
- type PluginGrantPermissionsList
- type PluginGrantPermissionsOutputReference
- type RegistryImage
- type RegistryImageBuild
- type RegistryImageBuildAuthConfig
- type RegistryImageBuildAuthConfigList
- type RegistryImageBuildAuthConfigOutputReference
- type RegistryImageBuildOutputReference
- type RegistryImageBuildUlimit
- type RegistryImageBuildUlimitList
- type RegistryImageBuildUlimitOutputReference
- type RegistryImageConfig
- type Secret
- type SecretConfig
- type SecretLabels
- type SecretLabelsList
- type SecretLabelsOutputReference
- type Service
- type ServiceAuth
- type ServiceAuthOutputReference
- type ServiceConfig
- type ServiceConvergeConfig
- type ServiceConvergeConfigOutputReference
- type ServiceEndpointSpec
- type ServiceEndpointSpecOutputReference
- type ServiceEndpointSpecPorts
- type ServiceEndpointSpecPortsList
- type ServiceEndpointSpecPortsOutputReference
- type ServiceLabels
- type ServiceLabelsList
- type ServiceLabelsOutputReference
- type ServiceMode
- type ServiceModeOutputReference
- type ServiceModeReplicated
- type ServiceModeReplicatedOutputReference
- type ServiceRollbackConfig
- type ServiceRollbackConfigOutputReference
- type ServiceTaskSpec
- type ServiceTaskSpecContainerSpec
- type ServiceTaskSpecContainerSpecConfigs
- type ServiceTaskSpecContainerSpecConfigsList
- type ServiceTaskSpecContainerSpecConfigsOutputReference
- type ServiceTaskSpecContainerSpecDnsConfig
- type ServiceTaskSpecContainerSpecDnsConfigOutputReference
- type ServiceTaskSpecContainerSpecHealthcheck
- type ServiceTaskSpecContainerSpecHealthcheckOutputReference
- type ServiceTaskSpecContainerSpecHosts
- type ServiceTaskSpecContainerSpecHostsList
- type ServiceTaskSpecContainerSpecHostsOutputReference
- type ServiceTaskSpecContainerSpecLabels
- type ServiceTaskSpecContainerSpecLabelsList
- type ServiceTaskSpecContainerSpecLabelsOutputReference
- type ServiceTaskSpecContainerSpecMounts
- type ServiceTaskSpecContainerSpecMountsBindOptions
- type ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference
- type ServiceTaskSpecContainerSpecMountsList
- type ServiceTaskSpecContainerSpecMountsOutputReference
- type ServiceTaskSpecContainerSpecMountsTmpfsOptions
- type ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference
- type ServiceTaskSpecContainerSpecMountsVolumeOptions
- type ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels
- type ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList
- type ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference
- type ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference
- type ServiceTaskSpecContainerSpecOutputReference
- type ServiceTaskSpecContainerSpecPrivileges
- type ServiceTaskSpecContainerSpecPrivilegesCredentialSpec
- type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference
- type ServiceTaskSpecContainerSpecPrivilegesOutputReference
- type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext
- type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference
- type ServiceTaskSpecContainerSpecSecrets
- type ServiceTaskSpecContainerSpecSecretsList
- type ServiceTaskSpecContainerSpecSecretsOutputReference
- type ServiceTaskSpecLogDriver
- type ServiceTaskSpecLogDriverOutputReference
- type ServiceTaskSpecOutputReference
- type ServiceTaskSpecPlacement
- type ServiceTaskSpecPlacementOutputReference
- type ServiceTaskSpecPlacementPlatforms
- type ServiceTaskSpecPlacementPlatformsList
- type ServiceTaskSpecPlacementPlatformsOutputReference
- type ServiceTaskSpecResources
- type ServiceTaskSpecResourcesLimits
- type ServiceTaskSpecResourcesLimitsOutputReference
- type ServiceTaskSpecResourcesOutputReference
- type ServiceTaskSpecResourcesReservation
- type ServiceTaskSpecResourcesReservationGenericResources
- type ServiceTaskSpecResourcesReservationGenericResourcesOutputReference
- type ServiceTaskSpecResourcesReservationOutputReference
- type ServiceTaskSpecRestartPolicy
- type ServiceTaskSpecRestartPolicyOutputReference
- type ServiceUpdateConfig
- type ServiceUpdateConfigOutputReference
- type Volume
- type VolumeConfig
- type VolumeLabels
- type VolumeLabelsList
- type VolumeLabelsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Config_IsConstruct ¶
func Config_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func Config_TfResourceType ¶
func Config_TfResourceType() *string
func Container_IsConstruct ¶
func Container_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func Container_TfResourceType ¶
func Container_TfResourceType() *string
func DataDockerImage_IsConstruct ¶
func DataDockerImage_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func DataDockerImage_TfResourceType ¶
func DataDockerImage_TfResourceType() *string
func DataDockerNetwork_IsConstruct ¶
func DataDockerNetwork_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func DataDockerNetwork_TfResourceType ¶
func DataDockerNetwork_TfResourceType() *string
func DataDockerPlugin_IsConstruct ¶
func DataDockerPlugin_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func DataDockerPlugin_TfResourceType ¶
func DataDockerPlugin_TfResourceType() *string
func DataDockerRegistryImage_IsConstruct ¶
func DataDockerRegistryImage_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func DataDockerRegistryImage_TfResourceType ¶
func DataDockerRegistryImage_TfResourceType() *string
func DockerProvider_IsConstruct ¶
func DockerProvider_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func DockerProvider_TfResourceType ¶
func DockerProvider_TfResourceType() *string
func Image_IsConstruct ¶
func Image_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func Image_TfResourceType ¶
func Image_TfResourceType() *string
func Network_IsConstruct ¶
func Network_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func Network_TfResourceType ¶
func Network_TfResourceType() *string
func NewConfig_Override ¶
func NewConfig_Override(c Config, scope constructs.Construct, id *string, config *ConfigConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/r/config docker_config} Resource.
func NewContainerCapabilitiesOutputReference_Override ¶
func NewContainerCapabilitiesOutputReference_Override(c ContainerCapabilitiesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewContainerDevicesList_Override ¶
func NewContainerDevicesList_Override(c ContainerDevicesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerDevicesOutputReference_Override ¶
func NewContainerDevicesOutputReference_Override(c ContainerDevicesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerHealthcheckOutputReference_Override ¶
func NewContainerHealthcheckOutputReference_Override(c ContainerHealthcheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewContainerHostList_Override ¶
func NewContainerHostList_Override(c ContainerHostList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerHostOutputReference_Override ¶
func NewContainerHostOutputReference_Override(c ContainerHostOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerLabelsList_Override ¶
func NewContainerLabelsList_Override(c ContainerLabelsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerLabelsOutputReference_Override ¶
func NewContainerLabelsOutputReference_Override(c ContainerLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerMountsBindOptionsOutputReference_Override ¶
func NewContainerMountsBindOptionsOutputReference_Override(c ContainerMountsBindOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewContainerMountsList_Override ¶
func NewContainerMountsList_Override(c ContainerMountsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerMountsOutputReference_Override ¶
func NewContainerMountsOutputReference_Override(c ContainerMountsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerMountsTmpfsOptionsOutputReference_Override ¶
func NewContainerMountsTmpfsOptionsOutputReference_Override(c ContainerMountsTmpfsOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewContainerMountsVolumeOptionsLabelsList_Override ¶
func NewContainerMountsVolumeOptionsLabelsList_Override(c ContainerMountsVolumeOptionsLabelsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerMountsVolumeOptionsLabelsOutputReference_Override ¶
func NewContainerMountsVolumeOptionsLabelsOutputReference_Override(c ContainerMountsVolumeOptionsLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerMountsVolumeOptionsOutputReference_Override ¶
func NewContainerMountsVolumeOptionsOutputReference_Override(c ContainerMountsVolumeOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewContainerNetworkDataList_Override ¶
func NewContainerNetworkDataList_Override(c ContainerNetworkDataList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerNetworkDataOutputReference_Override ¶
func NewContainerNetworkDataOutputReference_Override(c ContainerNetworkDataOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerNetworksAdvancedList_Override ¶
func NewContainerNetworksAdvancedList_Override(c ContainerNetworksAdvancedList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerNetworksAdvancedOutputReference_Override ¶
func NewContainerNetworksAdvancedOutputReference_Override(c ContainerNetworksAdvancedOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerPortsList_Override ¶
func NewContainerPortsList_Override(c ContainerPortsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerPortsOutputReference_Override ¶
func NewContainerPortsOutputReference_Override(c ContainerPortsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerUlimitList_Override ¶
func NewContainerUlimitList_Override(c ContainerUlimitList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerUlimitOutputReference_Override ¶
func NewContainerUlimitOutputReference_Override(c ContainerUlimitOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerUploadList_Override ¶
func NewContainerUploadList_Override(c ContainerUploadList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerUploadOutputReference_Override ¶
func NewContainerUploadOutputReference_Override(c ContainerUploadOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainerVolumesList_Override ¶
func NewContainerVolumesList_Override(c ContainerVolumesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewContainerVolumesOutputReference_Override ¶
func NewContainerVolumesOutputReference_Override(c ContainerVolumesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewContainer_Override ¶
func NewContainer_Override(c Container, scope constructs.Construct, id *string, config *ContainerConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/r/container docker_container} Resource.
func NewDataDockerImage_Override ¶
func NewDataDockerImage_Override(d DataDockerImage, scope constructs.Construct, id *string, config *DataDockerImageConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/d/image docker_image} Data Source.
func NewDataDockerNetworkIpamConfigList_Override ¶
func NewDataDockerNetworkIpamConfigList_Override(d DataDockerNetworkIpamConfigList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewDataDockerNetworkIpamConfigOutputReference_Override ¶
func NewDataDockerNetworkIpamConfigOutputReference_Override(d DataDockerNetworkIpamConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewDataDockerNetwork_Override ¶
func NewDataDockerNetwork_Override(d DataDockerNetwork, scope constructs.Construct, id *string, config *DataDockerNetworkConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/d/network docker_network} Data Source.
func NewDataDockerPlugin_Override ¶
func NewDataDockerPlugin_Override(d DataDockerPlugin, scope constructs.Construct, id *string, config *DataDockerPluginConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/d/plugin docker_plugin} Data Source.
func NewDataDockerRegistryImage_Override ¶
func NewDataDockerRegistryImage_Override(d DataDockerRegistryImage, scope constructs.Construct, id *string, config *DataDockerRegistryImageConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/d/registry_image docker_registry_image} Data Source.
func NewDockerProvider_Override ¶
func NewDockerProvider_Override(d DockerProvider, scope constructs.Construct, id *string, config *DockerProviderConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker docker} Resource.
func NewImageBuildOutputReference_Override ¶
func NewImageBuildOutputReference_Override(i ImageBuildOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewImage_Override ¶
func NewImage_Override(i Image, scope constructs.Construct, id *string, config *ImageConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/r/image docker_image} Resource.
func NewNetworkIpamConfigList_Override ¶
func NewNetworkIpamConfigList_Override(n NetworkIpamConfigList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewNetworkIpamConfigOutputReference_Override ¶
func NewNetworkIpamConfigOutputReference_Override(n NetworkIpamConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewNetworkLabelsList_Override ¶
func NewNetworkLabelsList_Override(n NetworkLabelsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewNetworkLabelsOutputReference_Override ¶
func NewNetworkLabelsOutputReference_Override(n NetworkLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewNetwork_Override ¶
func NewNetwork_Override(n Network, scope constructs.Construct, id *string, config *NetworkConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/r/network docker_network} Resource.
func NewPluginGrantPermissionsList_Override ¶
func NewPluginGrantPermissionsList_Override(p PluginGrantPermissionsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewPluginGrantPermissionsOutputReference_Override ¶
func NewPluginGrantPermissionsOutputReference_Override(p PluginGrantPermissionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewPlugin_Override ¶
func NewPlugin_Override(p Plugin, scope constructs.Construct, id *string, config *PluginConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/r/plugin docker_plugin} Resource.
func NewRegistryImageBuildAuthConfigList_Override ¶
func NewRegistryImageBuildAuthConfigList_Override(r RegistryImageBuildAuthConfigList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewRegistryImageBuildAuthConfigOutputReference_Override ¶
func NewRegistryImageBuildAuthConfigOutputReference_Override(r RegistryImageBuildAuthConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewRegistryImageBuildOutputReference_Override ¶
func NewRegistryImageBuildOutputReference_Override(r RegistryImageBuildOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewRegistryImageBuildUlimitList_Override ¶
func NewRegistryImageBuildUlimitList_Override(r RegistryImageBuildUlimitList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewRegistryImageBuildUlimitOutputReference_Override ¶
func NewRegistryImageBuildUlimitOutputReference_Override(r RegistryImageBuildUlimitOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewRegistryImage_Override ¶
func NewRegistryImage_Override(r RegistryImage, scope constructs.Construct, id *string, config *RegistryImageConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/r/registry_image docker_registry_image} Resource.
func NewSecretLabelsList_Override ¶
func NewSecretLabelsList_Override(s SecretLabelsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewSecretLabelsOutputReference_Override ¶
func NewSecretLabelsOutputReference_Override(s SecretLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewSecret_Override ¶
func NewSecret_Override(s Secret, scope constructs.Construct, id *string, config *SecretConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/r/secret docker_secret} Resource.
func NewServiceAuthOutputReference_Override ¶
func NewServiceAuthOutputReference_Override(s ServiceAuthOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceConvergeConfigOutputReference_Override ¶
func NewServiceConvergeConfigOutputReference_Override(s ServiceConvergeConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceEndpointSpecOutputReference_Override ¶
func NewServiceEndpointSpecOutputReference_Override(s ServiceEndpointSpecOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceEndpointSpecPortsList_Override ¶
func NewServiceEndpointSpecPortsList_Override(s ServiceEndpointSpecPortsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceEndpointSpecPortsOutputReference_Override ¶
func NewServiceEndpointSpecPortsOutputReference_Override(s ServiceEndpointSpecPortsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceLabelsList_Override ¶
func NewServiceLabelsList_Override(s ServiceLabelsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceLabelsOutputReference_Override ¶
func NewServiceLabelsOutputReference_Override(s ServiceLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceModeOutputReference_Override ¶
func NewServiceModeOutputReference_Override(s ServiceModeOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceModeReplicatedOutputReference_Override ¶
func NewServiceModeReplicatedOutputReference_Override(s ServiceModeReplicatedOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceRollbackConfigOutputReference_Override ¶
func NewServiceRollbackConfigOutputReference_Override(s ServiceRollbackConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecConfigsList_Override ¶
func NewServiceTaskSpecContainerSpecConfigsList_Override(s ServiceTaskSpecContainerSpecConfigsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceTaskSpecContainerSpecConfigsOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecConfigsOutputReference_Override(s ServiceTaskSpecContainerSpecConfigsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceTaskSpecContainerSpecDnsConfigOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecDnsConfigOutputReference_Override(s ServiceTaskSpecContainerSpecDnsConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecHealthcheckOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecHealthcheckOutputReference_Override(s ServiceTaskSpecContainerSpecHealthcheckOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecHostsList_Override ¶
func NewServiceTaskSpecContainerSpecHostsList_Override(s ServiceTaskSpecContainerSpecHostsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceTaskSpecContainerSpecHostsOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecHostsOutputReference_Override(s ServiceTaskSpecContainerSpecHostsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceTaskSpecContainerSpecLabelsList_Override ¶
func NewServiceTaskSpecContainerSpecLabelsList_Override(s ServiceTaskSpecContainerSpecLabelsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceTaskSpecContainerSpecLabelsOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecLabelsOutputReference_Override(s ServiceTaskSpecContainerSpecLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceTaskSpecContainerSpecMountsBindOptionsOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecMountsBindOptionsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecMountsList_Override ¶
func NewServiceTaskSpecContainerSpecMountsList_Override(s ServiceTaskSpecContainerSpecMountsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceTaskSpecContainerSpecMountsOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecMountsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList_Override ¶
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList_Override(s ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference_Override(s ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecOutputReference_Override(s ServiceTaskSpecContainerSpecOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference_Override(s ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecPrivilegesOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecPrivilegesOutputReference_Override(s ServiceTaskSpecContainerSpecPrivilegesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference_Override(s ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecContainerSpecSecretsList_Override ¶
func NewServiceTaskSpecContainerSpecSecretsList_Override(s ServiceTaskSpecContainerSpecSecretsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceTaskSpecContainerSpecSecretsOutputReference_Override ¶
func NewServiceTaskSpecContainerSpecSecretsOutputReference_Override(s ServiceTaskSpecContainerSpecSecretsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceTaskSpecLogDriverOutputReference_Override ¶
func NewServiceTaskSpecLogDriverOutputReference_Override(s ServiceTaskSpecLogDriverOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecOutputReference_Override ¶
func NewServiceTaskSpecOutputReference_Override(s ServiceTaskSpecOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecPlacementOutputReference_Override ¶
func NewServiceTaskSpecPlacementOutputReference_Override(s ServiceTaskSpecPlacementOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecPlacementPlatformsList_Override ¶
func NewServiceTaskSpecPlacementPlatformsList_Override(s ServiceTaskSpecPlacementPlatformsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewServiceTaskSpecPlacementPlatformsOutputReference_Override ¶
func NewServiceTaskSpecPlacementPlatformsOutputReference_Override(s ServiceTaskSpecPlacementPlatformsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewServiceTaskSpecResourcesLimitsOutputReference_Override ¶
func NewServiceTaskSpecResourcesLimitsOutputReference_Override(s ServiceTaskSpecResourcesLimitsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecResourcesOutputReference_Override ¶
func NewServiceTaskSpecResourcesOutputReference_Override(s ServiceTaskSpecResourcesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecResourcesReservationGenericResourcesOutputReference_Override ¶
func NewServiceTaskSpecResourcesReservationGenericResourcesOutputReference_Override(s ServiceTaskSpecResourcesReservationGenericResourcesOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecResourcesReservationOutputReference_Override ¶
func NewServiceTaskSpecResourcesReservationOutputReference_Override(s ServiceTaskSpecResourcesReservationOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceTaskSpecRestartPolicyOutputReference_Override ¶
func NewServiceTaskSpecRestartPolicyOutputReference_Override(s ServiceTaskSpecRestartPolicyOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewServiceUpdateConfigOutputReference_Override ¶
func NewServiceUpdateConfigOutputReference_Override(s ServiceUpdateConfigOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewService_Override ¶
func NewService_Override(s Service, scope constructs.Construct, id *string, config *ServiceConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/r/service docker_service} Resource.
func NewVolumeLabelsList_Override ¶
func NewVolumeLabelsList_Override(v VolumeLabelsList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool)
func NewVolumeLabelsOutputReference_Override ¶
func NewVolumeLabelsOutputReference_Override(v VolumeLabelsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool)
func NewVolume_Override ¶
func NewVolume_Override(v Volume, scope constructs.Construct, id *string, config *VolumeConfig)
Create a new {@link https://www.terraform.io/docs/providers/docker/r/volume docker_volume} Resource.
func Plugin_IsConstruct ¶
func Plugin_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func Plugin_TfResourceType ¶
func Plugin_TfResourceType() *string
func RegistryImage_IsConstruct ¶
func RegistryImage_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func RegistryImage_TfResourceType ¶
func RegistryImage_TfResourceType() *string
func Secret_IsConstruct ¶
func Secret_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func Secret_TfResourceType ¶
func Secret_TfResourceType() *string
func Service_IsConstruct ¶
func Service_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func Service_TfResourceType ¶
func Service_TfResourceType() *string
func Volume_IsConstruct ¶
func Volume_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func Volume_TfResourceType ¶
func Volume_TfResourceType() *string
Types ¶
type Config ¶
type Config interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) Data() *string SetData(val *string) DataInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/r/config docker_config}.
func NewConfig ¶
func NewConfig(scope constructs.Construct, id *string, config *ConfigConfig) Config
Create a new {@link https://www.terraform.io/docs/providers/docker/r/config docker_config} Resource.
type ConfigConfig ¶
type ConfigConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Base64-url-safe-encoded config data. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/config#data Config#data} Data *string `field:"required" json:"data" yaml:"data"` // User-defined name of the config. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/config#name Config#name} Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/config#id Config#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` }
type Container ¶
type Container interface { cdktf.TerraformResource Attach() interface{} SetAttach(val interface{}) AttachInput() interface{} Bridge() *string Capabilities() ContainerCapabilitiesOutputReference CapabilitiesInput() *ContainerCapabilities // Experimental. CdktfStack() cdktf.TerraformStack Command() *[]*string SetCommand(val *[]*string) CommandInput() *[]*string // Experimental. ConstructNodeMetadata() *map[string]interface{} ContainerLogs() *string // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CpuSet() *string SetCpuSet(val *string) CpuSetInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) DestroyGraceSeconds() *float64 SetDestroyGraceSeconds(val *float64) DestroyGraceSecondsInput() *float64 Devices() ContainerDevicesList DevicesInput() interface{} Dns() *[]*string SetDns(val *[]*string) DnsInput() *[]*string DnsOpts() *[]*string SetDnsOpts(val *[]*string) DnsOptsInput() *[]*string DnsSearch() *[]*string SetDnsSearch(val *[]*string) DnsSearchInput() *[]*string Domainname() *string SetDomainname(val *string) DomainnameInput() *string Entrypoint() *[]*string SetEntrypoint(val *[]*string) EntrypointInput() *[]*string Env() *[]*string SetEnv(val *[]*string) EnvInput() *[]*string ExitCode() *float64 // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Gateway() *string Gpus() *string SetGpus(val *string) GpusInput() *string GroupAdd() *[]*string SetGroupAdd(val *[]*string) GroupAddInput() *[]*string Healthcheck() ContainerHealthcheckOutputReference HealthcheckInput() *ContainerHealthcheck Host() ContainerHostList HostInput() interface{} Hostname() *string SetHostname(val *string) HostnameInput() *string Id() *string SetId(val *string) IdInput() *string Image() *string SetImage(val *string) ImageInput() *string Init() interface{} SetInit(val interface{}) InitInput() interface{} IpAddress() *string IpcMode() *string SetIpcMode(val *string) IpcModeInput() *string IpPrefixLength() *float64 Labels() ContainerLabelsList LabelsInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Links() *[]*string SetLinks(val *[]*string) LinksInput() *[]*string LogDriver() *string SetLogDriver(val *string) LogDriverInput() *string LogOpts() *map[string]*string SetLogOpts(val *map[string]*string) LogOptsInput() *map[string]*string Logs() interface{} SetLogs(val interface{}) LogsInput() interface{} MaxRetryCount() *float64 SetMaxRetryCount(val *float64) MaxRetryCountInput() *float64 Memory() *float64 SetMemory(val *float64) MemoryInput() *float64 MemorySwap() *float64 SetMemorySwap(val *float64) MemorySwapInput() *float64 Mounts() ContainerMountsList MountsInput() interface{} MustRun() interface{} SetMustRun(val interface{}) MustRunInput() interface{} Name() *string SetName(val *string) NameInput() *string NetworkAlias() *[]*string SetNetworkAlias(val *[]*string) NetworkAliasInput() *[]*string NetworkData() ContainerNetworkDataList NetworkMode() *string SetNetworkMode(val *string) NetworkModeInput() *string Networks() *[]*string SetNetworks(val *[]*string) NetworksAdvanced() ContainerNetworksAdvancedList NetworksAdvancedInput() interface{} NetworksInput() *[]*string // The tree node. Node() constructs.Node PidMode() *string SetPidMode(val *string) PidModeInput() *string Ports() ContainerPortsList PortsInput() interface{} Privileged() interface{} SetPrivileged(val interface{}) PrivilegedInput() interface{} // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) PublishAllPorts() interface{} SetPublishAllPorts(val interface{}) PublishAllPortsInput() interface{} // Experimental. RawOverrides() interface{} ReadOnly() interface{} SetReadOnly(val interface{}) ReadOnlyInput() interface{} RemoveVolumes() interface{} SetRemoveVolumes(val interface{}) RemoveVolumesInput() interface{} Restart() *string SetRestart(val *string) RestartInput() *string Rm() interface{} SetRm(val interface{}) RmInput() interface{} Runtime() *string SetRuntime(val *string) RuntimeInput() *string SecurityOpts() *[]*string SetSecurityOpts(val *[]*string) SecurityOptsInput() *[]*string ShmSize() *float64 SetShmSize(val *float64) ShmSizeInput() *float64 Start() interface{} SetStart(val interface{}) StartInput() interface{} StdinOpen() interface{} SetStdinOpen(val interface{}) StdinOpenInput() interface{} StopSignal() *string SetStopSignal(val *string) StopSignalInput() *string StopTimeout() *float64 SetStopTimeout(val *float64) StopTimeoutInput() *float64 StorageOpts() *map[string]*string SetStorageOpts(val *map[string]*string) StorageOptsInput() *map[string]*string Sysctls() *map[string]*string SetSysctls(val *map[string]*string) SysctlsInput() *map[string]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Tmpfs() *map[string]*string SetTmpfs(val *map[string]*string) TmpfsInput() *map[string]*string Tty() interface{} SetTty(val interface{}) TtyInput() interface{} Ulimit() ContainerUlimitList UlimitInput() interface{} Upload() ContainerUploadList UploadInput() interface{} User() *string SetUser(val *string) UserInput() *string UsernsMode() *string SetUsernsMode(val *string) UsernsModeInput() *string Volumes() ContainerVolumesList VolumesInput() interface{} WorkingDir() *string SetWorkingDir(val *string) WorkingDirInput() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutCapabilities(value *ContainerCapabilities) PutDevices(value interface{}) PutHealthcheck(value *ContainerHealthcheck) PutHost(value interface{}) PutLabels(value interface{}) PutMounts(value interface{}) PutNetworksAdvanced(value interface{}) PutPorts(value interface{}) PutUlimit(value interface{}) PutUpload(value interface{}) PutVolumes(value interface{}) ResetAttach() ResetCapabilities() ResetCommand() ResetCpuSet() ResetDestroyGraceSeconds() ResetDevices() ResetDns() ResetDnsOpts() ResetDnsSearch() ResetDomainname() ResetEntrypoint() ResetEnv() ResetGpus() ResetGroupAdd() ResetHealthcheck() ResetHost() ResetHostname() ResetId() ResetInit() ResetIpcMode() ResetLabels() ResetLinks() ResetLogDriver() ResetLogOpts() ResetLogs() ResetMaxRetryCount() ResetMemory() ResetMemorySwap() ResetMounts() ResetMustRun() ResetNetworkAlias() ResetNetworkMode() ResetNetworks() ResetNetworksAdvanced() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPidMode() ResetPorts() ResetPrivileged() ResetPublishAllPorts() ResetReadOnly() ResetRemoveVolumes() ResetRestart() ResetRm() ResetRuntime() ResetSecurityOpts() ResetShmSize() ResetStart() ResetStdinOpen() ResetStopSignal() ResetStopTimeout() ResetStorageOpts() ResetSysctls() ResetTmpfs() ResetTty() ResetUlimit() ResetUpload() ResetUser() ResetUsernsMode() ResetVolumes() ResetWorkingDir() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/r/container docker_container}.
func NewContainer ¶
func NewContainer(scope constructs.Construct, id *string, config *ContainerConfig) Container
Create a new {@link https://www.terraform.io/docs/providers/docker/r/container docker_container} Resource.
type ContainerCapabilities ¶
type ContainerCapabilities struct { // List of linux capabilities to add. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#add Container#add} Add *[]*string `field:"optional" json:"add" yaml:"add"` // List of linux capabilities to drop. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#drop Container#drop} Drop *[]*string `field:"optional" json:"drop" yaml:"drop"` }
type ContainerCapabilitiesOutputReference ¶
type ContainerCapabilitiesOutputReference interface { cdktf.ComplexObject Add() *[]*string SetAdd(val *[]*string) AddInput() *[]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Drop() *[]*string SetDrop(val *[]*string) DropInput() *[]*string // Experimental. Fqn() *string InternalValue() *ContainerCapabilities SetInternalValue(val *ContainerCapabilities) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetAdd() ResetDrop() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerCapabilitiesOutputReference ¶
func NewContainerCapabilitiesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ContainerCapabilitiesOutputReference
type ContainerConfig ¶
type ContainerConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // The ID of the image to back this container. // // The easiest way to get this value is to use the `docker_image` resource as is shown in the example. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#image Container#image} Image *string `field:"required" json:"image" yaml:"image"` // The name of the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#name Container#name} Name *string `field:"required" json:"name" yaml:"name"` // If `true` attach to the container after its creation and waits the end of its execution. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#attach Container#attach} Attach interface{} `field:"optional" json:"attach" yaml:"attach"` // capabilities block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#capabilities Container#capabilities} Capabilities *ContainerCapabilities `field:"optional" json:"capabilities" yaml:"capabilities"` // The command to use to start the container. // // For example, to run `/usr/bin/myprogram -f baz.conf` set the command to be `["/usr/bin/myprogram","-","baz.con"]`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#command Container#command} Command *[]*string `field:"optional" json:"command" yaml:"command"` // A comma-separated list or hyphen-separated range of CPUs a container can use, e.g. `0-1`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#cpu_set Container#cpu_set} CpuSet *string `field:"optional" json:"cpuSet" yaml:"cpuSet"` // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#cpu_shares Container#cpu_shares} CpuShares *float64 `field:"optional" json:"cpuShares" yaml:"cpuShares"` // If defined will attempt to stop the container before destroying. // // Container will be destroyed after `n` seconds or on successful stop. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#destroy_grace_seconds Container#destroy_grace_seconds} DestroyGraceSeconds *float64 `field:"optional" json:"destroyGraceSeconds" yaml:"destroyGraceSeconds"` // devices block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#devices Container#devices} Devices interface{} `field:"optional" json:"devices" yaml:"devices"` // DNS servers to use. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#dns Container#dns} Dns *[]*string `field:"optional" json:"dns" yaml:"dns"` // DNS options used by the DNS provider(s), see `resolv.conf` documentation for valid list of options. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#dns_opts Container#dns_opts} DnsOpts *[]*string `field:"optional" json:"dnsOpts" yaml:"dnsOpts"` // DNS search domains that are used when bare unqualified hostnames are used inside of the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#dns_search Container#dns_search} DnsSearch *[]*string `field:"optional" json:"dnsSearch" yaml:"dnsSearch"` // Domain name of the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#domainname Container#domainname} Domainname *string `field:"optional" json:"domainname" yaml:"domainname"` // The command to use as the Entrypoint for the container. // // The Entrypoint allows you to configure a container to run as an executable. For example, to run `/usr/bin/myprogram` when starting a container, set the entrypoint to be `"/usr/bin/myprogra"]`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#entrypoint Container#entrypoint} Entrypoint *[]*string `field:"optional" json:"entrypoint" yaml:"entrypoint"` // Environment variables to set in the form of `KEY=VALUE`, e.g. `DEBUG=0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#env Container#env} Env *[]*string `field:"optional" json:"env" yaml:"env"` // GPU devices to add to the container. // // Currently, only the value `all` is supported. Passing any other value will result in unexpected behavior. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#gpus Container#gpus} Gpus *string `field:"optional" json:"gpus" yaml:"gpus"` // Additional groups for the container user. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#group_add Container#group_add} GroupAdd *[]*string `field:"optional" json:"groupAdd" yaml:"groupAdd"` // healthcheck block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#healthcheck Container#healthcheck} Healthcheck *ContainerHealthcheck `field:"optional" json:"healthcheck" yaml:"healthcheck"` // host block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#host Container#host} Host interface{} `field:"optional" json:"host" yaml:"host"` // Hostname of the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#hostname Container#hostname} Hostname *string `field:"optional" json:"hostname" yaml:"hostname"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#id Container#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Configured whether an init process should be injected for this container. // // If unset this will default to the `dockerd` defaults. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#init Container#init} Init interface{} `field:"optional" json:"init" yaml:"init"` // IPC sharing mode for the container. Possible values are: `none`, `private`, `shareable`, `container:<name|id>` or `host`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#ipc_mode Container#ipc_mode} IpcMode *string `field:"optional" json:"ipcMode" yaml:"ipcMode"` // labels block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#labels Container#labels} Labels interface{} `field:"optional" json:"labels" yaml:"labels"` // Set of links for link based connectivity between containers that are running on the same host. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#links Container#links} Links *[]*string `field:"optional" json:"links" yaml:"links"` // The logging driver to use for the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#log_driver Container#log_driver} LogDriver *string `field:"optional" json:"logDriver" yaml:"logDriver"` // Key/value pairs to use as options for the logging driver. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#log_opts Container#log_opts} LogOpts *map[string]*string `field:"optional" json:"logOpts" yaml:"logOpts"` // Save the container logs (`attach` must be enabled). Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#logs Container#logs} Logs interface{} `field:"optional" json:"logs" yaml:"logs"` // The maximum amount of times to an attempt a restart when `restart` is set to 'on-failure'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#max_retry_count Container#max_retry_count} MaxRetryCount *float64 `field:"optional" json:"maxRetryCount" yaml:"maxRetryCount"` // The memory limit for the container in MBs. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#memory Container#memory} Memory *float64 `field:"optional" json:"memory" yaml:"memory"` // The total memory limit (memory + swap) for the container in MBs. // // This setting may compute to `-1` after `terraform apply` if the target host doesn't support memory swap, when that is the case docker will use a soft limitation. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#memory_swap Container#memory_swap} MemorySwap *float64 `field:"optional" json:"memorySwap" yaml:"memorySwap"` // mounts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#mounts Container#mounts} Mounts interface{} `field:"optional" json:"mounts" yaml:"mounts"` // If `true`, then the Docker container will be kept running. // // If `false`, then as long as the container exists, Terraform assumes it is successful. Defaults to `true`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#must_run Container#must_run} MustRun interface{} `field:"optional" json:"mustRun" yaml:"mustRun"` // Set an alias for the container in all specified networks. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#network_alias Container#network_alias} NetworkAlias *[]*string `field:"optional" json:"networkAlias" yaml:"networkAlias"` // Network mode of the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#network_mode Container#network_mode} NetworkMode *string `field:"optional" json:"networkMode" yaml:"networkMode"` // ID of the networks in which the container is. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#networks Container#networks} Networks *[]*string `field:"optional" json:"networks" yaml:"networks"` // networks_advanced block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#networks_advanced Container#networks_advanced} NetworksAdvanced interface{} `field:"optional" json:"networksAdvanced" yaml:"networksAdvanced"` // he PID (Process) Namespace mode for the container. Either `container:<name|id>` or `host`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#pid_mode Container#pid_mode} PidMode *string `field:"optional" json:"pidMode" yaml:"pidMode"` // ports block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#ports Container#ports} Ports interface{} `field:"optional" json:"ports" yaml:"ports"` // If `true`, the container runs in privileged mode. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#privileged Container#privileged} Privileged interface{} `field:"optional" json:"privileged" yaml:"privileged"` // Publish all ports of the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#publish_all_ports Container#publish_all_ports} PublishAllPorts interface{} `field:"optional" json:"publishAllPorts" yaml:"publishAllPorts"` // If `true`, the container will be started as readonly. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#read_only Container#read_only} ReadOnly interface{} `field:"optional" json:"readOnly" yaml:"readOnly"` // If `true`, it will remove anonymous volumes associated with the container. Defaults to `true`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#remove_volumes Container#remove_volumes} RemoveVolumes interface{} `field:"optional" json:"removeVolumes" yaml:"removeVolumes"` // The restart policy for the container. Must be one of 'no', 'on-failure', 'always', 'unless-stopped'. Defaults to `no`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#restart Container#restart} Restart *string `field:"optional" json:"restart" yaml:"restart"` // If `true`, then the container will be automatically removed when it exits. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#rm Container#rm} Rm interface{} `field:"optional" json:"rm" yaml:"rm"` // Runtime to use for the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#runtime Container#runtime} Runtime *string `field:"optional" json:"runtime" yaml:"runtime"` // List of string values to customize labels for MLS systems, such as SELinux. See https://docs.docker.com/engine/reference/run/#security-configuration. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#security_opts Container#security_opts} SecurityOpts *[]*string `field:"optional" json:"securityOpts" yaml:"securityOpts"` // Size of `/dev/shm` in MBs. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#shm_size Container#shm_size} ShmSize *float64 `field:"optional" json:"shmSize" yaml:"shmSize"` // If `true`, then the Docker container will be started after creation. // // If `false`, then the container is only created. Defaults to `true`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#start Container#start} Start interface{} `field:"optional" json:"start" yaml:"start"` // If `true`, keep STDIN open even if not attached (`docker run -i`). Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#stdin_open Container#stdin_open} StdinOpen interface{} `field:"optional" json:"stdinOpen" yaml:"stdinOpen"` // Signal to stop a container (default `SIGTERM`). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#stop_signal Container#stop_signal} StopSignal *string `field:"optional" json:"stopSignal" yaml:"stopSignal"` // Timeout (in seconds) to stop a container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#stop_timeout Container#stop_timeout} StopTimeout *float64 `field:"optional" json:"stopTimeout" yaml:"stopTimeout"` // Key/value pairs for the storage driver options, e.g. `size`: `120G`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#storage_opts Container#storage_opts} StorageOpts *map[string]*string `field:"optional" json:"storageOpts" yaml:"storageOpts"` // A map of kernel parameters (sysctls) to set in the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#sysctls Container#sysctls} Sysctls *map[string]*string `field:"optional" json:"sysctls" yaml:"sysctls"` // A map of container directories which should be replaced by `tmpfs mounts`, and their corresponding mount options. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#tmpfs Container#tmpfs} Tmpfs *map[string]*string `field:"optional" json:"tmpfs" yaml:"tmpfs"` // If `true`, allocate a pseudo-tty (`docker run -t`). Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#tty Container#tty} Tty interface{} `field:"optional" json:"tty" yaml:"tty"` // ulimit block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#ulimit Container#ulimit} Ulimit interface{} `field:"optional" json:"ulimit" yaml:"ulimit"` // upload block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#upload Container#upload} Upload interface{} `field:"optional" json:"upload" yaml:"upload"` // User used for run the first process. // // Format is `user` or `user:group` which user and group can be passed literraly or by name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#user Container#user} User *string `field:"optional" json:"user" yaml:"user"` // Sets the usernamespace mode for the container when usernamespace remapping option is enabled. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#userns_mode Container#userns_mode} UsernsMode *string `field:"optional" json:"usernsMode" yaml:"usernsMode"` // volumes block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#volumes Container#volumes} Volumes interface{} `field:"optional" json:"volumes" yaml:"volumes"` // The working directory for commands to run in. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#working_dir Container#working_dir} WorkingDir *string `field:"optional" json:"workingDir" yaml:"workingDir"` }
type ContainerDevices ¶
type ContainerDevices struct { // The path on the host where the device is located. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#host_path Container#host_path} HostPath *string `field:"required" json:"hostPath" yaml:"hostPath"` // The path in the container where the device will be bound. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#container_path Container#container_path} ContainerPath *string `field:"optional" json:"containerPath" yaml:"containerPath"` // The cgroup permissions given to the container to access the device. Defaults to `rwm`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#permissions Container#permissions} Permissions *string `field:"optional" json:"permissions" yaml:"permissions"` }
type ContainerDevicesList ¶
type ContainerDevicesList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerDevicesOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerDevicesList ¶
func NewContainerDevicesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerDevicesList
type ContainerDevicesOutputReference ¶
type ContainerDevicesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) ContainerPath() *string SetContainerPath(val *string) ContainerPathInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string HostPath() *string SetHostPath(val *string) HostPathInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Permissions() *string SetPermissions(val *string) PermissionsInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetContainerPath() ResetPermissions() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerDevicesOutputReference ¶
func NewContainerDevicesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerDevicesOutputReference
type ContainerHealthcheck ¶
type ContainerHealthcheck struct { // Command to run to check health. // // For example, to run `curl -f localhost/health` set the command to be `["CMD", "curl", "-f", "localhost/health"]`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#test Container#test} Test *[]*string `field:"required" json:"test" yaml:"test"` // Time between running the check (ms|s|m|h). Defaults to `0s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#interval Container#interval} Interval *string `field:"optional" json:"interval" yaml:"interval"` // Consecutive failures needed to report unhealthy. Defaults to `0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#retries Container#retries} Retries *float64 `field:"optional" json:"retries" yaml:"retries"` // Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#start_period Container#start_period} StartPeriod *string `field:"optional" json:"startPeriod" yaml:"startPeriod"` // Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#timeout Container#timeout} Timeout *string `field:"optional" json:"timeout" yaml:"timeout"` }
type ContainerHealthcheckOutputReference ¶
type ContainerHealthcheckOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ContainerHealthcheck SetInternalValue(val *ContainerHealthcheck) Interval() *string SetInterval(val *string) IntervalInput() *string Retries() *float64 SetRetries(val *float64) RetriesInput() *float64 StartPeriod() *string SetStartPeriod(val *string) StartPeriodInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Test() *[]*string SetTest(val *[]*string) TestInput() *[]*string Timeout() *string SetTimeout(val *string) TimeoutInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetInterval() ResetRetries() ResetStartPeriod() ResetTimeout() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerHealthcheckOutputReference ¶
func NewContainerHealthcheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ContainerHealthcheckOutputReference
type ContainerHost ¶
type ContainerHost struct { // Hostname to add. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#host Container#host} Host *string `field:"required" json:"host" yaml:"host"` // IP address this hostname should resolve to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#ip Container#ip} Ip *string `field:"required" json:"ip" yaml:"ip"` }
type ContainerHostList ¶
type ContainerHostList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerHostOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerHostList ¶
func NewContainerHostList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerHostList
type ContainerHostOutputReference ¶
type ContainerHostOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Host() *string SetHost(val *string) HostInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Ip() *string SetIp(val *string) IpInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerHostOutputReference ¶
func NewContainerHostOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerHostOutputReference
type ContainerLabels ¶
type ContainerLabels struct { // Name of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#label Container#label} Label *string `field:"required" json:"label" yaml:"label"` // Value of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#value Container#value} Value *string `field:"required" json:"value" yaml:"value"` }
type ContainerLabelsList ¶
type ContainerLabelsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerLabelsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerLabelsList ¶
func NewContainerLabelsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerLabelsList
type ContainerLabelsOutputReference ¶
type ContainerLabelsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Label() *string SetLabel(val *string) LabelInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerLabelsOutputReference ¶
func NewContainerLabelsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerLabelsOutputReference
type ContainerMounts ¶
type ContainerMounts struct { // Container path. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#target Container#target} Target *string `field:"required" json:"target" yaml:"target"` // The mount type. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#type Container#type} Type *string `field:"required" json:"type" yaml:"type"` // bind_options block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#bind_options Container#bind_options} BindOptions *ContainerMountsBindOptions `field:"optional" json:"bindOptions" yaml:"bindOptions"` // Whether the mount should be read-only. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#read_only Container#read_only} ReadOnly interface{} `field:"optional" json:"readOnly" yaml:"readOnly"` // Mount source (e.g. a volume name, a host path). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#source Container#source} Source *string `field:"optional" json:"source" yaml:"source"` // tmpfs_options block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#tmpfs_options Container#tmpfs_options} TmpfsOptions *ContainerMountsTmpfsOptions `field:"optional" json:"tmpfsOptions" yaml:"tmpfsOptions"` // volume_options block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#volume_options Container#volume_options} VolumeOptions *ContainerMountsVolumeOptions `field:"optional" json:"volumeOptions" yaml:"volumeOptions"` }
type ContainerMountsBindOptions ¶
type ContainerMountsBindOptions struct { // A propagation mode with the value. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#propagation Container#propagation} Propagation *string `field:"optional" json:"propagation" yaml:"propagation"` }
type ContainerMountsBindOptionsOutputReference ¶
type ContainerMountsBindOptionsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ContainerMountsBindOptions SetInternalValue(val *ContainerMountsBindOptions) Propagation() *string SetPropagation(val *string) PropagationInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPropagation() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerMountsBindOptionsOutputReference ¶
func NewContainerMountsBindOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ContainerMountsBindOptionsOutputReference
type ContainerMountsList ¶
type ContainerMountsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerMountsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerMountsList ¶
func NewContainerMountsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerMountsList
type ContainerMountsOutputReference ¶
type ContainerMountsOutputReference interface { cdktf.ComplexObject BindOptions() ContainerMountsBindOptionsOutputReference BindOptionsInput() *ContainerMountsBindOptions // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) ReadOnly() interface{} SetReadOnly(val interface{}) ReadOnlyInput() interface{} Source() *string SetSource(val *string) SourceInput() *string Target() *string SetTarget(val *string) TargetInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TmpfsOptions() ContainerMountsTmpfsOptionsOutputReference TmpfsOptionsInput() *ContainerMountsTmpfsOptions Type() *string SetType(val *string) TypeInput() *string VolumeOptions() ContainerMountsVolumeOptionsOutputReference VolumeOptionsInput() *ContainerMountsVolumeOptions // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutBindOptions(value *ContainerMountsBindOptions) PutTmpfsOptions(value *ContainerMountsTmpfsOptions) PutVolumeOptions(value *ContainerMountsVolumeOptions) ResetBindOptions() ResetReadOnly() ResetSource() ResetTmpfsOptions() ResetVolumeOptions() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerMountsOutputReference ¶
func NewContainerMountsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerMountsOutputReference
type ContainerMountsTmpfsOptions ¶
type ContainerMountsTmpfsOptions struct { // The permission mode for the tmpfs mount in an integer. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#mode Container#mode} Mode *float64 `field:"optional" json:"mode" yaml:"mode"` // The size for the tmpfs mount in bytes. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#size_bytes Container#size_bytes} SizeBytes *float64 `field:"optional" json:"sizeBytes" yaml:"sizeBytes"` }
type ContainerMountsTmpfsOptionsOutputReference ¶
type ContainerMountsTmpfsOptionsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ContainerMountsTmpfsOptions SetInternalValue(val *ContainerMountsTmpfsOptions) Mode() *float64 SetMode(val *float64) ModeInput() *float64 SizeBytes() *float64 SetSizeBytes(val *float64) SizeBytesInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetMode() ResetSizeBytes() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerMountsTmpfsOptionsOutputReference ¶
func NewContainerMountsTmpfsOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ContainerMountsTmpfsOptionsOutputReference
type ContainerMountsVolumeOptions ¶
type ContainerMountsVolumeOptions struct { // Name of the driver to use to create the volume. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#driver_name Container#driver_name} DriverName *string `field:"optional" json:"driverName" yaml:"driverName"` // key/value map of driver specific options. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#driver_options Container#driver_options} DriverOptions *map[string]*string `field:"optional" json:"driverOptions" yaml:"driverOptions"` // labels block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#labels Container#labels} Labels interface{} `field:"optional" json:"labels" yaml:"labels"` // Populate volume with data from the target. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#no_copy Container#no_copy} NoCopy interface{} `field:"optional" json:"noCopy" yaml:"noCopy"` }
type ContainerMountsVolumeOptionsLabels ¶
type ContainerMountsVolumeOptionsLabels struct { // Name of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#label Container#label} Label *string `field:"required" json:"label" yaml:"label"` // Value of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#value Container#value} Value *string `field:"required" json:"value" yaml:"value"` }
type ContainerMountsVolumeOptionsLabelsList ¶
type ContainerMountsVolumeOptionsLabelsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerMountsVolumeOptionsLabelsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerMountsVolumeOptionsLabelsList ¶
func NewContainerMountsVolumeOptionsLabelsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerMountsVolumeOptionsLabelsList
type ContainerMountsVolumeOptionsLabelsOutputReference ¶
type ContainerMountsVolumeOptionsLabelsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Label() *string SetLabel(val *string) LabelInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerMountsVolumeOptionsLabelsOutputReference ¶
func NewContainerMountsVolumeOptionsLabelsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerMountsVolumeOptionsLabelsOutputReference
type ContainerMountsVolumeOptionsOutputReference ¶
type ContainerMountsVolumeOptionsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DriverName() *string SetDriverName(val *string) DriverNameInput() *string DriverOptions() *map[string]*string SetDriverOptions(val *map[string]*string) DriverOptionsInput() *map[string]*string // Experimental. Fqn() *string InternalValue() *ContainerMountsVolumeOptions SetInternalValue(val *ContainerMountsVolumeOptions) Labels() ContainerMountsVolumeOptionsLabelsList LabelsInput() interface{} NoCopy() interface{} SetNoCopy(val interface{}) NoCopyInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutLabels(value interface{}) ResetDriverName() ResetDriverOptions() ResetLabels() ResetNoCopy() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerMountsVolumeOptionsOutputReference ¶
func NewContainerMountsVolumeOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ContainerMountsVolumeOptionsOutputReference
type ContainerNetworkData ¶
type ContainerNetworkData struct { }
type ContainerNetworkDataList ¶
type ContainerNetworkDataList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerNetworkDataOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerNetworkDataList ¶
func NewContainerNetworkDataList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerNetworkDataList
type ContainerNetworkDataOutputReference ¶
type ContainerNetworkDataOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Gateway() *string GlobalIpv6Address() *string GlobalIpv6PrefixLength() *float64 InternalValue() *ContainerNetworkData SetInternalValue(val *ContainerNetworkData) IpAddress() *string IpPrefixLength() *float64 Ipv6Gateway() *string NetworkName() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerNetworkDataOutputReference ¶
func NewContainerNetworkDataOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerNetworkDataOutputReference
type ContainerNetworksAdvanced ¶
type ContainerNetworksAdvanced struct { // The name of the network. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#name Container#name} Name *string `field:"required" json:"name" yaml:"name"` // The network aliases of the container in the specific network. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#aliases Container#aliases} Aliases *[]*string `field:"optional" json:"aliases" yaml:"aliases"` // The IPV4 address of the container in the specific network. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#ipv4_address Container#ipv4_address} Ipv4Address *string `field:"optional" json:"ipv4Address" yaml:"ipv4Address"` // The IPV6 address of the container in the specific network. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#ipv6_address Container#ipv6_address} Ipv6Address *string `field:"optional" json:"ipv6Address" yaml:"ipv6Address"` }
type ContainerNetworksAdvancedList ¶
type ContainerNetworksAdvancedList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerNetworksAdvancedOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerNetworksAdvancedList ¶
func NewContainerNetworksAdvancedList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerNetworksAdvancedList
type ContainerNetworksAdvancedOutputReference ¶
type ContainerNetworksAdvancedOutputReference interface { cdktf.ComplexObject Aliases() *[]*string SetAliases(val *[]*string) AliasesInput() *[]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Ipv4Address() *string SetIpv4Address(val *string) Ipv4AddressInput() *string Ipv6Address() *string SetIpv6Address(val *string) Ipv6AddressInput() *string Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetAliases() ResetIpv4Address() ResetIpv6Address() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerNetworksAdvancedOutputReference ¶
func NewContainerNetworksAdvancedOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerNetworksAdvancedOutputReference
type ContainerPorts ¶
type ContainerPorts struct { // Port within the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#internal Container#internal} Internal *float64 `field:"required" json:"internal" yaml:"internal"` // Port exposed out of the container. If not given a free random port `>= 32768` will be used. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#external Container#external} External *float64 `field:"optional" json:"external" yaml:"external"` // IP address/mask that can access this port. Defaults to `0.0.0.0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#ip Container#ip} Ip *string `field:"optional" json:"ip" yaml:"ip"` // Protocol that can be used over this port. Defaults to `tcp`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#protocol Container#protocol} Protocol *string `field:"optional" json:"protocol" yaml:"protocol"` }
type ContainerPortsList ¶
type ContainerPortsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerPortsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerPortsList ¶
func NewContainerPortsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerPortsList
type ContainerPortsOutputReference ¶
type ContainerPortsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string External() *float64 SetExternal(val *float64) ExternalInput() *float64 // Experimental. Fqn() *string Internal() *float64 SetInternal(val *float64) InternalInput() *float64 InternalValue() interface{} SetInternalValue(val interface{}) Ip() *string SetIp(val *string) IpInput() *string Protocol() *string SetProtocol(val *string) ProtocolInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetExternal() ResetIp() ResetProtocol() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerPortsOutputReference ¶
func NewContainerPortsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerPortsOutputReference
type ContainerUlimit ¶
type ContainerUlimit struct { // The hard limit. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#hard Container#hard} Hard *float64 `field:"required" json:"hard" yaml:"hard"` // The name of the ulimit. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#name Container#name} Name *string `field:"required" json:"name" yaml:"name"` // The soft limit. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#soft Container#soft} Soft *float64 `field:"required" json:"soft" yaml:"soft"` }
type ContainerUlimitList ¶
type ContainerUlimitList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerUlimitOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerUlimitList ¶
func NewContainerUlimitList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerUlimitList
type ContainerUlimitOutputReference ¶
type ContainerUlimitOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Hard() *float64 SetHard(val *float64) HardInput() *float64 InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Soft() *float64 SetSoft(val *float64) SoftInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerUlimitOutputReference ¶
func NewContainerUlimitOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerUlimitOutputReference
type ContainerUpload ¶
type ContainerUpload struct { // Path to the file in the container where is upload goes to. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#file Container#file} File *string `field:"required" json:"file" yaml:"file"` // Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. // // Conflicts with `content_base64` & `source` // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#content Container#content} Content *string `field:"optional" json:"content" yaml:"content"` // Base64-encoded data that will be decoded and uploaded as raw bytes for the object content. // // This allows safely uploading non-UTF8 binary data, but is recommended only for larger binary content such as the result of the `base64encode` interpolation function. See [here](https://github.com/terraform-providers/terraform-provider-docker/issues/48#issuecomment-374174588) for the reason. Conflicts with `content` & `source` // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#content_base64 Container#content_base64} ContentBase64 *string `field:"optional" json:"contentBase64" yaml:"contentBase64"` // If `true`, the file will be uploaded with user executable permission. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#executable Container#executable} Executable interface{} `field:"optional" json:"executable" yaml:"executable"` // A filename that references a file which will be uploaded as the object content. // // This allows for large file uploads that do not get stored in state. Conflicts with `content` & `content_base64` // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#source Container#source} Source *string `field:"optional" json:"source" yaml:"source"` // If using `source`, this will force an update if the file content has updated but the filename has not. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#source_hash Container#source_hash} SourceHash *string `field:"optional" json:"sourceHash" yaml:"sourceHash"` }
type ContainerUploadList ¶
type ContainerUploadList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerUploadOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerUploadList ¶
func NewContainerUploadList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerUploadList
type ContainerUploadOutputReference ¶
type ContainerUploadOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Content() *string SetContent(val *string) ContentBase64() *string SetContentBase64(val *string) ContentBase64Input() *string ContentInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Executable() interface{} SetExecutable(val interface{}) ExecutableInput() interface{} File() *string SetFile(val *string) FileInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Source() *string SetSource(val *string) SourceHash() *string SetSourceHash(val *string) SourceHashInput() *string SourceInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetContent() ResetContentBase64() ResetExecutable() ResetSource() ResetSourceHash() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerUploadOutputReference ¶
func NewContainerUploadOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerUploadOutputReference
type ContainerVolumes ¶
type ContainerVolumes struct { // The path in the container where the volume will be mounted. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#container_path Container#container_path} ContainerPath *string `field:"optional" json:"containerPath" yaml:"containerPath"` // The container where the volume is coming from. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#from_container Container#from_container} FromContainer *string `field:"optional" json:"fromContainer" yaml:"fromContainer"` // The path on the host where the volume is coming from. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#host_path Container#host_path} HostPath *string `field:"optional" json:"hostPath" yaml:"hostPath"` // If `true`, this volume will be readonly. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#read_only Container#read_only} ReadOnly interface{} `field:"optional" json:"readOnly" yaml:"readOnly"` // The name of the docker volume which should be mounted. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/container#volume_name Container#volume_name} VolumeName *string `field:"optional" json:"volumeName" yaml:"volumeName"` }
type ContainerVolumesList ¶
type ContainerVolumesList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ContainerVolumesOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerVolumesList ¶
func NewContainerVolumesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ContainerVolumesList
type ContainerVolumesOutputReference ¶
type ContainerVolumesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) ContainerPath() *string SetContainerPath(val *string) ContainerPathInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string FromContainer() *string SetFromContainer(val *string) FromContainerInput() *string HostPath() *string SetHostPath(val *string) HostPathInput() *string InternalValue() interface{} SetInternalValue(val interface{}) ReadOnly() interface{} SetReadOnly(val interface{}) ReadOnlyInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) VolumeName() *string SetVolumeName(val *string) VolumeNameInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetContainerPath() ResetFromContainer() ResetHostPath() ResetReadOnly() ResetVolumeName() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewContainerVolumesOutputReference ¶
func NewContainerVolumesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ContainerVolumesOutputReference
type DataDockerImage ¶
type DataDockerImage interface { cdktf.TerraformDataSource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} RepoDigest() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/d/image docker_image}.
func NewDataDockerImage ¶
func NewDataDockerImage(scope constructs.Construct, id *string, config *DataDockerImageConfig) DataDockerImage
Create a new {@link https://www.terraform.io/docs/providers/docker/d/image docker_image} Data Source.
type DataDockerImageConfig ¶
type DataDockerImageConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // The name of the Docker image, including any tags or SHA256 repo digests. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/d/image#name DataDockerImage#name} Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/d/image#id DataDockerImage#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` }
type DataDockerNetwork ¶
type DataDockerNetwork interface { cdktf.TerraformDataSource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Driver() *string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string Internal() cdktf.IResolvable IpamConfig() DataDockerNetworkIpamConfigList // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Options() cdktf.StringMap // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} Scope() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/d/network docker_network}.
func NewDataDockerNetwork ¶
func NewDataDockerNetwork(scope constructs.Construct, id *string, config *DataDockerNetworkConfig) DataDockerNetwork
Create a new {@link https://www.terraform.io/docs/providers/docker/d/network docker_network} Data Source.
type DataDockerNetworkConfig ¶
type DataDockerNetworkConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // The name of the Docker network. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/d/network#name DataDockerNetwork#name} Name *string `field:"required" json:"name" yaml:"name"` }
type DataDockerNetworkIpamConfig ¶
type DataDockerNetworkIpamConfig struct { }
type DataDockerNetworkIpamConfigList ¶
type DataDockerNetworkIpamConfigList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) DataDockerNetworkIpamConfigOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewDataDockerNetworkIpamConfigList ¶
func NewDataDockerNetworkIpamConfigList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) DataDockerNetworkIpamConfigList
type DataDockerNetworkIpamConfigOutputReference ¶
type DataDockerNetworkIpamConfigOutputReference interface { cdktf.ComplexObject AuxAddress() cdktf.StringMap // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Gateway() *string InternalValue() *DataDockerNetworkIpamConfig SetInternalValue(val *DataDockerNetworkIpamConfig) IpRange() *string Subnet() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewDataDockerNetworkIpamConfigOutputReference ¶
func NewDataDockerNetworkIpamConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) DataDockerNetworkIpamConfigOutputReference
type DataDockerPlugin ¶
type DataDockerPlugin interface { cdktf.TerraformDataSource Alias() *string SetAlias(val *string) AliasInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Enabled() cdktf.IResolvable Env() *[]*string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GrantAllPermissions() cdktf.IResolvable Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string // The tree node. Node() constructs.Node PluginReference() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAlias() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/d/plugin docker_plugin}.
func NewDataDockerPlugin ¶
func NewDataDockerPlugin(scope constructs.Construct, id *string, config *DataDockerPluginConfig) DataDockerPlugin
Create a new {@link https://www.terraform.io/docs/providers/docker/d/plugin docker_plugin} Data Source.
type DataDockerPluginConfig ¶
type DataDockerPluginConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // The alias of the Docker plugin. If the tag is omitted, `:latest` is complemented to the attribute value. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/d/plugin#alias DataDockerPlugin#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // The ID of the plugin, which has precedence over the `alias` of both are given. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/d/plugin#id DataDockerPlugin#id} // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` }
type DataDockerRegistryImage ¶
type DataDockerRegistryImage interface { cdktf.TerraformDataSource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string InsecureSkipVerify() interface{} SetInsecureSkipVerify(val interface{}) InsecureSkipVerifyInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} Sha256Digest() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetId() ResetInsecureSkipVerify() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/d/registry_image docker_registry_image}.
func NewDataDockerRegistryImage ¶
func NewDataDockerRegistryImage(scope constructs.Construct, id *string, config *DataDockerRegistryImageConfig) DataDockerRegistryImage
Create a new {@link https://www.terraform.io/docs/providers/docker/d/registry_image docker_registry_image} Data Source.
type DataDockerRegistryImageConfig ¶
type DataDockerRegistryImageConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // The name of the Docker image, including any tags. e.g. `alpine:latest`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/d/registry_image#name DataDockerRegistryImage#name} Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/d/registry_image#id DataDockerRegistryImage#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/d/registry_image#insecure_skip_verify DataDockerRegistryImage#insecure_skip_verify} InsecureSkipVerify interface{} `field:"optional" json:"insecureSkipVerify" yaml:"insecureSkipVerify"` }
type DockerProvider ¶
type DockerProvider interface { cdktf.TerraformProvider Alias() *string SetAlias(val *string) AliasInput() *string CaMaterial() *string SetCaMaterial(val *string) CaMaterialInput() *string // Experimental. CdktfStack() cdktf.TerraformStack CertMaterial() *string SetCertMaterial(val *string) CertMaterialInput() *string CertPath() *string SetCertPath(val *string) CertPathInput() *string // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Host() *string SetHost(val *string) HostInput() *string KeyMaterial() *string SetKeyMaterial(val *string) KeyMaterialInput() *string // Experimental. MetaAttributes() *map[string]interface{} // The tree node. Node() constructs.Node // Experimental. RawOverrides() interface{} RegistryAuth() interface{} SetRegistryAuth(val interface{}) RegistryAuthInput() interface{} SshOpts() *[]*string SetSshOpts(val *[]*string) SshOptsInput() *[]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformProviderSource() *string // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) ResetAlias() ResetCaMaterial() ResetCertMaterial() ResetCertPath() ResetHost() ResetKeyMaterial() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRegistryAuth() ResetSshOpts() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker docker}.
func NewDockerProvider ¶
func NewDockerProvider(scope constructs.Construct, id *string, config *DockerProviderConfig) DockerProvider
Create a new {@link https://www.terraform.io/docs/providers/docker docker} Resource.
type DockerProviderConfig ¶
type DockerProviderConfig struct { // Alias name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#alias DockerProvider#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // PEM-encoded content of Docker host CA certificate. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#ca_material DockerProvider#ca_material} CaMaterial *string `field:"optional" json:"caMaterial" yaml:"caMaterial"` // PEM-encoded content of Docker client certificate. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#cert_material DockerProvider#cert_material} CertMaterial *string `field:"optional" json:"certMaterial" yaml:"certMaterial"` // Path to directory with Docker TLS config. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#cert_path DockerProvider#cert_path} CertPath *string `field:"optional" json:"certPath" yaml:"certPath"` // The Docker daemon address. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#host DockerProvider#host} Host *string `field:"optional" json:"host" yaml:"host"` // PEM-encoded content of Docker client private key. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#key_material DockerProvider#key_material} KeyMaterial *string `field:"optional" json:"keyMaterial" yaml:"keyMaterial"` // registry_auth block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#registry_auth DockerProvider#registry_auth} RegistryAuth interface{} `field:"optional" json:"registryAuth" yaml:"registryAuth"` // Additional SSH option flags to be appended when using `ssh://` protocol. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#ssh_opts DockerProvider#ssh_opts} SshOpts *[]*string `field:"optional" json:"sshOpts" yaml:"sshOpts"` }
type DockerProviderRegistryAuth ¶
type DockerProviderRegistryAuth struct { // Address of the registry. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#address DockerProvider#address} Address *string `field:"required" json:"address" yaml:"address"` // Path to docker json file for registry auth. // // Defaults to `~/.docker/config.json`. If `DOCKER_CONFIG` is set, the value of `DOCKER_CONFIG` is used as the path. `config_file` has predencen over all other options. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#config_file DockerProvider#config_file} ConfigFile *string `field:"optional" json:"configFile" yaml:"configFile"` // Plain content of the docker json file for registry auth. `config_file_content` has precedence over username/password. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#config_file_content DockerProvider#config_file_content} ConfigFileContent *string `field:"optional" json:"configFileContent" yaml:"configFileContent"` // Password for the registry. Defaults to `DOCKER_REGISTRY_PASS` env variable if set. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#password DockerProvider#password} Password *string `field:"optional" json:"password" yaml:"password"` // Username for the registry. Defaults to `DOCKER_REGISTRY_USER` env variable if set. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker#username DockerProvider#username} Username *string `field:"optional" json:"username" yaml:"username"` }
type Image ¶
type Image interface { cdktf.TerraformResource BuildAttribute() ImageBuildOutputReference BuildAttributeInput() *ImageBuild // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) ForceRemove() interface{} SetForceRemove(val interface{}) ForceRemoveInput() interface{} // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string KeepLocally() interface{} SetKeepLocally(val interface{}) KeepLocallyInput() interface{} Latest() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Output() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) PullTrigger() *string SetPullTrigger(val *string) PullTriggerInput() *string PullTriggers() *[]*string SetPullTriggers(val *[]*string) PullTriggersInput() *[]*string // Experimental. RawOverrides() interface{} RepoDigest() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutBuildAttribute(value *ImageBuild) ResetBuildAttribute() ResetForceRemove() ResetId() ResetKeepLocally() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetPullTrigger() ResetPullTriggers() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/r/image docker_image}.
func NewImage ¶
func NewImage(scope constructs.Construct, id *string, config *ImageConfig) Image
Create a new {@link https://www.terraform.io/docs/providers/docker/r/image docker_image} Resource.
type ImageBuild ¶
type ImageBuild struct { // Context path. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#path Image#path} Path *string `field:"required" json:"path" yaml:"path"` // Set build-time variables. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#build_arg Image#build_arg} BuildArg *map[string]*string `field:"optional" json:"buildArg" yaml:"buildArg"` // Name of the Dockerfile. Defaults to `Dockerfile`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#dockerfile Image#dockerfile} Dockerfile *string `field:"optional" json:"dockerfile" yaml:"dockerfile"` // Always remove intermediate containers. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#force_remove Image#force_remove} ForceRemove interface{} `field:"optional" json:"forceRemove" yaml:"forceRemove"` // Set metadata for an image. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#label Image#label} Label *map[string]*string `field:"optional" json:"label" yaml:"label"` // Do not use cache when building the image. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#no_cache Image#no_cache} NoCache interface{} `field:"optional" json:"noCache" yaml:"noCache"` // Remove intermediate containers after a successful build. Defaults to `true`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#remove Image#remove} Remove interface{} `field:"optional" json:"remove" yaml:"remove"` // Name and optionally a tag in the 'name:tag' format. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#tag Image#tag} Tag *[]*string `field:"optional" json:"tag" yaml:"tag"` // Set the target build stage to build. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#target Image#target} Target *string `field:"optional" json:"target" yaml:"target"` }
type ImageBuildOutputReference ¶
type ImageBuildOutputReference interface { cdktf.ComplexObject BuildArg() *map[string]*string SetBuildArg(val *map[string]*string) BuildArgInput() *map[string]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Dockerfile() *string SetDockerfile(val *string) DockerfileInput() *string ForceRemove() interface{} SetForceRemove(val interface{}) ForceRemoveInput() interface{} // Experimental. Fqn() *string InternalValue() *ImageBuild SetInternalValue(val *ImageBuild) Label() *map[string]*string SetLabel(val *map[string]*string) LabelInput() *map[string]*string NoCache() interface{} SetNoCache(val interface{}) NoCacheInput() interface{} Path() *string SetPath(val *string) PathInput() *string Remove() interface{} SetRemove(val interface{}) RemoveInput() interface{} Tag() *[]*string SetTag(val *[]*string) TagInput() *[]*string Target() *string SetTarget(val *string) TargetInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetBuildArg() ResetDockerfile() ResetForceRemove() ResetLabel() ResetNoCache() ResetRemove() ResetTag() ResetTarget() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewImageBuildOutputReference ¶
func NewImageBuildOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ImageBuildOutputReference
type ImageConfig ¶
type ImageConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // The name of the Docker image, including any tags or SHA256 repo digests. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#name Image#name} Name *string `field:"required" json:"name" yaml:"name"` // build block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#build Image#build} BuildAttribute *ImageBuild `field:"optional" json:"buildAttribute" yaml:"buildAttribute"` // If true, then the image is removed forcibly when the resource is destroyed. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#force_remove Image#force_remove} ForceRemove interface{} `field:"optional" json:"forceRemove" yaml:"forceRemove"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#id Image#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // If true, then the Docker image won't be deleted on destroy operation. // // If this is false, it will delete the image from the docker local storage on destroy operation. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#keep_locally Image#keep_locally} KeepLocally interface{} `field:"optional" json:"keepLocally" yaml:"keepLocally"` // A value which cause an image pull when changed. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#pull_trigger Image#pull_trigger} PullTrigger *string `field:"optional" json:"pullTrigger" yaml:"pullTrigger"` // List of values which cause an image pull when changed. // // This is used to store the image digest from the registry when using the [docker_registry_image](../data-sources/registry_image.md). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/image#pull_triggers Image#pull_triggers} PullTriggers *[]*string `field:"optional" json:"pullTriggers" yaml:"pullTriggers"` }
type Network ¶
type Network interface { cdktf.TerraformResource Attachable() interface{} SetAttachable(val interface{}) AttachableInput() interface{} // Experimental. CdktfStack() cdktf.TerraformStack CheckDuplicate() interface{} SetCheckDuplicate(val interface{}) CheckDuplicateInput() interface{} // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Driver() *string SetDriver(val *string) DriverInput() *string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Ingress() interface{} SetIngress(val interface{}) IngressInput() interface{} Internal() interface{} SetInternal(val interface{}) InternalInput() interface{} IpamConfig() NetworkIpamConfigList IpamConfigInput() interface{} IpamDriver() *string SetIpamDriver(val *string) IpamDriverInput() *string Ipv6() interface{} SetIpv6(val interface{}) Ipv6Input() interface{} Labels() NetworkLabelsList LabelsInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node Options() *map[string]*string SetOptions(val *map[string]*string) OptionsInput() *map[string]*string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} Scope() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutIpamConfig(value interface{}) PutLabels(value interface{}) ResetAttachable() ResetCheckDuplicate() ResetDriver() ResetId() ResetIngress() ResetInternal() ResetIpamConfig() ResetIpamDriver() ResetIpv6() ResetLabels() ResetOptions() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/r/network docker_network}.
func NewNetwork ¶
func NewNetwork(scope constructs.Construct, id *string, config *NetworkConfig) Network
Create a new {@link https://www.terraform.io/docs/providers/docker/r/network docker_network} Resource.
type NetworkConfig ¶
type NetworkConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // The name of the Docker network. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#name Network#name} Name *string `field:"required" json:"name" yaml:"name"` // Enable manual container attachment to the network. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#attachable Network#attachable} Attachable interface{} `field:"optional" json:"attachable" yaml:"attachable"` // Requests daemon to check for networks with same name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#check_duplicate Network#check_duplicate} CheckDuplicate interface{} `field:"optional" json:"checkDuplicate" yaml:"checkDuplicate"` // The driver of the Docker network. Possible values are `bridge`, `host`, `overlay`, `macvlan`. See [network docs](https://docs.docker.com/network/#network-drivers) for more details. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#driver Network#driver} Driver *string `field:"optional" json:"driver" yaml:"driver"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#id Network#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // Create swarm routing-mesh network. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#ingress Network#ingress} Ingress interface{} `field:"optional" json:"ingress" yaml:"ingress"` // Whether the network is internal. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#internal Network#internal} Internal interface{} `field:"optional" json:"internal" yaml:"internal"` // ipam_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#ipam_config Network#ipam_config} IpamConfig interface{} `field:"optional" json:"ipamConfig" yaml:"ipamConfig"` // Driver used by the custom IP scheme of the network. Defaults to `default`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#ipam_driver Network#ipam_driver} IpamDriver *string `field:"optional" json:"ipamDriver" yaml:"ipamDriver"` // Enable IPv6 networking. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#ipv6 Network#ipv6} Ipv6 interface{} `field:"optional" json:"ipv6" yaml:"ipv6"` // labels block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#labels Network#labels} Labels interface{} `field:"optional" json:"labels" yaml:"labels"` // Only available with bridge networks. See [bridge options docs](https://docs.docker.com/engine/reference/commandline/network_create/#bridge-driver-options) for more details. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#options Network#options} Options *map[string]*string `field:"optional" json:"options" yaml:"options"` }
type NetworkIpamConfig ¶
type NetworkIpamConfig struct { // Auxiliary IPv4 or IPv6 addresses used by Network driver. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#aux_address Network#aux_address} AuxAddress *map[string]*string `field:"optional" json:"auxAddress" yaml:"auxAddress"` // The IP address of the gateway. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#gateway Network#gateway} Gateway *string `field:"optional" json:"gateway" yaml:"gateway"` // The ip range in CIDR form. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#ip_range Network#ip_range} IpRange *string `field:"optional" json:"ipRange" yaml:"ipRange"` // The subnet in CIDR form. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#subnet Network#subnet} Subnet *string `field:"optional" json:"subnet" yaml:"subnet"` }
type NetworkIpamConfigList ¶
type NetworkIpamConfigList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) NetworkIpamConfigOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewNetworkIpamConfigList ¶
func NewNetworkIpamConfigList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) NetworkIpamConfigList
type NetworkIpamConfigOutputReference ¶
type NetworkIpamConfigOutputReference interface { cdktf.ComplexObject AuxAddress() *map[string]*string SetAuxAddress(val *map[string]*string) AuxAddressInput() *map[string]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Gateway() *string SetGateway(val *string) GatewayInput() *string InternalValue() interface{} SetInternalValue(val interface{}) IpRange() *string SetIpRange(val *string) IpRangeInput() *string Subnet() *string SetSubnet(val *string) SubnetInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetAuxAddress() ResetGateway() ResetIpRange() ResetSubnet() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewNetworkIpamConfigOutputReference ¶
func NewNetworkIpamConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) NetworkIpamConfigOutputReference
type NetworkLabels ¶
type NetworkLabels struct { // Name of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#label Network#label} Label *string `field:"required" json:"label" yaml:"label"` // Value of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/network#value Network#value} Value *string `field:"required" json:"value" yaml:"value"` }
type NetworkLabelsList ¶
type NetworkLabelsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) NetworkLabelsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewNetworkLabelsList ¶
func NewNetworkLabelsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) NetworkLabelsList
type NetworkLabelsOutputReference ¶
type NetworkLabelsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Label() *string SetLabel(val *string) LabelInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewNetworkLabelsOutputReference ¶
func NewNetworkLabelsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) NetworkLabelsOutputReference
type Plugin ¶
type Plugin interface { cdktf.TerraformResource Alias() *string SetAlias(val *string) AliasInput() *string // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Enabled() interface{} SetEnabled(val interface{}) EnabledInput() interface{} EnableTimeout() *float64 SetEnableTimeout(val *float64) EnableTimeoutInput() *float64 Env() *[]*string SetEnv(val *[]*string) EnvInput() *[]*string ForceDestroy() interface{} SetForceDestroy(val interface{}) ForceDestroyInput() interface{} ForceDisable() interface{} SetForceDisable(val interface{}) ForceDisableInput() interface{} // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string GrantAllPermissions() interface{} SetGrantAllPermissions(val interface{}) GrantAllPermissionsInput() interface{} GrantPermissions() PluginGrantPermissionsList GrantPermissionsInput() interface{} Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node PluginReference() *string // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutGrantPermissions(value interface{}) ResetAlias() ResetEnabled() ResetEnableTimeout() ResetEnv() ResetForceDestroy() ResetForceDisable() ResetGrantAllPermissions() ResetGrantPermissions() ResetId() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/r/plugin docker_plugin}.
func NewPlugin ¶
func NewPlugin(scope constructs.Construct, id *string, config *PluginConfig) Plugin
Create a new {@link https://www.terraform.io/docs/providers/docker/r/plugin docker_plugin} Resource.
type PluginConfig ¶
type PluginConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Docker Plugin name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#name Plugin#name} Name *string `field:"required" json:"name" yaml:"name"` // Docker Plugin alias. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#alias Plugin#alias} Alias *string `field:"optional" json:"alias" yaml:"alias"` // If `true` the plugin is enabled. Defaults to `true`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#enabled Plugin#enabled} Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"` // HTTP client timeout to enable the plugin. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#enable_timeout Plugin#enable_timeout} EnableTimeout *float64 `field:"optional" json:"enableTimeout" yaml:"enableTimeout"` // The environment variables in the form of `KEY=VALUE`, e.g. `DEBUG=0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#env Plugin#env} Env *[]*string `field:"optional" json:"env" yaml:"env"` // If true, then the plugin is destroyed forcibly. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#force_destroy Plugin#force_destroy} ForceDestroy interface{} `field:"optional" json:"forceDestroy" yaml:"forceDestroy"` // If true, then the plugin is disabled forcibly. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#force_disable Plugin#force_disable} ForceDisable interface{} `field:"optional" json:"forceDisable" yaml:"forceDisable"` // If true, grant all permissions necessary to run the plugin. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#grant_all_permissions Plugin#grant_all_permissions} GrantAllPermissions interface{} `field:"optional" json:"grantAllPermissions" yaml:"grantAllPermissions"` // grant_permissions block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#grant_permissions Plugin#grant_permissions} GrantPermissions interface{} `field:"optional" json:"grantPermissions" yaml:"grantPermissions"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#id Plugin#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` }
type PluginGrantPermissions ¶
type PluginGrantPermissions struct { // The name of the permission. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#name Plugin#name} Name *string `field:"required" json:"name" yaml:"name"` // The value of the permission. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/plugin#value Plugin#value} Value *[]*string `field:"required" json:"value" yaml:"value"` }
type PluginGrantPermissionsList ¶
type PluginGrantPermissionsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) PluginGrantPermissionsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewPluginGrantPermissionsList ¶
func NewPluginGrantPermissionsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) PluginGrantPermissionsList
type PluginGrantPermissionsOutputReference ¶
type PluginGrantPermissionsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *[]*string SetValue(val *[]*string) ValueInput() *[]*string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewPluginGrantPermissionsOutputReference ¶
func NewPluginGrantPermissionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) PluginGrantPermissionsOutputReference
type RegistryImage ¶
type RegistryImage interface { cdktf.TerraformResource BuildAttribute() RegistryImageBuildOutputReference BuildAttributeInput() *RegistryImageBuild // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string InsecureSkipVerify() interface{} SetInsecureSkipVerify(val interface{}) InsecureSkipVerifyInput() interface{} KeepRemotely() interface{} SetKeepRemotely(val interface{}) KeepRemotelyInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} Sha256Digest() *string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutBuildAttribute(value *RegistryImageBuild) ResetBuildAttribute() ResetId() ResetInsecureSkipVerify() ResetKeepRemotely() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/r/registry_image docker_registry_image}.
func NewRegistryImage ¶
func NewRegistryImage(scope constructs.Construct, id *string, config *RegistryImageConfig) RegistryImage
Create a new {@link https://www.terraform.io/docs/providers/docker/r/registry_image docker_registry_image} Resource.
type RegistryImageBuild ¶
type RegistryImageBuild struct { // The absolute path to the context folder. You can use the helper function '${path.cwd}/context-dir'. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#context RegistryImage#context} Context *string `field:"required" json:"context" yaml:"context"` // auth_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#auth_config RegistryImage#auth_config} AuthConfig interface{} `field:"optional" json:"authConfig" yaml:"authConfig"` // Pairs for build-time variables in the form TODO. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#build_args RegistryImage#build_args} BuildArgs *map[string]*string `field:"optional" json:"buildArgs" yaml:"buildArgs"` // BuildID is an optional identifier that can be passed together with the build request. // // The same identifier can be used to gracefully cancel the build with the cancel request. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#build_id RegistryImage#build_id} BuildId *string `field:"optional" json:"buildId" yaml:"buildId"` // Images to consider as cache sources. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#cache_from RegistryImage#cache_from} CacheFrom *[]*string `field:"optional" json:"cacheFrom" yaml:"cacheFrom"` // Optional parent cgroup for the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#cgroup_parent RegistryImage#cgroup_parent} CgroupParent *string `field:"optional" json:"cgroupParent" yaml:"cgroupParent"` // The length of a CPU period in microseconds. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#cpu_period RegistryImage#cpu_period} CpuPeriod *float64 `field:"optional" json:"cpuPeriod" yaml:"cpuPeriod"` // Microseconds of CPU time that the container can get in a CPU period. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#cpu_quota RegistryImage#cpu_quota} CpuQuota *float64 `field:"optional" json:"cpuQuota" yaml:"cpuQuota"` // CPUs in which to allow execution (e.g., `0-3`, `0`, `1`). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#cpu_set_cpus RegistryImage#cpu_set_cpus} CpuSetCpus *string `field:"optional" json:"cpuSetCpus" yaml:"cpuSetCpus"` // MEMs in which to allow execution (`0-3`, `0`, `1`). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#cpu_set_mems RegistryImage#cpu_set_mems} CpuSetMems *string `field:"optional" json:"cpuSetMems" yaml:"cpuSetMems"` // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#cpu_shares RegistryImage#cpu_shares} CpuShares *float64 `field:"optional" json:"cpuShares" yaml:"cpuShares"` // Dockerfile file. Defaults to `Dockerfile`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#dockerfile RegistryImage#dockerfile} Dockerfile *string `field:"optional" json:"dockerfile" yaml:"dockerfile"` // A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form ["hostname:IP"]. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#extra_hosts RegistryImage#extra_hosts} ExtraHosts *[]*string `field:"optional" json:"extraHosts" yaml:"extraHosts"` // Always remove intermediate containers. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#force_remove RegistryImage#force_remove} ForceRemove interface{} `field:"optional" json:"forceRemove" yaml:"forceRemove"` // Isolation represents the isolation technology of a container. The supported values are. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#isolation RegistryImage#isolation} Isolation *string `field:"optional" json:"isolation" yaml:"isolation"` // User-defined key/value metadata. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#labels RegistryImage#labels} Labels *map[string]*string `field:"optional" json:"labels" yaml:"labels"` // Set memory limit for build. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#memory RegistryImage#memory} Memory *float64 `field:"optional" json:"memory" yaml:"memory"` // Total memory (memory + swap), -1 to enable unlimited swap. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#memory_swap RegistryImage#memory_swap} MemorySwap *float64 `field:"optional" json:"memorySwap" yaml:"memorySwap"` // Set the networking mode for the RUN instructions during build. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#network_mode RegistryImage#network_mode} NetworkMode *string `field:"optional" json:"networkMode" yaml:"networkMode"` // Do not use the cache when building the image. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#no_cache RegistryImage#no_cache} NoCache interface{} `field:"optional" json:"noCache" yaml:"noCache"` // Set platform if server is multi-platform capable. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#platform RegistryImage#platform} Platform *string `field:"optional" json:"platform" yaml:"platform"` // Attempt to pull the image even if an older image exists locally. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#pull_parent RegistryImage#pull_parent} PullParent interface{} `field:"optional" json:"pullParent" yaml:"pullParent"` // A Git repository URI or HTTP/HTTPS context URI. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#remote_context RegistryImage#remote_context} RemoteContext *string `field:"optional" json:"remoteContext" yaml:"remoteContext"` // Remove intermediate containers after a successful build (default behavior). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#remove RegistryImage#remove} Remove interface{} `field:"optional" json:"remove" yaml:"remove"` // The security options. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#security_opt RegistryImage#security_opt} SecurityOpt *[]*string `field:"optional" json:"securityOpt" yaml:"securityOpt"` // Set an ID for the build session. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#session_id RegistryImage#session_id} SessionId *string `field:"optional" json:"sessionId" yaml:"sessionId"` // Size of /dev/shm in bytes. The size must be greater than 0. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#shm_size RegistryImage#shm_size} ShmSize *float64 `field:"optional" json:"shmSize" yaml:"shmSize"` // If true the new layers are squashed into a new image with a single new layer. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#squash RegistryImage#squash} Squash interface{} `field:"optional" json:"squash" yaml:"squash"` // Suppress the build output and print image ID on success. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#suppress_output RegistryImage#suppress_output} SuppressOutput interface{} `field:"optional" json:"suppressOutput" yaml:"suppressOutput"` // Set the target build stage to build. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#target RegistryImage#target} Target *string `field:"optional" json:"target" yaml:"target"` // ulimit block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#ulimit RegistryImage#ulimit} Ulimit interface{} `field:"optional" json:"ulimit" yaml:"ulimit"` // Version of the underlying builder to use. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#version RegistryImage#version} Version *string `field:"optional" json:"version" yaml:"version"` }
type RegistryImageBuildAuthConfig ¶
type RegistryImageBuildAuthConfig struct { // hostname of the registry. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#host_name RegistryImage#host_name} HostName *string `field:"required" json:"hostName" yaml:"hostName"` // the auth token. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#auth RegistryImage#auth} Auth *string `field:"optional" json:"auth" yaml:"auth"` // the user emal. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#email RegistryImage#email} Email *string `field:"optional" json:"email" yaml:"email"` // the identity token. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#identity_token RegistryImage#identity_token} IdentityToken *string `field:"optional" json:"identityToken" yaml:"identityToken"` // the registry password. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#password RegistryImage#password} Password *string `field:"optional" json:"password" yaml:"password"` // the registry token. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#registry_token RegistryImage#registry_token} RegistryToken *string `field:"optional" json:"registryToken" yaml:"registryToken"` // the server address. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#server_address RegistryImage#server_address} ServerAddress *string `field:"optional" json:"serverAddress" yaml:"serverAddress"` // the registry user name. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#user_name RegistryImage#user_name} UserName *string `field:"optional" json:"userName" yaml:"userName"` }
type RegistryImageBuildAuthConfigList ¶
type RegistryImageBuildAuthConfigList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) RegistryImageBuildAuthConfigOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewRegistryImageBuildAuthConfigList ¶
func NewRegistryImageBuildAuthConfigList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) RegistryImageBuildAuthConfigList
type RegistryImageBuildAuthConfigOutputReference ¶
type RegistryImageBuildAuthConfigOutputReference interface { cdktf.ComplexObject Auth() *string SetAuth(val *string) AuthInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Email() *string SetEmail(val *string) EmailInput() *string // Experimental. Fqn() *string HostName() *string SetHostName(val *string) HostNameInput() *string IdentityToken() *string SetIdentityToken(val *string) IdentityTokenInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Password() *string SetPassword(val *string) PasswordInput() *string RegistryToken() *string SetRegistryToken(val *string) RegistryTokenInput() *string ServerAddress() *string SetServerAddress(val *string) ServerAddressInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) UserName() *string SetUserName(val *string) UserNameInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetAuth() ResetEmail() ResetIdentityToken() ResetPassword() ResetRegistryToken() ResetServerAddress() ResetUserName() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewRegistryImageBuildAuthConfigOutputReference ¶
func NewRegistryImageBuildAuthConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) RegistryImageBuildAuthConfigOutputReference
type RegistryImageBuildOutputReference ¶
type RegistryImageBuildOutputReference interface { cdktf.ComplexObject AuthConfig() RegistryImageBuildAuthConfigList AuthConfigInput() interface{} BuildArgs() *map[string]*string SetBuildArgs(val *map[string]*string) BuildArgsInput() *map[string]*string BuildId() *string SetBuildId(val *string) BuildIdInput() *string CacheFrom() *[]*string SetCacheFrom(val *[]*string) CacheFromInput() *[]*string CgroupParent() *string SetCgroupParent(val *string) CgroupParentInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Context() *string SetContext(val *string) ContextInput() *string CpuPeriod() *float64 SetCpuPeriod(val *float64) CpuPeriodInput() *float64 CpuQuota() *float64 SetCpuQuota(val *float64) CpuQuotaInput() *float64 CpuSetCpus() *string SetCpuSetCpus(val *string) CpuSetCpusInput() *string CpuSetMems() *string SetCpuSetMems(val *string) CpuSetMemsInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Dockerfile() *string SetDockerfile(val *string) DockerfileInput() *string ExtraHosts() *[]*string SetExtraHosts(val *[]*string) ExtraHostsInput() *[]*string ForceRemove() interface{} SetForceRemove(val interface{}) ForceRemoveInput() interface{} // Experimental. Fqn() *string InternalValue() *RegistryImageBuild SetInternalValue(val *RegistryImageBuild) Isolation() *string SetIsolation(val *string) IsolationInput() *string Labels() *map[string]*string SetLabels(val *map[string]*string) LabelsInput() *map[string]*string Memory() *float64 SetMemory(val *float64) MemoryInput() *float64 MemorySwap() *float64 SetMemorySwap(val *float64) MemorySwapInput() *float64 NetworkMode() *string SetNetworkMode(val *string) NetworkModeInput() *string NoCache() interface{} SetNoCache(val interface{}) NoCacheInput() interface{} Platform() *string SetPlatform(val *string) PlatformInput() *string PullParent() interface{} SetPullParent(val interface{}) PullParentInput() interface{} RemoteContext() *string SetRemoteContext(val *string) RemoteContextInput() *string Remove() interface{} SetRemove(val interface{}) RemoveInput() interface{} SecurityOpt() *[]*string SetSecurityOpt(val *[]*string) SecurityOptInput() *[]*string SessionId() *string SetSessionId(val *string) SessionIdInput() *string ShmSize() *float64 SetShmSize(val *float64) ShmSizeInput() *float64 Squash() interface{} SetSquash(val interface{}) SquashInput() interface{} SuppressOutput() interface{} SetSuppressOutput(val interface{}) SuppressOutputInput() interface{} Target() *string SetTarget(val *string) TargetInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Ulimit() RegistryImageBuildUlimitList UlimitInput() interface{} Version() *string SetVersion(val *string) VersionInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutAuthConfig(value interface{}) PutUlimit(value interface{}) ResetAuthConfig() ResetBuildArgs() ResetBuildId() ResetCacheFrom() ResetCgroupParent() ResetCpuPeriod() ResetCpuQuota() ResetCpuSetCpus() ResetCpuSetMems() ResetDockerfile() ResetExtraHosts() ResetForceRemove() ResetIsolation() ResetLabels() ResetMemory() ResetMemorySwap() ResetNetworkMode() ResetNoCache() ResetPlatform() ResetPullParent() ResetRemoteContext() ResetRemove() ResetSecurityOpt() ResetSessionId() ResetShmSize() ResetSquash() ResetSuppressOutput() ResetTarget() ResetUlimit() ResetVersion() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewRegistryImageBuildOutputReference ¶
func NewRegistryImageBuildOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) RegistryImageBuildOutputReference
type RegistryImageBuildUlimit ¶
type RegistryImageBuildUlimit struct { // soft limit. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#hard RegistryImage#hard} Hard *float64 `field:"required" json:"hard" yaml:"hard"` // type of ulimit, e.g. `nofile`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#name RegistryImage#name} Name *string `field:"required" json:"name" yaml:"name"` // hard limit. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#soft RegistryImage#soft} Soft *float64 `field:"required" json:"soft" yaml:"soft"` }
type RegistryImageBuildUlimitList ¶
type RegistryImageBuildUlimitList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) RegistryImageBuildUlimitOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewRegistryImageBuildUlimitList ¶
func NewRegistryImageBuildUlimitList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) RegistryImageBuildUlimitList
type RegistryImageBuildUlimitOutputReference ¶
type RegistryImageBuildUlimitOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Hard() *float64 SetHard(val *float64) HardInput() *float64 InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Soft() *float64 SetSoft(val *float64) SoftInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewRegistryImageBuildUlimitOutputReference ¶
func NewRegistryImageBuildUlimitOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) RegistryImageBuildUlimitOutputReference
type RegistryImageConfig ¶
type RegistryImageConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // The name of the Docker image. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#name RegistryImage#name} Name *string `field:"required" json:"name" yaml:"name"` // build block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#build RegistryImage#build} BuildAttribute *RegistryImageBuild `field:"optional" json:"buildAttribute" yaml:"buildAttribute"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#id RegistryImage#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // If `true`, the verification of TLS certificates of the server/registry is disabled. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#insecure_skip_verify RegistryImage#insecure_skip_verify} InsecureSkipVerify interface{} `field:"optional" json:"insecureSkipVerify" yaml:"insecureSkipVerify"` // If true, then the Docker image won't be deleted on destroy operation. // // If this is false, it will delete the image from the docker registry on destroy operation. Defaults to `false` // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/registry_image#keep_remotely RegistryImage#keep_remotely} KeepRemotely interface{} `field:"optional" json:"keepRemotely" yaml:"keepRemotely"` }
type Secret ¶
type Secret interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) Data() *string SetData(val *string) DataInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Labels() SecretLabelsList LabelsInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutLabels(value interface{}) ResetId() ResetLabels() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/r/secret docker_secret}.
func NewSecret ¶
func NewSecret(scope constructs.Construct, id *string, config *SecretConfig) Secret
Create a new {@link https://www.terraform.io/docs/providers/docker/r/secret docker_secret} Resource.
type SecretConfig ¶
type SecretConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Base64-url-safe-encoded secret data. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/secret#data Secret#data} Data *string `field:"required" json:"data" yaml:"data"` // User-defined name of the secret. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/secret#name Secret#name} Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/secret#id Secret#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // labels block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/secret#labels Secret#labels} Labels interface{} `field:"optional" json:"labels" yaml:"labels"` }
type SecretLabels ¶
type SecretLabels struct { // Name of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/secret#label Secret#label} Label *string `field:"required" json:"label" yaml:"label"` // Value of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/secret#value Secret#value} Value *string `field:"required" json:"value" yaml:"value"` }
type SecretLabelsList ¶
type SecretLabelsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) SecretLabelsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewSecretLabelsList ¶
func NewSecretLabelsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SecretLabelsList
type SecretLabelsOutputReference ¶
type SecretLabelsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Label() *string SetLabel(val *string) LabelInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewSecretLabelsOutputReference ¶
func NewSecretLabelsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) SecretLabelsOutputReference
type Service ¶
type Service interface { cdktf.TerraformResource Auth() ServiceAuthOutputReference AuthInput() *ServiceAuth // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} ConvergeConfig() ServiceConvergeConfigOutputReference ConvergeConfigInput() *ServiceConvergeConfig // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) EndpointSpec() ServiceEndpointSpecOutputReference EndpointSpecInput() *ServiceEndpointSpec // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Labels() ServiceLabelsList LabelsInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Mode() ServiceModeOutputReference ModeInput() *ServiceMode Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} RollbackConfig() ServiceRollbackConfigOutputReference RollbackConfigInput() *ServiceRollbackConfig TaskSpec() ServiceTaskSpecOutputReference TaskSpecInput() *ServiceTaskSpec // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string UpdateConfig() ServiceUpdateConfigOutputReference UpdateConfigInput() *ServiceUpdateConfig // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutAuth(value *ServiceAuth) PutConvergeConfig(value *ServiceConvergeConfig) PutEndpointSpec(value *ServiceEndpointSpec) PutLabels(value interface{}) PutMode(value *ServiceMode) PutRollbackConfig(value *ServiceRollbackConfig) PutTaskSpec(value *ServiceTaskSpec) PutUpdateConfig(value *ServiceUpdateConfig) ResetAuth() ResetConvergeConfig() ResetEndpointSpec() ResetId() ResetLabels() ResetMode() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetRollbackConfig() ResetUpdateConfig() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/r/service docker_service}.
func NewService ¶
func NewService(scope constructs.Construct, id *string, config *ServiceConfig) Service
Create a new {@link https://www.terraform.io/docs/providers/docker/r/service docker_service} Resource.
type ServiceAuth ¶
type ServiceAuth struct { // The address of the server for the authentication. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#server_address Service#server_address} ServerAddress *string `field:"required" json:"serverAddress" yaml:"serverAddress"` // The password. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#password Service#password} Password *string `field:"optional" json:"password" yaml:"password"` // The username. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#username Service#username} Username *string `field:"optional" json:"username" yaml:"username"` }
type ServiceAuthOutputReference ¶
type ServiceAuthOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceAuth SetInternalValue(val *ServiceAuth) Password() *string SetPassword(val *string) PasswordInput() *string ServerAddress() *string SetServerAddress(val *string) ServerAddressInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Username() *string SetUsername(val *string) UsernameInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPassword() ResetUsername() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceAuthOutputReference ¶
func NewServiceAuthOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceAuthOutputReference
type ServiceConfig ¶
type ServiceConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Name of the service. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#name Service#name} Name *string `field:"required" json:"name" yaml:"name"` // task_spec block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#task_spec Service#task_spec} TaskSpec *ServiceTaskSpec `field:"required" json:"taskSpec" yaml:"taskSpec"` // auth block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#auth Service#auth} Auth *ServiceAuth `field:"optional" json:"auth" yaml:"auth"` // converge_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#converge_config Service#converge_config} ConvergeConfig *ServiceConvergeConfig `field:"optional" json:"convergeConfig" yaml:"convergeConfig"` // endpoint_spec block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#endpoint_spec Service#endpoint_spec} EndpointSpec *ServiceEndpointSpec `field:"optional" json:"endpointSpec" yaml:"endpointSpec"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#id Service#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // labels block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#labels Service#labels} Labels interface{} `field:"optional" json:"labels" yaml:"labels"` // mode block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#mode Service#mode} Mode *ServiceMode `field:"optional" json:"mode" yaml:"mode"` // rollback_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#rollback_config Service#rollback_config} RollbackConfig *ServiceRollbackConfig `field:"optional" json:"rollbackConfig" yaml:"rollbackConfig"` // update_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#update_config Service#update_config} UpdateConfig *ServiceUpdateConfig `field:"optional" json:"updateConfig" yaml:"updateConfig"` }
type ServiceConvergeConfig ¶
type ServiceConvergeConfig struct { // The interval to check if the desired state is reached `(ms|s)`. Defaults to `7s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#delay Service#delay} Delay *string `field:"optional" json:"delay" yaml:"delay"` // The timeout of the service to reach the desired state `(s|m)`. Defaults to `3m`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#timeout Service#timeout} Timeout *string `field:"optional" json:"timeout" yaml:"timeout"` }
type ServiceConvergeConfigOutputReference ¶
type ServiceConvergeConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delay() *string SetDelay(val *string) DelayInput() *string // Experimental. Fqn() *string InternalValue() *ServiceConvergeConfig SetInternalValue(val *ServiceConvergeConfig) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Timeout() *string SetTimeout(val *string) TimeoutInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDelay() ResetTimeout() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceConvergeConfigOutputReference ¶
func NewServiceConvergeConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceConvergeConfigOutputReference
type ServiceEndpointSpec ¶
type ServiceEndpointSpec struct { // The mode of resolution to use for internal load balancing between tasks. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#mode Service#mode} Mode *string `field:"optional" json:"mode" yaml:"mode"` // ports block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#ports Service#ports} Ports interface{} `field:"optional" json:"ports" yaml:"ports"` }
type ServiceEndpointSpecOutputReference ¶
type ServiceEndpointSpecOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceEndpointSpec SetInternalValue(val *ServiceEndpointSpec) Mode() *string SetMode(val *string) ModeInput() *string Ports() ServiceEndpointSpecPortsList PortsInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutPorts(value interface{}) ResetMode() ResetPorts() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceEndpointSpecOutputReference ¶
func NewServiceEndpointSpecOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceEndpointSpecOutputReference
type ServiceEndpointSpecPorts ¶
type ServiceEndpointSpecPorts struct { // The port inside the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#target_port Service#target_port} TargetPort *float64 `field:"required" json:"targetPort" yaml:"targetPort"` // A random name for the port. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#name Service#name} Name *string `field:"optional" json:"name" yaml:"name"` // Rrepresents the protocol of a port: `tcp`, `udp` or `sctp`. Defaults to `tcp`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#protocol Service#protocol} Protocol *string `field:"optional" json:"protocol" yaml:"protocol"` // The port on the swarm hosts. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#published_port Service#published_port} PublishedPort *float64 `field:"optional" json:"publishedPort" yaml:"publishedPort"` // Represents the mode in which the port is to be published: 'ingress' or 'host'. Defaults to `ingress`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#publish_mode Service#publish_mode} PublishMode *string `field:"optional" json:"publishMode" yaml:"publishMode"` }
type ServiceEndpointSpecPortsList ¶
type ServiceEndpointSpecPortsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ServiceEndpointSpecPortsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceEndpointSpecPortsList ¶
func NewServiceEndpointSpecPortsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceEndpointSpecPortsList
type ServiceEndpointSpecPortsOutputReference ¶
type ServiceEndpointSpecPortsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Name() *string SetName(val *string) NameInput() *string Protocol() *string SetProtocol(val *string) ProtocolInput() *string PublishedPort() *float64 SetPublishedPort(val *float64) PublishedPortInput() *float64 PublishMode() *string SetPublishMode(val *string) PublishModeInput() *string TargetPort() *float64 SetTargetPort(val *float64) TargetPortInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetName() ResetProtocol() ResetPublishedPort() ResetPublishMode() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceEndpointSpecPortsOutputReference ¶
func NewServiceEndpointSpecPortsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceEndpointSpecPortsOutputReference
type ServiceLabels ¶
type ServiceLabels struct { // Name of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#label Service#label} Label *string `field:"required" json:"label" yaml:"label"` // Value of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#value Service#value} Value *string `field:"required" json:"value" yaml:"value"` }
type ServiceLabelsList ¶
type ServiceLabelsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ServiceLabelsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceLabelsList ¶
func NewServiceLabelsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceLabelsList
type ServiceLabelsOutputReference ¶
type ServiceLabelsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Label() *string SetLabel(val *string) LabelInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceLabelsOutputReference ¶
func NewServiceLabelsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceLabelsOutputReference
type ServiceMode ¶
type ServiceMode struct { // The global service mode. Defaults to `false`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#global Service#global} Global interface{} `field:"optional" json:"global" yaml:"global"` // replicated block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#replicated Service#replicated} Replicated *ServiceModeReplicated `field:"optional" json:"replicated" yaml:"replicated"` }
type ServiceModeOutputReference ¶
type ServiceModeOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Global() interface{} SetGlobal(val interface{}) GlobalInput() interface{} InternalValue() *ServiceMode SetInternalValue(val *ServiceMode) Replicated() ServiceModeReplicatedOutputReference ReplicatedInput() *ServiceModeReplicated // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutReplicated(value *ServiceModeReplicated) ResetGlobal() ResetReplicated() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceModeOutputReference ¶
func NewServiceModeOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceModeOutputReference
type ServiceModeReplicated ¶
type ServiceModeReplicated struct { // The amount of replicas of the service. Defaults to `1`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#replicas Service#replicas} Replicas *float64 `field:"optional" json:"replicas" yaml:"replicas"` }
type ServiceModeReplicatedOutputReference ¶
type ServiceModeReplicatedOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceModeReplicated SetInternalValue(val *ServiceModeReplicated) Replicas() *float64 SetReplicas(val *float64) ReplicasInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetReplicas() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceModeReplicatedOutputReference ¶
func NewServiceModeReplicatedOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceModeReplicatedOutputReference
type ServiceRollbackConfig ¶
type ServiceRollbackConfig struct { // Delay between task rollbacks (ns|us|ms|s|m|h). Defaults to `0s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#delay Service#delay} Delay *string `field:"optional" json:"delay" yaml:"delay"` // Action on rollback failure: pause | continue. Defaults to `pause`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#failure_action Service#failure_action} FailureAction *string `field:"optional" json:"failureAction" yaml:"failureAction"` // Failure rate to tolerate during a rollback. Defaults to `0.0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#max_failure_ratio Service#max_failure_ratio} MaxFailureRatio *string `field:"optional" json:"maxFailureRatio" yaml:"maxFailureRatio"` // Duration after each task rollback to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#monitor Service#monitor} Monitor *string `field:"optional" json:"monitor" yaml:"monitor"` // Rollback order: either 'stop-first' or 'start-first'. Defaults to `stop-first`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#order Service#order} Order *string `field:"optional" json:"order" yaml:"order"` // Maximum number of tasks to be rollbacked in one iteration. Defaults to `1`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#parallelism Service#parallelism} Parallelism *float64 `field:"optional" json:"parallelism" yaml:"parallelism"` }
type ServiceRollbackConfigOutputReference ¶
type ServiceRollbackConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delay() *string SetDelay(val *string) DelayInput() *string FailureAction() *string SetFailureAction(val *string) FailureActionInput() *string // Experimental. Fqn() *string InternalValue() *ServiceRollbackConfig SetInternalValue(val *ServiceRollbackConfig) MaxFailureRatio() *string SetMaxFailureRatio(val *string) MaxFailureRatioInput() *string Monitor() *string SetMonitor(val *string) MonitorInput() *string Order() *string SetOrder(val *string) OrderInput() *string Parallelism() *float64 SetParallelism(val *float64) ParallelismInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDelay() ResetFailureAction() ResetMaxFailureRatio() ResetMonitor() ResetOrder() ResetParallelism() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceRollbackConfigOutputReference ¶
func NewServiceRollbackConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceRollbackConfigOutputReference
type ServiceTaskSpec ¶
type ServiceTaskSpec struct { // container_spec block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#container_spec Service#container_spec} ContainerSpec *ServiceTaskSpecContainerSpec `field:"required" json:"containerSpec" yaml:"containerSpec"` // A counter that triggers an update even if no relevant parameters have been changed. See the [spec](https://github.com/docker/swarmkit/blob/master/api/specs.proto#L126). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#force_update Service#force_update} ForceUpdate *float64 `field:"optional" json:"forceUpdate" yaml:"forceUpdate"` // log_driver block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#log_driver Service#log_driver} LogDriver *ServiceTaskSpecLogDriver `field:"optional" json:"logDriver" yaml:"logDriver"` // Ids of the networks in which the container will be put in. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#networks Service#networks} Networks *[]*string `field:"optional" json:"networks" yaml:"networks"` // placement block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#placement Service#placement} Placement *ServiceTaskSpecPlacement `field:"optional" json:"placement" yaml:"placement"` // resources block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#resources Service#resources} Resources *ServiceTaskSpecResources `field:"optional" json:"resources" yaml:"resources"` // restart_policy block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#restart_policy Service#restart_policy} RestartPolicy *ServiceTaskSpecRestartPolicy `field:"optional" json:"restartPolicy" yaml:"restartPolicy"` // Runtime is the type of runtime specified for the task executor. See the [types](https://github.com/moby/moby/blob/master/api/types/swarm/runtime.go). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#runtime Service#runtime} Runtime *string `field:"optional" json:"runtime" yaml:"runtime"` }
type ServiceTaskSpecContainerSpec ¶
type ServiceTaskSpecContainerSpec struct { // The image name to use for the containers of the service, like `nginx:1.17.6`. Also use the data-source or resource of `docker_image` with the `repo_digest` or `docker_registry_image` with the `name` attribute for this, as shown in the examples. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#image Service#image} Image *string `field:"required" json:"image" yaml:"image"` // Arguments to the command. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#args Service#args} Args *[]*string `field:"optional" json:"args" yaml:"args"` // The command/entrypoint to be run in the image. // // According to the [docker cli](https://github.com/docker/cli/blob/v20.10.7/cli/command/service/opts.go#L705) the override of the entrypoint is also passed to the `command` property and there is no `entrypoint` attribute in the `ContainerSpec` of the service. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#command Service#command} Command *[]*string `field:"optional" json:"command" yaml:"command"` // configs block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#configs Service#configs} Configs interface{} `field:"optional" json:"configs" yaml:"configs"` // The working directory for commands to run in. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#dir Service#dir} Dir *string `field:"optional" json:"dir" yaml:"dir"` // dns_config block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#dns_config Service#dns_config} DnsConfig *ServiceTaskSpecContainerSpecDnsConfig `field:"optional" json:"dnsConfig" yaml:"dnsConfig"` // A list of environment variables in the form VAR="value". // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#env Service#env} Env *map[string]*string `field:"optional" json:"env" yaml:"env"` // A list of additional groups that the container process will run as. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#groups Service#groups} Groups *[]*string `field:"optional" json:"groups" yaml:"groups"` // healthcheck block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#healthcheck Service#healthcheck} Healthcheck *ServiceTaskSpecContainerSpecHealthcheck `field:"optional" json:"healthcheck" yaml:"healthcheck"` // The hostname to use for the container, as a valid RFC 1123 hostname. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#hostname Service#hostname} Hostname *string `field:"optional" json:"hostname" yaml:"hostname"` // hosts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#hosts Service#hosts} Hosts interface{} `field:"optional" json:"hosts" yaml:"hosts"` // Isolation technology of the containers running the service. (Windows only). Defaults to `default`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#isolation Service#isolation} Isolation *string `field:"optional" json:"isolation" yaml:"isolation"` // labels block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#labels Service#labels} Labels interface{} `field:"optional" json:"labels" yaml:"labels"` // mounts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#mounts Service#mounts} Mounts interface{} `field:"optional" json:"mounts" yaml:"mounts"` // privileges block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#privileges Service#privileges} Privileges *ServiceTaskSpecContainerSpecPrivileges `field:"optional" json:"privileges" yaml:"privileges"` // Mount the container's root filesystem as read only. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#read_only Service#read_only} ReadOnly interface{} `field:"optional" json:"readOnly" yaml:"readOnly"` // secrets block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#secrets Service#secrets} Secrets interface{} `field:"optional" json:"secrets" yaml:"secrets"` // Amount of time to wait for the container to terminate before forcefully removing it (ms|s|m|h). // // If not specified or '0s' the destroy will not check if all tasks/containers of the service terminate. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#stop_grace_period Service#stop_grace_period} StopGracePeriod *string `field:"optional" json:"stopGracePeriod" yaml:"stopGracePeriod"` // Signal to stop the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#stop_signal Service#stop_signal} StopSignal *string `field:"optional" json:"stopSignal" yaml:"stopSignal"` // The user inside the container. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#user Service#user} User *string `field:"optional" json:"user" yaml:"user"` }
type ServiceTaskSpecContainerSpecConfigs ¶
type ServiceTaskSpecContainerSpecConfigs struct { // ID of the specific config that we're referencing. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#config_id Service#config_id} ConfigId *string `field:"required" json:"configId" yaml:"configId"` // Represents the final filename in the filesystem. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#file_name Service#file_name} FileName *string `field:"required" json:"fileName" yaml:"fileName"` // Name of the config that this references, but this is just provided for lookup/display purposes. // // The config in the reference will be identified by its ID // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#config_name Service#config_name} ConfigName *string `field:"optional" json:"configName" yaml:"configName"` // Represents the file GID. Defaults to `0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#file_gid Service#file_gid} FileGid *string `field:"optional" json:"fileGid" yaml:"fileGid"` // Represents represents the FileMode of the file. Defaults to `0o444`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#file_mode Service#file_mode} FileMode *float64 `field:"optional" json:"fileMode" yaml:"fileMode"` // Represents the file UID. Defaults to `0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#file_uid Service#file_uid} FileUid *string `field:"optional" json:"fileUid" yaml:"fileUid"` }
type ServiceTaskSpecContainerSpecConfigsList ¶
type ServiceTaskSpecContainerSpecConfigsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ServiceTaskSpecContainerSpecConfigsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecConfigsList ¶
func NewServiceTaskSpecContainerSpecConfigsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceTaskSpecContainerSpecConfigsList
type ServiceTaskSpecContainerSpecConfigsOutputReference ¶
type ServiceTaskSpecContainerSpecConfigsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) ConfigId() *string SetConfigId(val *string) ConfigIdInput() *string ConfigName() *string SetConfigName(val *string) ConfigNameInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string FileGid() *string SetFileGid(val *string) FileGidInput() *string FileMode() *float64 SetFileMode(val *float64) FileModeInput() *float64 FileName() *string SetFileName(val *string) FileNameInput() *string FileUid() *string SetFileUid(val *string) FileUidInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetConfigName() ResetFileGid() ResetFileMode() ResetFileUid() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecConfigsOutputReference ¶
func NewServiceTaskSpecContainerSpecConfigsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceTaskSpecContainerSpecConfigsOutputReference
type ServiceTaskSpecContainerSpecDnsConfig ¶
type ServiceTaskSpecContainerSpecDnsConfig struct { // The IP addresses of the name servers. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#nameservers Service#nameservers} Nameservers *[]*string `field:"required" json:"nameservers" yaml:"nameservers"` // A list of internal resolver variables to be modified (e.g., `debug`, `ndots:3`, etc.). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#options Service#options} Options *[]*string `field:"optional" json:"options" yaml:"options"` // A search list for host-name lookup. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#search Service#search} Search *[]*string `field:"optional" json:"search" yaml:"search"` }
type ServiceTaskSpecContainerSpecDnsConfigOutputReference ¶
type ServiceTaskSpecContainerSpecDnsConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecContainerSpecDnsConfig SetInternalValue(val *ServiceTaskSpecContainerSpecDnsConfig) Nameservers() *[]*string SetNameservers(val *[]*string) NameserversInput() *[]*string Options() *[]*string SetOptions(val *[]*string) OptionsInput() *[]*string Search() *[]*string SetSearch(val *[]*string) SearchInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetOptions() ResetSearch() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecDnsConfigOutputReference ¶
func NewServiceTaskSpecContainerSpecDnsConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecContainerSpecDnsConfigOutputReference
type ServiceTaskSpecContainerSpecHealthcheck ¶
type ServiceTaskSpecContainerSpecHealthcheck struct { // The test to perform as list. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#test Service#test} Test *[]*string `field:"required" json:"test" yaml:"test"` // Time between running the check (ms|s|m|h). Defaults to `0s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#interval Service#interval} Interval *string `field:"optional" json:"interval" yaml:"interval"` // Consecutive failures needed to report unhealthy. Defaults to `0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#retries Service#retries} Retries *float64 `field:"optional" json:"retries" yaml:"retries"` // Start period for the container to initialize before counting retries towards unstable (ms|s|m|h). Defaults to `0s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#start_period Service#start_period} StartPeriod *string `field:"optional" json:"startPeriod" yaml:"startPeriod"` // Maximum time to allow one check to run (ms|s|m|h). Defaults to `0s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#timeout Service#timeout} Timeout *string `field:"optional" json:"timeout" yaml:"timeout"` }
type ServiceTaskSpecContainerSpecHealthcheckOutputReference ¶
type ServiceTaskSpecContainerSpecHealthcheckOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecContainerSpecHealthcheck SetInternalValue(val *ServiceTaskSpecContainerSpecHealthcheck) Interval() *string SetInterval(val *string) IntervalInput() *string Retries() *float64 SetRetries(val *float64) RetriesInput() *float64 StartPeriod() *string SetStartPeriod(val *string) StartPeriodInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Test() *[]*string SetTest(val *[]*string) TestInput() *[]*string Timeout() *string SetTimeout(val *string) TimeoutInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetInterval() ResetRetries() ResetStartPeriod() ResetTimeout() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecHealthcheckOutputReference ¶
func NewServiceTaskSpecContainerSpecHealthcheckOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecContainerSpecHealthcheckOutputReference
type ServiceTaskSpecContainerSpecHosts ¶
type ServiceTaskSpecContainerSpecHosts struct { // The name of the host. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#host Service#host} Host *string `field:"required" json:"host" yaml:"host"` // The ip of the host. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#ip Service#ip} Ip *string `field:"required" json:"ip" yaml:"ip"` }
type ServiceTaskSpecContainerSpecHostsList ¶
type ServiceTaskSpecContainerSpecHostsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ServiceTaskSpecContainerSpecHostsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecHostsList ¶
func NewServiceTaskSpecContainerSpecHostsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceTaskSpecContainerSpecHostsList
type ServiceTaskSpecContainerSpecHostsOutputReference ¶
type ServiceTaskSpecContainerSpecHostsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string Host() *string SetHost(val *string) HostInput() *string InternalValue() interface{} SetInternalValue(val interface{}) Ip() *string SetIp(val *string) IpInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecHostsOutputReference ¶
func NewServiceTaskSpecContainerSpecHostsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceTaskSpecContainerSpecHostsOutputReference
type ServiceTaskSpecContainerSpecLabels ¶
type ServiceTaskSpecContainerSpecLabels struct { // Name of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#label Service#label} Label *string `field:"required" json:"label" yaml:"label"` // Value of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#value Service#value} Value *string `field:"required" json:"value" yaml:"value"` }
type ServiceTaskSpecContainerSpecLabelsList ¶
type ServiceTaskSpecContainerSpecLabelsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ServiceTaskSpecContainerSpecLabelsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecLabelsList ¶
func NewServiceTaskSpecContainerSpecLabelsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceTaskSpecContainerSpecLabelsList
type ServiceTaskSpecContainerSpecLabelsOutputReference ¶
type ServiceTaskSpecContainerSpecLabelsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Label() *string SetLabel(val *string) LabelInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecLabelsOutputReference ¶
func NewServiceTaskSpecContainerSpecLabelsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceTaskSpecContainerSpecLabelsOutputReference
type ServiceTaskSpecContainerSpecMounts ¶
type ServiceTaskSpecContainerSpecMounts struct { // Container path. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#target Service#target} Target *string `field:"required" json:"target" yaml:"target"` // The mount type. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#type Service#type} Type *string `field:"required" json:"type" yaml:"type"` // bind_options block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#bind_options Service#bind_options} BindOptions *ServiceTaskSpecContainerSpecMountsBindOptions `field:"optional" json:"bindOptions" yaml:"bindOptions"` // Whether the mount should be read-only. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#read_only Service#read_only} ReadOnly interface{} `field:"optional" json:"readOnly" yaml:"readOnly"` // Mount source (e.g. a volume name, a host path). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#source Service#source} Source *string `field:"optional" json:"source" yaml:"source"` // tmpfs_options block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#tmpfs_options Service#tmpfs_options} TmpfsOptions *ServiceTaskSpecContainerSpecMountsTmpfsOptions `field:"optional" json:"tmpfsOptions" yaml:"tmpfsOptions"` // volume_options block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#volume_options Service#volume_options} VolumeOptions *ServiceTaskSpecContainerSpecMountsVolumeOptions `field:"optional" json:"volumeOptions" yaml:"volumeOptions"` }
type ServiceTaskSpecContainerSpecMountsBindOptions ¶
type ServiceTaskSpecContainerSpecMountsBindOptions struct { // Bind propagation refers to whether or not mounts created within a given bind-mount or named volume can be propagated to replicas of that mount. // // See the [docs](https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation) for details. Defaults to `rprivate` // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#propagation Service#propagation} Propagation *string `field:"optional" json:"propagation" yaml:"propagation"` }
type ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference ¶
type ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecContainerSpecMountsBindOptions SetInternalValue(val *ServiceTaskSpecContainerSpecMountsBindOptions) Propagation() *string SetPropagation(val *string) PropagationInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPropagation() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecMountsBindOptionsOutputReference ¶
func NewServiceTaskSpecContainerSpecMountsBindOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference
type ServiceTaskSpecContainerSpecMountsList ¶
type ServiceTaskSpecContainerSpecMountsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ServiceTaskSpecContainerSpecMountsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecMountsList ¶
func NewServiceTaskSpecContainerSpecMountsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceTaskSpecContainerSpecMountsList
type ServiceTaskSpecContainerSpecMountsOutputReference ¶
type ServiceTaskSpecContainerSpecMountsOutputReference interface { cdktf.ComplexObject BindOptions() ServiceTaskSpecContainerSpecMountsBindOptionsOutputReference BindOptionsInput() *ServiceTaskSpecContainerSpecMountsBindOptions // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) ReadOnly() interface{} SetReadOnly(val interface{}) ReadOnlyInput() interface{} Source() *string SetSource(val *string) SourceInput() *string Target() *string SetTarget(val *string) TargetInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) TmpfsOptions() ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference TmpfsOptionsInput() *ServiceTaskSpecContainerSpecMountsTmpfsOptions Type() *string SetType(val *string) TypeInput() *string VolumeOptions() ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference VolumeOptionsInput() *ServiceTaskSpecContainerSpecMountsVolumeOptions // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutBindOptions(value *ServiceTaskSpecContainerSpecMountsBindOptions) PutTmpfsOptions(value *ServiceTaskSpecContainerSpecMountsTmpfsOptions) PutVolumeOptions(value *ServiceTaskSpecContainerSpecMountsVolumeOptions) ResetBindOptions() ResetReadOnly() ResetSource() ResetTmpfsOptions() ResetVolumeOptions() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecMountsOutputReference ¶
func NewServiceTaskSpecContainerSpecMountsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceTaskSpecContainerSpecMountsOutputReference
type ServiceTaskSpecContainerSpecMountsTmpfsOptions ¶
type ServiceTaskSpecContainerSpecMountsTmpfsOptions struct { // The permission mode for the tmpfs mount in an integer. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#mode Service#mode} Mode *float64 `field:"optional" json:"mode" yaml:"mode"` // The size for the tmpfs mount in bytes. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#size_bytes Service#size_bytes} SizeBytes *float64 `field:"optional" json:"sizeBytes" yaml:"sizeBytes"` }
type ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference ¶
type ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecContainerSpecMountsTmpfsOptions SetInternalValue(val *ServiceTaskSpecContainerSpecMountsTmpfsOptions) Mode() *float64 SetMode(val *float64) ModeInput() *float64 SizeBytes() *float64 SetSizeBytes(val *float64) SizeBytesInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetMode() ResetSizeBytes() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference ¶
func NewServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecContainerSpecMountsTmpfsOptionsOutputReference
type ServiceTaskSpecContainerSpecMountsVolumeOptions ¶
type ServiceTaskSpecContainerSpecMountsVolumeOptions struct { // Name of the driver to use to create the volume. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#driver_name Service#driver_name} DriverName *string `field:"optional" json:"driverName" yaml:"driverName"` // key/value map of driver specific options. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#driver_options Service#driver_options} DriverOptions *map[string]*string `field:"optional" json:"driverOptions" yaml:"driverOptions"` // labels block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#labels Service#labels} Labels interface{} `field:"optional" json:"labels" yaml:"labels"` // Populate volume with data from the target. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#no_copy Service#no_copy} NoCopy interface{} `field:"optional" json:"noCopy" yaml:"noCopy"` }
type ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels ¶
type ServiceTaskSpecContainerSpecMountsVolumeOptionsLabels struct { // Name of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#label Service#label} Label *string `field:"required" json:"label" yaml:"label"` // Value of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#value Service#value} Value *string `field:"required" json:"value" yaml:"value"` }
type ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList ¶
type ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList ¶
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList
type ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference ¶
type ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Label() *string SetLabel(val *string) LabelInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference ¶
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsOutputReference
type ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference ¶
type ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DriverName() *string SetDriverName(val *string) DriverNameInput() *string DriverOptions() *map[string]*string SetDriverOptions(val *map[string]*string) DriverOptionsInput() *map[string]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecContainerSpecMountsVolumeOptions SetInternalValue(val *ServiceTaskSpecContainerSpecMountsVolumeOptions) Labels() ServiceTaskSpecContainerSpecMountsVolumeOptionsLabelsList LabelsInput() interface{} NoCopy() interface{} SetNoCopy(val interface{}) NoCopyInput() interface{} // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutLabels(value interface{}) ResetDriverName() ResetDriverOptions() ResetLabels() ResetNoCopy() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference ¶
func NewServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecContainerSpecMountsVolumeOptionsOutputReference
type ServiceTaskSpecContainerSpecOutputReference ¶
type ServiceTaskSpecContainerSpecOutputReference interface { cdktf.ComplexObject Args() *[]*string SetArgs(val *[]*string) ArgsInput() *[]*string Command() *[]*string SetCommand(val *[]*string) CommandInput() *[]*string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Configs() ServiceTaskSpecContainerSpecConfigsList ConfigsInput() interface{} // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Dir() *string SetDir(val *string) DirInput() *string DnsConfig() ServiceTaskSpecContainerSpecDnsConfigOutputReference DnsConfigInput() *ServiceTaskSpecContainerSpecDnsConfig Env() *map[string]*string SetEnv(val *map[string]*string) EnvInput() *map[string]*string // Experimental. Fqn() *string Groups() *[]*string SetGroups(val *[]*string) GroupsInput() *[]*string Healthcheck() ServiceTaskSpecContainerSpecHealthcheckOutputReference HealthcheckInput() *ServiceTaskSpecContainerSpecHealthcheck Hostname() *string SetHostname(val *string) HostnameInput() *string Hosts() ServiceTaskSpecContainerSpecHostsList HostsInput() interface{} Image() *string SetImage(val *string) ImageInput() *string InternalValue() *ServiceTaskSpecContainerSpec SetInternalValue(val *ServiceTaskSpecContainerSpec) Isolation() *string SetIsolation(val *string) IsolationInput() *string Labels() ServiceTaskSpecContainerSpecLabelsList LabelsInput() interface{} Mounts() ServiceTaskSpecContainerSpecMountsList MountsInput() interface{} Privileges() ServiceTaskSpecContainerSpecPrivilegesOutputReference PrivilegesInput() *ServiceTaskSpecContainerSpecPrivileges ReadOnly() interface{} SetReadOnly(val interface{}) ReadOnlyInput() interface{} Secrets() ServiceTaskSpecContainerSpecSecretsList SecretsInput() interface{} StopGracePeriod() *string SetStopGracePeriod(val *string) StopGracePeriodInput() *string StopSignal() *string SetStopSignal(val *string) StopSignalInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) User() *string SetUser(val *string) UserInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutConfigs(value interface{}) PutDnsConfig(value *ServiceTaskSpecContainerSpecDnsConfig) PutHealthcheck(value *ServiceTaskSpecContainerSpecHealthcheck) PutHosts(value interface{}) PutLabels(value interface{}) PutMounts(value interface{}) PutPrivileges(value *ServiceTaskSpecContainerSpecPrivileges) PutSecrets(value interface{}) ResetArgs() ResetCommand() ResetConfigs() ResetDir() ResetDnsConfig() ResetEnv() ResetGroups() ResetHealthcheck() ResetHostname() ResetHosts() ResetIsolation() ResetLabels() ResetMounts() ResetPrivileges() ResetReadOnly() ResetSecrets() ResetStopGracePeriod() ResetStopSignal() ResetUser() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecOutputReference ¶
func NewServiceTaskSpecContainerSpecOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecContainerSpecOutputReference
type ServiceTaskSpecContainerSpecPrivileges ¶
type ServiceTaskSpecContainerSpecPrivileges struct { // credential_spec block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#credential_spec Service#credential_spec} CredentialSpec *ServiceTaskSpecContainerSpecPrivilegesCredentialSpec `field:"optional" json:"credentialSpec" yaml:"credentialSpec"` // se_linux_context block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#se_linux_context Service#se_linux_context} SeLinuxContext *ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext `field:"optional" json:"seLinuxContext" yaml:"seLinuxContext"` }
type ServiceTaskSpecContainerSpecPrivilegesCredentialSpec ¶
type ServiceTaskSpecContainerSpecPrivilegesCredentialSpec struct { // Load credential spec from this file. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#file Service#file} File *string `field:"optional" json:"file" yaml:"file"` // Load credential spec from this value in the Windows registry. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#registry Service#registry} Registry *string `field:"optional" json:"registry" yaml:"registry"` }
type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference ¶
type ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string File() *string SetFile(val *string) FileInput() *string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecContainerSpecPrivilegesCredentialSpec SetInternalValue(val *ServiceTaskSpecContainerSpecPrivilegesCredentialSpec) Registry() *string SetRegistry(val *string) RegistryInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetFile() ResetRegistry() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference ¶
func NewServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference
type ServiceTaskSpecContainerSpecPrivilegesOutputReference ¶
type ServiceTaskSpecContainerSpecPrivilegesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string CredentialSpec() ServiceTaskSpecContainerSpecPrivilegesCredentialSpecOutputReference CredentialSpecInput() *ServiceTaskSpecContainerSpecPrivilegesCredentialSpec // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecContainerSpecPrivileges SetInternalValue(val *ServiceTaskSpecContainerSpecPrivileges) SeLinuxContext() ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference SeLinuxContextInput() *ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutCredentialSpec(value *ServiceTaskSpecContainerSpecPrivilegesCredentialSpec) PutSeLinuxContext(value *ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext) ResetCredentialSpec() ResetSeLinuxContext() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecPrivilegesOutputReference ¶
func NewServiceTaskSpecContainerSpecPrivilegesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecContainerSpecPrivilegesOutputReference
type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext ¶
type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext struct { // Disable SELinux. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#disable Service#disable} Disable interface{} `field:"optional" json:"disable" yaml:"disable"` // SELinux level label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#level Service#level} Level *string `field:"optional" json:"level" yaml:"level"` // SELinux role label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#role Service#role} Role *string `field:"optional" json:"role" yaml:"role"` // SELinux type label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#type Service#type} Type *string `field:"optional" json:"type" yaml:"type"` // SELinux user label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#user Service#user} User *string `field:"optional" json:"user" yaml:"user"` }
type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference ¶
type ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Disable() interface{} SetDisable(val interface{}) DisableInput() interface{} // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext SetInternalValue(val *ServiceTaskSpecContainerSpecPrivilegesSeLinuxContext) Level() *string SetLevel(val *string) LevelInput() *string Role() *string SetRole(val *string) RoleInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string User() *string SetUser(val *string) UserInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDisable() ResetLevel() ResetRole() ResetType() ResetUser() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference ¶
func NewServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecContainerSpecPrivilegesSeLinuxContextOutputReference
type ServiceTaskSpecContainerSpecSecrets ¶
type ServiceTaskSpecContainerSpecSecrets struct { // Represents the final filename in the filesystem. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#file_name Service#file_name} FileName *string `field:"required" json:"fileName" yaml:"fileName"` // ID of the specific secret that we're referencing. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#secret_id Service#secret_id} SecretId *string `field:"required" json:"secretId" yaml:"secretId"` // Represents the file GID. Defaults to `0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#file_gid Service#file_gid} FileGid *string `field:"optional" json:"fileGid" yaml:"fileGid"` // Represents represents the FileMode of the file. Defaults to `0o444`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#file_mode Service#file_mode} FileMode *float64 `field:"optional" json:"fileMode" yaml:"fileMode"` // Represents the file UID. Defaults to `0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#file_uid Service#file_uid} FileUid *string `field:"optional" json:"fileUid" yaml:"fileUid"` // Name of the secret that this references, but this is just provided for lookup/display purposes. // // The config in the reference will be identified by its ID // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#secret_name Service#secret_name} SecretName *string `field:"optional" json:"secretName" yaml:"secretName"` }
type ServiceTaskSpecContainerSpecSecretsList ¶
type ServiceTaskSpecContainerSpecSecretsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ServiceTaskSpecContainerSpecSecretsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecSecretsList ¶
func NewServiceTaskSpecContainerSpecSecretsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceTaskSpecContainerSpecSecretsList
type ServiceTaskSpecContainerSpecSecretsOutputReference ¶
type ServiceTaskSpecContainerSpecSecretsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string FileGid() *string SetFileGid(val *string) FileGidInput() *string FileMode() *float64 SetFileMode(val *float64) FileModeInput() *float64 FileName() *string SetFileName(val *string) FileNameInput() *string FileUid() *string SetFileUid(val *string) FileUidInput() *string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) SecretId() *string SetSecretId(val *string) SecretIdInput() *string SecretName() *string SetSecretName(val *string) SecretNameInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetFileGid() ResetFileMode() ResetFileUid() ResetSecretName() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecContainerSpecSecretsOutputReference ¶
func NewServiceTaskSpecContainerSpecSecretsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceTaskSpecContainerSpecSecretsOutputReference
type ServiceTaskSpecLogDriver ¶
type ServiceTaskSpecLogDriver struct { // The logging driver to use. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#name Service#name} Name *string `field:"required" json:"name" yaml:"name"` // The options for the logging driver. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#options Service#options} Options *map[string]*string `field:"optional" json:"options" yaml:"options"` }
type ServiceTaskSpecLogDriverOutputReference ¶
type ServiceTaskSpecLogDriverOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecLogDriver SetInternalValue(val *ServiceTaskSpecLogDriver) Name() *string SetName(val *string) NameInput() *string Options() *map[string]*string SetOptions(val *map[string]*string) OptionsInput() *map[string]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetOptions() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecLogDriverOutputReference ¶
func NewServiceTaskSpecLogDriverOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecLogDriverOutputReference
type ServiceTaskSpecOutputReference ¶
type ServiceTaskSpecOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) ContainerSpec() ServiceTaskSpecContainerSpecOutputReference ContainerSpecInput() *ServiceTaskSpecContainerSpec // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string ForceUpdate() *float64 SetForceUpdate(val *float64) ForceUpdateInput() *float64 // Experimental. Fqn() *string InternalValue() *ServiceTaskSpec SetInternalValue(val *ServiceTaskSpec) LogDriver() ServiceTaskSpecLogDriverOutputReference LogDriverInput() *ServiceTaskSpecLogDriver Networks() *[]*string SetNetworks(val *[]*string) NetworksInput() *[]*string Placement() ServiceTaskSpecPlacementOutputReference PlacementInput() *ServiceTaskSpecPlacement Resources() ServiceTaskSpecResourcesOutputReference ResourcesInput() *ServiceTaskSpecResources RestartPolicy() ServiceTaskSpecRestartPolicyOutputReference RestartPolicyInput() *ServiceTaskSpecRestartPolicy Runtime() *string SetRuntime(val *string) RuntimeInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutContainerSpec(value *ServiceTaskSpecContainerSpec) PutLogDriver(value *ServiceTaskSpecLogDriver) PutPlacement(value *ServiceTaskSpecPlacement) PutResources(value *ServiceTaskSpecResources) PutRestartPolicy(value *ServiceTaskSpecRestartPolicy) ResetForceUpdate() ResetLogDriver() ResetNetworks() ResetPlacement() ResetResources() ResetRestartPolicy() ResetRuntime() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecOutputReference ¶
func NewServiceTaskSpecOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecOutputReference
type ServiceTaskSpecPlacement ¶
type ServiceTaskSpecPlacement struct { // An array of constraints. e.g.: `node.role==manager`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#constraints Service#constraints} Constraints *[]*string `field:"optional" json:"constraints" yaml:"constraints"` // Maximum number of replicas for per node (default value is `0`, which is unlimited). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#max_replicas Service#max_replicas} MaxReplicas *float64 `field:"optional" json:"maxReplicas" yaml:"maxReplicas"` // platforms block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#platforms Service#platforms} Platforms interface{} `field:"optional" json:"platforms" yaml:"platforms"` // Preferences provide a way to make the scheduler aware of factors such as topology. // // They are provided in order from highest to lowest precedence, e.g.: `spread=node.role.manager` // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#prefs Service#prefs} Prefs *[]*string `field:"optional" json:"prefs" yaml:"prefs"` }
type ServiceTaskSpecPlacementOutputReference ¶
type ServiceTaskSpecPlacementOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Constraints() *[]*string SetConstraints(val *[]*string) ConstraintsInput() *[]*string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecPlacement SetInternalValue(val *ServiceTaskSpecPlacement) MaxReplicas() *float64 SetMaxReplicas(val *float64) MaxReplicasInput() *float64 Platforms() ServiceTaskSpecPlacementPlatformsList PlatformsInput() interface{} Prefs() *[]*string SetPrefs(val *[]*string) PrefsInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutPlatforms(value interface{}) ResetConstraints() ResetMaxReplicas() ResetPlatforms() ResetPrefs() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecPlacementOutputReference ¶
func NewServiceTaskSpecPlacementOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecPlacementOutputReference
type ServiceTaskSpecPlacementPlatforms ¶
type ServiceTaskSpecPlacementPlatforms struct { // The architecture, e.g. `amd64`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#architecture Service#architecture} Architecture *string `field:"required" json:"architecture" yaml:"architecture"` // The operation system, e.g. `linux`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#os Service#os} Os *string `field:"required" json:"os" yaml:"os"` }
type ServiceTaskSpecPlacementPlatformsList ¶
type ServiceTaskSpecPlacementPlatformsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) ServiceTaskSpecPlacementPlatformsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecPlacementPlatformsList ¶
func NewServiceTaskSpecPlacementPlatformsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) ServiceTaskSpecPlacementPlatformsList
type ServiceTaskSpecPlacementPlatformsOutputReference ¶
type ServiceTaskSpecPlacementPlatformsOutputReference interface { cdktf.ComplexObject Architecture() *string SetArchitecture(val *string) ArchitectureInput() *string // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Os() *string SetOs(val *string) OsInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecPlacementPlatformsOutputReference ¶
func NewServiceTaskSpecPlacementPlatformsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) ServiceTaskSpecPlacementPlatformsOutputReference
type ServiceTaskSpecResources ¶
type ServiceTaskSpecResources struct { // limits block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#limits Service#limits} Limits *ServiceTaskSpecResourcesLimits `field:"optional" json:"limits" yaml:"limits"` // reservation block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#reservation Service#reservation} Reservation *ServiceTaskSpecResourcesReservation `field:"optional" json:"reservation" yaml:"reservation"` }
type ServiceTaskSpecResourcesLimits ¶
type ServiceTaskSpecResourcesLimits struct { // The amounf of memory in bytes the container allocates. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#memory_bytes Service#memory_bytes} MemoryBytes *float64 `field:"optional" json:"memoryBytes" yaml:"memoryBytes"` // CPU shares in units of `1/1e9` (or `10^-9`) of the CPU. Should be at least `1000000`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#nano_cpus Service#nano_cpus} NanoCpus *float64 `field:"optional" json:"nanoCpus" yaml:"nanoCpus"` }
type ServiceTaskSpecResourcesLimitsOutputReference ¶
type ServiceTaskSpecResourcesLimitsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecResourcesLimits SetInternalValue(val *ServiceTaskSpecResourcesLimits) MemoryBytes() *float64 SetMemoryBytes(val *float64) MemoryBytesInput() *float64 NanoCpus() *float64 SetNanoCpus(val *float64) NanoCpusInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetMemoryBytes() ResetNanoCpus() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecResourcesLimitsOutputReference ¶
func NewServiceTaskSpecResourcesLimitsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecResourcesLimitsOutputReference
type ServiceTaskSpecResourcesOutputReference ¶
type ServiceTaskSpecResourcesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecResources SetInternalValue(val *ServiceTaskSpecResources) Limits() ServiceTaskSpecResourcesLimitsOutputReference LimitsInput() *ServiceTaskSpecResourcesLimits Reservation() ServiceTaskSpecResourcesReservationOutputReference ReservationInput() *ServiceTaskSpecResourcesReservation // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutLimits(value *ServiceTaskSpecResourcesLimits) PutReservation(value *ServiceTaskSpecResourcesReservation) ResetLimits() ResetReservation() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecResourcesOutputReference ¶
func NewServiceTaskSpecResourcesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecResourcesOutputReference
type ServiceTaskSpecResourcesReservation ¶
type ServiceTaskSpecResourcesReservation struct { // generic_resources block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#generic_resources Service#generic_resources} GenericResources *ServiceTaskSpecResourcesReservationGenericResources `field:"optional" json:"genericResources" yaml:"genericResources"` // The amounf of memory in bytes the container allocates. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#memory_bytes Service#memory_bytes} MemoryBytes *float64 `field:"optional" json:"memoryBytes" yaml:"memoryBytes"` // CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least `1000000`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#nano_cpus Service#nano_cpus} NanoCpus *float64 `field:"optional" json:"nanoCpus" yaml:"nanoCpus"` }
type ServiceTaskSpecResourcesReservationGenericResources ¶
type ServiceTaskSpecResourcesReservationGenericResources struct { // The Integer resources. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#discrete_resources_spec Service#discrete_resources_spec} DiscreteResourcesSpec *[]*string `field:"optional" json:"discreteResourcesSpec" yaml:"discreteResourcesSpec"` // The String resources. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#named_resources_spec Service#named_resources_spec} NamedResourcesSpec *[]*string `field:"optional" json:"namedResourcesSpec" yaml:"namedResourcesSpec"` }
type ServiceTaskSpecResourcesReservationGenericResourcesOutputReference ¶
type ServiceTaskSpecResourcesReservationGenericResourcesOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string DiscreteResourcesSpec() *[]*string SetDiscreteResourcesSpec(val *[]*string) DiscreteResourcesSpecInput() *[]*string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecResourcesReservationGenericResources SetInternalValue(val *ServiceTaskSpecResourcesReservationGenericResources) NamedResourcesSpec() *[]*string SetNamedResourcesSpec(val *[]*string) NamedResourcesSpecInput() *[]*string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDiscreteResourcesSpec() ResetNamedResourcesSpec() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecResourcesReservationGenericResourcesOutputReference ¶
func NewServiceTaskSpecResourcesReservationGenericResourcesOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecResourcesReservationGenericResourcesOutputReference
type ServiceTaskSpecResourcesReservationOutputReference ¶
type ServiceTaskSpecResourcesReservationOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string GenericResources() ServiceTaskSpecResourcesReservationGenericResourcesOutputReference GenericResourcesInput() *ServiceTaskSpecResourcesReservationGenericResources InternalValue() *ServiceTaskSpecResourcesReservation SetInternalValue(val *ServiceTaskSpecResourcesReservation) MemoryBytes() *float64 SetMemoryBytes(val *float64) MemoryBytesInput() *float64 NanoCpus() *float64 SetNanoCpus(val *float64) NanoCpusInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable PutGenericResources(value *ServiceTaskSpecResourcesReservationGenericResources) ResetGenericResources() ResetMemoryBytes() ResetNanoCpus() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecResourcesReservationOutputReference ¶
func NewServiceTaskSpecResourcesReservationOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecResourcesReservationOutputReference
type ServiceTaskSpecRestartPolicy ¶
type ServiceTaskSpecRestartPolicy struct { // Condition for restart. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#condition Service#condition} Condition *string `field:"optional" json:"condition" yaml:"condition"` // Delay between restart attempts (ms|s|m|h). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#delay Service#delay} Delay *string `field:"optional" json:"delay" yaml:"delay"` // Maximum attempts to restart a given container before giving up (default value is `0`, which is ignored). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#max_attempts Service#max_attempts} MaxAttempts *float64 `field:"optional" json:"maxAttempts" yaml:"maxAttempts"` // The time window used to evaluate the restart policy (default value is `0`, which is unbounded) (ms|s|m|h). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#window Service#window} Window *string `field:"optional" json:"window" yaml:"window"` }
type ServiceTaskSpecRestartPolicyOutputReference ¶
type ServiceTaskSpecRestartPolicyOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Condition() *string SetCondition(val *string) ConditionInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delay() *string SetDelay(val *string) DelayInput() *string // Experimental. Fqn() *string InternalValue() *ServiceTaskSpecRestartPolicy SetInternalValue(val *ServiceTaskSpecRestartPolicy) MaxAttempts() *float64 SetMaxAttempts(val *float64) MaxAttemptsInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Window() *string SetWindow(val *string) WindowInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCondition() ResetDelay() ResetMaxAttempts() ResetWindow() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceTaskSpecRestartPolicyOutputReference ¶
func NewServiceTaskSpecRestartPolicyOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceTaskSpecRestartPolicyOutputReference
type ServiceUpdateConfig ¶
type ServiceUpdateConfig struct { // Delay between task updates `(ns|us|ms|s|m|h)`. Defaults to `0s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#delay Service#delay} Delay *string `field:"optional" json:"delay" yaml:"delay"` // Action on update failure: `pause`, `continue` or `rollback`. Defaults to `pause`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#failure_action Service#failure_action} FailureAction *string `field:"optional" json:"failureAction" yaml:"failureAction"` // Failure rate to tolerate during an update. Defaults to `0.0`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#max_failure_ratio Service#max_failure_ratio} MaxFailureRatio *string `field:"optional" json:"maxFailureRatio" yaml:"maxFailureRatio"` // Duration after each task update to monitor for failure (ns|us|ms|s|m|h). Defaults to `5s`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#monitor Service#monitor} Monitor *string `field:"optional" json:"monitor" yaml:"monitor"` // Update order: either 'stop-first' or 'start-first'. Defaults to `stop-first`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#order Service#order} Order *string `field:"optional" json:"order" yaml:"order"` // Maximum number of tasks to be updated in one iteration. Defaults to `1`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/service#parallelism Service#parallelism} Parallelism *float64 `field:"optional" json:"parallelism" yaml:"parallelism"` }
type ServiceUpdateConfigOutputReference ¶
type ServiceUpdateConfigOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string Delay() *string SetDelay(val *string) DelayInput() *string FailureAction() *string SetFailureAction(val *string) FailureActionInput() *string // Experimental. Fqn() *string InternalValue() *ServiceUpdateConfig SetInternalValue(val *ServiceUpdateConfig) MaxFailureRatio() *string SetMaxFailureRatio(val *string) MaxFailureRatioInput() *string Monitor() *string SetMonitor(val *string) MonitorInput() *string Order() *string SetOrder(val *string) OrderInput() *string Parallelism() *float64 SetParallelism(val *float64) ParallelismInput() *float64 // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetDelay() ResetFailureAction() ResetMaxFailureRatio() ResetMonitor() ResetOrder() ResetParallelism() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewServiceUpdateConfigOutputReference ¶
func NewServiceUpdateConfigOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) ServiceUpdateConfigOutputReference
type Volume ¶
type Volume interface { cdktf.TerraformResource // Experimental. CdktfStack() cdktf.TerraformStack // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) Driver() *string SetDriver(val *string) DriverInput() *string DriverOpts() *map[string]*string SetDriverOpts(val *map[string]*string) DriverOptsInput() *map[string]*string // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string Id() *string SetId(val *string) IdInput() *string Labels() VolumeLabelsList LabelsInput() interface{} // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) Mountpoint() *string Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. RawOverrides() interface{} // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutLabels(value interface{}) ResetDriver() ResetDriverOpts() ResetId() ResetLabels() ResetName() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/docker/r/volume docker_volume}.
func NewVolume ¶
func NewVolume(scope constructs.Construct, id *string, config *VolumeConfig) Volume
Create a new {@link https://www.terraform.io/docs/providers/docker/r/volume docker_volume} Resource.
type VolumeConfig ¶
type VolumeConfig struct { // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Driver type for the volume. Defaults to `local`. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/volume#driver Volume#driver} Driver *string `field:"optional" json:"driver" yaml:"driver"` // Options specific to the driver. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/volume#driver_opts Volume#driver_opts} DriverOpts *map[string]*string `field:"optional" json:"driverOpts" yaml:"driverOpts"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/volume#id Volume#id}. // // Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. // If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. Id *string `field:"optional" json:"id" yaml:"id"` // labels block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/volume#labels Volume#labels} Labels interface{} `field:"optional" json:"labels" yaml:"labels"` // The name of the Docker volume (will be generated if not provided). // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/volume#name Volume#name} Name *string `field:"optional" json:"name" yaml:"name"` }
type VolumeLabels ¶
type VolumeLabels struct { // Name of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/volume#label Volume#label} Label *string `field:"required" json:"label" yaml:"label"` // Value of the label. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/docker/r/volume#value Volume#value} Value *string `field:"required" json:"value" yaml:"value"` }
type VolumeLabelsList ¶
type VolumeLabelsList interface { cdktf.ComplexList // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // The attribute on the parent resource this class is referencing. TerraformAttribute() *string SetTerraformAttribute(val *string) // The parent resource. TerraformResource() cdktf.IInterpolatingParent SetTerraformResource(val cdktf.IInterpolatingParent) // whether the list is wrapping a set (will add tolist() to be able to access an item via an index). WrapsSet() *bool SetWrapsSet(val *bool) // Experimental. ComputeFqn() *string Get(index *float64) VolumeLabelsOutputReference // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewVolumeLabelsList ¶
func NewVolumeLabelsList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) VolumeLabelsList
type VolumeLabelsOutputReference ¶
type VolumeLabelsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) Label() *string SetLabel(val *string) LabelInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Value() *string SetValue(val *string) ValueInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewVolumeLabelsOutputReference ¶
func NewVolumeLabelsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, complexObjectIndex *float64, complexObjectIsFromSet *bool) VolumeLabelsOutputReference