ACME v0.1.1 published on Thursday, Jun 20, 2024 by Pulumiverse
acme.Registration
Explore with Pulumi AI
Create Registration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Registration(name: string, args: RegistrationArgs, opts?: CustomResourceOptions);
@overload
def Registration(resource_name: str,
args: RegistrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Registration(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_key_pem: Optional[str] = None,
email_address: Optional[str] = None,
external_account_binding: Optional[RegistrationExternalAccountBindingArgs] = None)
func NewRegistration(ctx *Context, name string, args RegistrationArgs, opts ...ResourceOption) (*Registration, error)
public Registration(string name, RegistrationArgs args, CustomResourceOptions? opts = null)
public Registration(String name, RegistrationArgs args)
public Registration(String name, RegistrationArgs args, CustomResourceOptions options)
type: acme:Registration
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 RegistrationArgs
- 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 RegistrationArgs
- 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 RegistrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegistrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegistrationArgs
- 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 registrationResource = new Acme.Registration("registrationResource", new()
{
AccountKeyPem = "string",
EmailAddress = "string",
ExternalAccountBinding = new Acme.Inputs.RegistrationExternalAccountBindingArgs
{
HmacBase64 = "string",
KeyId = "string",
},
});
example, err := acme.NewRegistration(ctx, "registrationResource", &acme.RegistrationArgs{
AccountKeyPem: pulumi.String("string"),
EmailAddress: pulumi.String("string"),
ExternalAccountBinding: &acme.RegistrationExternalAccountBindingArgs{
HmacBase64: pulumi.String("string"),
KeyId: pulumi.String("string"),
},
})
var registrationResource = new Registration("registrationResource", RegistrationArgs.builder()
.accountKeyPem("string")
.emailAddress("string")
.externalAccountBinding(RegistrationExternalAccountBindingArgs.builder()
.hmacBase64("string")
.keyId("string")
.build())
.build());
registration_resource = acme.Registration("registrationResource",
account_key_pem="string",
email_address="string",
external_account_binding=acme.RegistrationExternalAccountBindingArgs(
hmac_base64="string",
key_id="string",
))
const registrationResource = new acme.Registration("registrationResource", {
accountKeyPem: "string",
emailAddress: "string",
externalAccountBinding: {
hmacBase64: "string",
keyId: "string",
},
});
type: acme:Registration
properties:
accountKeyPem: string
emailAddress: string
externalAccountBinding:
hmacBase64: string
keyId: string
Registration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Registration resource accepts the following input properties:
- account
Key StringPem - email
Address String - external
Account Property MapBinding
Outputs
All input properties are implicitly available as output properties. Additionally, the Registration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Registration
Url string
- Id string
- The provider-assigned unique ID for this managed resource.
- Registration
Url string
- id String
- The provider-assigned unique ID for this managed resource.
- registration
Url String
- id string
- The provider-assigned unique ID for this managed resource.
- registration
Url string
- id str
- The provider-assigned unique ID for this managed resource.
- registration_
url str
- id String
- The provider-assigned unique ID for this managed resource.
- registration
Url String
Look up Existing Registration Resource
Get an existing Registration 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?: RegistrationState, opts?: CustomResourceOptions): Registration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_key_pem: Optional[str] = None,
email_address: Optional[str] = None,
external_account_binding: Optional[RegistrationExternalAccountBindingArgs] = None,
registration_url: Optional[str] = None) -> Registration
func GetRegistration(ctx *Context, name string, id IDInput, state *RegistrationState, opts ...ResourceOption) (*Registration, error)
public static Registration Get(string name, Input<string> id, RegistrationState? state, CustomResourceOptions? opts = null)
public static Registration get(String name, Output<String> id, RegistrationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- account
Key StringPem - email
Address String - external
Account Property MapBinding - registration
Url String
Supporting Types
RegistrationExternalAccountBinding, RegistrationExternalAccountBindingArgs
- Hmac
Base64 string - Key
Id string
- Hmac
Base64 string - Key
Id string
- hmac
Base64 String - key
Id String
- hmac
Base64 string - key
Id string
- hmac_
base64 str - key_
id str
- hmac
Base64 String - key
Id String
Package Details
- Repository
- acme pulumiverse/pulumi-acme
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
acme
Terraform Provider.