1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. AccessMutualTlsHostnameSettings
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi

cloudflare.AccessMutualTlsHostnameSettings

Explore with Pulumi AI

cloudflare logo
Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
    Deprecated: cloudflare.index/accessmutualtlshostnamesettings.AccessMutualTlsHostnameSettings has been deprecated in favor of cloudflare.index/zerotrustaccessmtlshostnamesettings.ZeroTrustAccessMtlsHostnameSettings

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      exampleZeroTrustAccessMtlsHostnameSettings:
        type: cloudflare:ZeroTrustAccessMtlsHostnameSettings
        name: example_zero_trust_access_mtls_hostname_settings
        properties:
          settings:
            - china_network: false
              client_certificate_forwarding: true
              hostname: admin.example.com
          zoneId: zone_id
    

    Create AccessMutualTlsHostnameSettings Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AccessMutualTlsHostnameSettings(name: string, args: AccessMutualTlsHostnameSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def AccessMutualTlsHostnameSettings(resource_name: str,
                                        args: AccessMutualTlsHostnameSettingsArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccessMutualTlsHostnameSettings(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        account_id: Optional[str] = None,
                                        settings: Optional[Sequence[AccessMutualTlsHostnameSettingsSettingArgs]] = None,
                                        zone_id: Optional[str] = None)
    func NewAccessMutualTlsHostnameSettings(ctx *Context, name string, args AccessMutualTlsHostnameSettingsArgs, opts ...ResourceOption) (*AccessMutualTlsHostnameSettings, error)
    public AccessMutualTlsHostnameSettings(string name, AccessMutualTlsHostnameSettingsArgs args, CustomResourceOptions? opts = null)
    public AccessMutualTlsHostnameSettings(String name, AccessMutualTlsHostnameSettingsArgs args)
    public AccessMutualTlsHostnameSettings(String name, AccessMutualTlsHostnameSettingsArgs args, CustomResourceOptions options)
    
    type: cloudflare:AccessMutualTlsHostnameSettings
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AccessMutualTlsHostnameSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AccessMutualTlsHostnameSettingsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AccessMutualTlsHostnameSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccessMutualTlsHostnameSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccessMutualTlsHostnameSettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AccessMutualTlsHostnameSettings Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AccessMutualTlsHostnameSettings resource accepts the following input properties:

    Settings List<AccessMutualTlsHostnameSettingsSetting>
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    Settings []AccessMutualTlsHostnameSettingsSettingArgs
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    settings List<AccessMutualTlsHostnameSettingsSetting>
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    settings AccessMutualTlsHostnameSettingsSetting[]
    accountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    zoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    settings Sequence[AccessMutualTlsHostnameSettingsSettingArgs]
    account_id str
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    zone_id str
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    settings List<Property Map>
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AccessMutualTlsHostnameSettings resource produces the following output properties:

    ChinaNetwork bool
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    ClientCertificateForwarding bool
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    Hostname string
    The hostname that these settings apply to.
    Id string
    The provider-assigned unique ID for this managed resource.
    ChinaNetwork bool
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    ClientCertificateForwarding bool
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    Hostname string
    The hostname that these settings apply to.
    Id string
    The provider-assigned unique ID for this managed resource.
    chinaNetwork Boolean
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    clientCertificateForwarding Boolean
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname String
    The hostname that these settings apply to.
    id String
    The provider-assigned unique ID for this managed resource.
    chinaNetwork boolean
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    clientCertificateForwarding boolean
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname string
    The hostname that these settings apply to.
    id string
    The provider-assigned unique ID for this managed resource.
    china_network bool
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    client_certificate_forwarding bool
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname str
    The hostname that these settings apply to.
    id str
    The provider-assigned unique ID for this managed resource.
    chinaNetwork Boolean
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    clientCertificateForwarding Boolean
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname String
    The hostname that these settings apply to.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AccessMutualTlsHostnameSettings Resource

    Get an existing AccessMutualTlsHostnameSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AccessMutualTlsHostnameSettingsState, opts?: CustomResourceOptions): AccessMutualTlsHostnameSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[str] = None,
            china_network: Optional[bool] = None,
            client_certificate_forwarding: Optional[bool] = None,
            hostname: Optional[str] = None,
            settings: Optional[Sequence[AccessMutualTlsHostnameSettingsSettingArgs]] = None,
            zone_id: Optional[str] = None) -> AccessMutualTlsHostnameSettings
    func GetAccessMutualTlsHostnameSettings(ctx *Context, name string, id IDInput, state *AccessMutualTlsHostnameSettingsState, opts ...ResourceOption) (*AccessMutualTlsHostnameSettings, error)
    public static AccessMutualTlsHostnameSettings Get(string name, Input<string> id, AccessMutualTlsHostnameSettingsState? state, CustomResourceOptions? opts = null)
    public static AccessMutualTlsHostnameSettings get(String name, Output<String> id, AccessMutualTlsHostnameSettingsState state, CustomResourceOptions options)
    resources:  _:    type: cloudflare:AccessMutualTlsHostnameSettings    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    ChinaNetwork bool
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    ClientCertificateForwarding bool
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    Hostname string
    The hostname that these settings apply to.
    Settings List<AccessMutualTlsHostnameSettingsSetting>
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    AccountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    ChinaNetwork bool
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    ClientCertificateForwarding bool
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    Hostname string
    The hostname that these settings apply to.
    Settings []AccessMutualTlsHostnameSettingsSettingArgs
    ZoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    chinaNetwork Boolean
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    clientCertificateForwarding Boolean
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname String
    The hostname that these settings apply to.
    settings List<AccessMutualTlsHostnameSettingsSetting>
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    accountId string
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    chinaNetwork boolean
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    clientCertificateForwarding boolean
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname string
    The hostname that these settings apply to.
    settings AccessMutualTlsHostnameSettingsSetting[]
    zoneId string
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    account_id str
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    china_network bool
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    client_certificate_forwarding bool
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname str
    The hostname that these settings apply to.
    settings Sequence[AccessMutualTlsHostnameSettingsSettingArgs]
    zone_id str
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
    accountId String
    The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
    chinaNetwork Boolean
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    clientCertificateForwarding Boolean
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname String
    The hostname that these settings apply to.
    settings List<Property Map>
    zoneId String
    The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

    Supporting Types

    AccessMutualTlsHostnameSettingsSetting, AccessMutualTlsHostnameSettingsSettingArgs

    ChinaNetwork bool
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    ClientCertificateForwarding bool
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    Hostname string
    The hostname that these settings apply to.
    ChinaNetwork bool
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    ClientCertificateForwarding bool
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    Hostname string
    The hostname that these settings apply to.
    chinaNetwork Boolean
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    clientCertificateForwarding Boolean
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname String
    The hostname that these settings apply to.
    chinaNetwork boolean
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    clientCertificateForwarding boolean
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname string
    The hostname that these settings apply to.
    china_network bool
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    client_certificate_forwarding bool
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname str
    The hostname that these settings apply to.
    chinaNetwork Boolean
    Request client certificates for this hostname in China. Can only be set to true if this zone is china network enabled.
    clientCertificateForwarding Boolean
    Client Certificate Forwarding is a feature that takes the client cert provided by the eyeball to the edge, and forwards it to the origin as a HTTP header to allow logging on the origin.
    hostname String
    The hostname that these settings apply to.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi