1. Registry
  2. Packages
  3. Stripe Provider
  4. API Docs
  5. ApplePayDomain
Viewing docs for Stripe 0.3.0
published on Friday, Aug 14, 2026 by Pulumi
Viewing docs for Stripe 0.3.0
published on Friday, Aug 14, 2026 by Pulumi

    Create ApplePayDomain Resource

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

    Constructor syntax

    new ApplePayDomain(name: string, args: ApplePayDomainArgs, opts?: CustomResourceOptions);
    @overload
    def ApplePayDomain(resource_name: str,
                       args: ApplePayDomainArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplePayDomain(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       domain_name: Optional[str] = None)
    func NewApplePayDomain(ctx *Context, name string, args ApplePayDomainArgs, opts ...ResourceOption) (*ApplePayDomain, error)
    public ApplePayDomain(string name, ApplePayDomainArgs args, CustomResourceOptions? opts = null)
    public ApplePayDomain(String name, ApplePayDomainArgs args)
    public ApplePayDomain(String name, ApplePayDomainArgs args, CustomResourceOptions options)
    
    type: stripe:ApplePayDomain
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "stripe_apple_pay_domain" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ApplePayDomainArgs
    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 ApplePayDomainArgs
    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 ApplePayDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplePayDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplePayDomainArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var applePayDomainResource = new Stripe.ApplePayDomain("applePayDomainResource", new()
    {
        DomainName = "string",
    });
    
    example, err := stripe.NewApplePayDomain(ctx, "applePayDomainResource", &stripe.ApplePayDomainArgs{
    	DomainName: pulumi.String("string"),
    })
    
    resource "stripe_apple_pay_domain" "applePayDomainResource" {
      lifecycle {
        create_before_destroy = true
      }
      domain_name = "string"
    }
    
    var applePayDomainResource = new ApplePayDomain("applePayDomainResource", ApplePayDomainArgs.builder()
        .domainName("string")
        .build());
    
    apple_pay_domain_resource = stripe.ApplePayDomain("applePayDomainResource", domain_name="string")
    
    const applePayDomainResource = new stripe.ApplePayDomain("applePayDomainResource", {domainName: "string"});
    
    type: stripe:ApplePayDomain
    properties:
        domainName: string
    

    ApplePayDomain 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 ApplePayDomain resource accepts the following input properties:

    DomainName string
    DomainName string
    domainName String
    domainName string
    domainName String

    Outputs

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

    Created double
    Time at which the object was created. Measured in seconds since the Unix epoch.
    Id string
    The provider-assigned unique ID for this managed resource.
    Livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    Object string
    String representing the object's type. Objects of the same type share the same value.
    Created float64
    Time at which the object was created. Measured in seconds since the Unix epoch.
    Id string
    The provider-assigned unique ID for this managed resource.
    Livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    Object string
    String representing the object's type. Objects of the same type share the same value.
    created number
    Time at which the object was created. Measured in seconds since the Unix epoch.
    id string
    The provider-assigned unique ID for this managed resource.
    livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object string
    String representing the object's type. Objects of the same type share the same value.
    created Double
    Time at which the object was created. Measured in seconds since the Unix epoch.
    id String
    The provider-assigned unique ID for this managed resource.
    livemode Boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object String
    String representing the object's type. Objects of the same type share the same value.
    created number
    Time at which the object was created. Measured in seconds since the Unix epoch.
    id string
    The provider-assigned unique ID for this managed resource.
    livemode boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object string
    String representing the object's type. Objects of the same type share the same value.
    created float
    Time at which the object was created. Measured in seconds since the Unix epoch.
    id str
    The provider-assigned unique ID for this managed resource.
    livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object str
    String representing the object's type. Objects of the same type share the same value.
    created Number
    Time at which the object was created. Measured in seconds since the Unix epoch.
    id String
    The provider-assigned unique ID for this managed resource.
    livemode Boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object String
    String representing the object's type. Objects of the same type share the same value.

    Look up Existing ApplePayDomain Resource

    Get an existing ApplePayDomain 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?: ApplePayDomainState, opts?: CustomResourceOptions): ApplePayDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            created: Optional[float] = None,
            domain_name: Optional[str] = None,
            livemode: Optional[bool] = None,
            object: Optional[str] = None) -> ApplePayDomain
    func GetApplePayDomain(ctx *Context, name string, id IDInput, state *ApplePayDomainState, opts ...ResourceOption) (*ApplePayDomain, error)
    public static ApplePayDomain Get(string name, Input<string> id, ApplePayDomainState? state, CustomResourceOptions? opts = null)
    public static ApplePayDomain get(String name, Output<String> id, ApplePayDomainState state, CustomResourceOptions options)
    resources:  _:    type: stripe:ApplePayDomain    get:      id: ${id}
    import {
      to = stripe_apple_pay_domain.example
      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:
    Created double
    Time at which the object was created. Measured in seconds since the Unix epoch.
    DomainName string
    Livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    Object string
    String representing the object's type. Objects of the same type share the same value.
    Created float64
    Time at which the object was created. Measured in seconds since the Unix epoch.
    DomainName string
    Livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    Object string
    String representing the object's type. Objects of the same type share the same value.
    created number
    Time at which the object was created. Measured in seconds since the Unix epoch.
    domain_name string
    livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object string
    String representing the object's type. Objects of the same type share the same value.
    created Double
    Time at which the object was created. Measured in seconds since the Unix epoch.
    domainName String
    livemode Boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object String
    String representing the object's type. Objects of the same type share the same value.
    created number
    Time at which the object was created. Measured in seconds since the Unix epoch.
    domainName string
    livemode boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object string
    String representing the object's type. Objects of the same type share the same value.
    created float
    Time at which the object was created. Measured in seconds since the Unix epoch.
    domain_name str
    livemode bool
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object str
    String representing the object's type. Objects of the same type share the same value.
    created Number
    Time at which the object was created. Measured in seconds since the Unix epoch.
    domainName String
    livemode Boolean
    If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.
    object String
    String representing the object's type. Objects of the same type share the same value.

    Package Details

    Repository
    stripe stripe/terraform-provider-stripe
    License
    Notes
    This Pulumi package is based on the stripe Terraform Provider.
    Viewing docs for Stripe 0.3.0
    published on Friday, Aug 14, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial