akamai.IamUser
Explore with Pulumi AI
Create IamUser Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IamUser(name: string, args: IamUserArgs, opts?: CustomResourceOptions);
@overload
def IamUser(resource_name: str,
args: IamUserArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IamUser(resource_name: str,
opts: Optional[ResourceOptions] = None,
enable_tfa: Optional[bool] = None,
auth_grants_json: Optional[str] = None,
last_name: Optional[str] = None,
first_name: Optional[str] = None,
country: Optional[str] = None,
email: Optional[str] = None,
job_title: Optional[str] = None,
contact_type: Optional[str] = None,
address: Optional[str] = None,
city: Optional[str] = None,
lock: Optional[bool] = None,
mobile_phone: Optional[str] = None,
phone: Optional[str] = None,
preferred_language: Optional[str] = None,
secondary_email: Optional[str] = None,
session_timeout: Optional[int] = None,
state: Optional[str] = None,
time_zone: Optional[str] = None,
zip_code: Optional[str] = None)
func NewIamUser(ctx *Context, name string, args IamUserArgs, opts ...ResourceOption) (*IamUser, error)
public IamUser(string name, IamUserArgs args, CustomResourceOptions? opts = null)
public IamUser(String name, IamUserArgs args)
public IamUser(String name, IamUserArgs args, CustomResourceOptions options)
type: akamai:IamUser
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 IamUserArgs
- 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 IamUserArgs
- 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 IamUserArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IamUserArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IamUserArgs
- 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 iamUserResource = new Akamai.IamUser("iamUserResource", new()
{
EnableTfa = false,
AuthGrantsJson = "string",
LastName = "string",
FirstName = "string",
Country = "string",
Email = "string",
JobTitle = "string",
ContactType = "string",
Address = "string",
City = "string",
Lock = false,
MobilePhone = "string",
Phone = "string",
PreferredLanguage = "string",
SecondaryEmail = "string",
SessionTimeout = 0,
State = "string",
TimeZone = "string",
ZipCode = "string",
});
example, err := akamai.NewIamUser(ctx, "iamUserResource", &akamai.IamUserArgs{
EnableTfa: pulumi.Bool(false),
AuthGrantsJson: pulumi.String("string"),
LastName: pulumi.String("string"),
FirstName: pulumi.String("string"),
Country: pulumi.String("string"),
Email: pulumi.String("string"),
JobTitle: pulumi.String("string"),
ContactType: pulumi.String("string"),
Address: pulumi.String("string"),
City: pulumi.String("string"),
Lock: pulumi.Bool(false),
MobilePhone: pulumi.String("string"),
Phone: pulumi.String("string"),
PreferredLanguage: pulumi.String("string"),
SecondaryEmail: pulumi.String("string"),
SessionTimeout: pulumi.Int(0),
State: pulumi.String("string"),
TimeZone: pulumi.String("string"),
ZipCode: pulumi.String("string"),
})
var iamUserResource = new IamUser("iamUserResource", IamUserArgs.builder()
.enableTfa(false)
.authGrantsJson("string")
.lastName("string")
.firstName("string")
.country("string")
.email("string")
.jobTitle("string")
.contactType("string")
.address("string")
.city("string")
.lock(false)
.mobilePhone("string")
.phone("string")
.preferredLanguage("string")
.secondaryEmail("string")
.sessionTimeout(0)
.state("string")
.timeZone("string")
.zipCode("string")
.build());
iam_user_resource = akamai.IamUser("iamUserResource",
enable_tfa=False,
auth_grants_json="string",
last_name="string",
first_name="string",
country="string",
email="string",
job_title="string",
contact_type="string",
address="string",
city="string",
lock=False,
mobile_phone="string",
phone="string",
preferred_language="string",
secondary_email="string",
session_timeout=0,
state="string",
time_zone="string",
zip_code="string")
const iamUserResource = new akamai.IamUser("iamUserResource", {
enableTfa: false,
authGrantsJson: "string",
lastName: "string",
firstName: "string",
country: "string",
email: "string",
jobTitle: "string",
contactType: "string",
address: "string",
city: "string",
lock: false,
mobilePhone: "string",
phone: "string",
preferredLanguage: "string",
secondaryEmail: "string",
sessionTimeout: 0,
state: "string",
timeZone: "string",
zipCode: "string",
});
type: akamai:IamUser
properties:
address: string
authGrantsJson: string
city: string
contactType: string
country: string
email: string
enableTfa: false
firstName: string
jobTitle: string
lastName: string
lock: false
mobilePhone: string
phone: string
preferredLanguage: string
secondaryEmail: string
sessionTimeout: 0
state: string
timeZone: string
zipCode: string
IamUser 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 IamUser resource accepts the following input properties:
- Auth
Grants stringJson - A user's per-group role assignments, in JSON form
- Country string
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- Email string
- The user's email address
- Enable
Tfa bool - Indicates whether two-factor authentication is allowed
- First
Name string - The user's first name
- Last
Name string - The user's surname
- Address string
- The user's street address
- City string
- The user's city
- Contact
Type string - To help characterize the user, the value can be any that are available from the view-contact-types operation
- Job
Title string - The user's position at your company
- Lock bool
- Flag to block a user account
- Mobile
Phone string - The user's mobile phone number
- Phone string
- The user's main phone number
- Preferred
Language string - The value can be any that are available from the view-languages operation
- Secondary
Email string - The user's secondary email address
- Session
Timeout int - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- State string
- The user's state
- Time
Zone string - The user's time zone. The value can be any that are available from the view-time-zones operation
- Zip
Code string - The user's five-digit ZIP code
- Auth
Grants stringJson - A user's per-group role assignments, in JSON form
- Country string
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- Email string
- The user's email address
- Enable
Tfa bool - Indicates whether two-factor authentication is allowed
- First
Name string - The user's first name
- Last
Name string - The user's surname
- Address string
- The user's street address
- City string
- The user's city
- Contact
Type string - To help characterize the user, the value can be any that are available from the view-contact-types operation
- Job
Title string - The user's position at your company
- Lock bool
- Flag to block a user account
- Mobile
Phone string - The user's mobile phone number
- Phone string
- The user's main phone number
- Preferred
Language string - The value can be any that are available from the view-languages operation
- Secondary
Email string - The user's secondary email address
- Session
Timeout int - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- State string
- The user's state
- Time
Zone string - The user's time zone. The value can be any that are available from the view-time-zones operation
- Zip
Code string - The user's five-digit ZIP code
- auth
Grants StringJson - A user's per-group role assignments, in JSON form
- country String
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- email String
- The user's email address
- enable
Tfa Boolean - Indicates whether two-factor authentication is allowed
- first
Name String - The user's first name
- last
Name String - The user's surname
- address String
- The user's street address
- city String
- The user's city
- contact
Type String - To help characterize the user, the value can be any that are available from the view-contact-types operation
- job
Title String - The user's position at your company
- lock Boolean
- Flag to block a user account
- mobile
Phone String - The user's mobile phone number
- phone String
- The user's main phone number
- preferred
Language String - The value can be any that are available from the view-languages operation
- secondary
Email String - The user's secondary email address
- session
Timeout Integer - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- state String
- The user's state
- time
Zone String - The user's time zone. The value can be any that are available from the view-time-zones operation
- zip
Code String - The user's five-digit ZIP code
- auth
Grants stringJson - A user's per-group role assignments, in JSON form
- country string
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- email string
- The user's email address
- enable
Tfa boolean - Indicates whether two-factor authentication is allowed
- first
Name string - The user's first name
- last
Name string - The user's surname
- address string
- The user's street address
- city string
- The user's city
- contact
Type string - To help characterize the user, the value can be any that are available from the view-contact-types operation
- job
Title string - The user's position at your company
- lock boolean
- Flag to block a user account
- mobile
Phone string - The user's mobile phone number
- phone string
- The user's main phone number
- preferred
Language string - The value can be any that are available from the view-languages operation
- secondary
Email string - The user's secondary email address
- session
Timeout number - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- state string
- The user's state
- time
Zone string - The user's time zone. The value can be any that are available from the view-time-zones operation
- zip
Code string - The user's five-digit ZIP code
- auth_
grants_ strjson - A user's per-group role assignments, in JSON form
- country str
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- email str
- The user's email address
- enable_
tfa bool - Indicates whether two-factor authentication is allowed
- first_
name str - The user's first name
- last_
name str - The user's surname
- address str
- The user's street address
- city str
- The user's city
- contact_
type str - To help characterize the user, the value can be any that are available from the view-contact-types operation
- job_
title str - The user's position at your company
- lock bool
- Flag to block a user account
- mobile_
phone str - The user's mobile phone number
- phone str
- The user's main phone number
- preferred_
language str - The value can be any that are available from the view-languages operation
- secondary_
email str - The user's secondary email address
- session_
timeout int - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- state str
- The user's state
- time_
zone str - The user's time zone. The value can be any that are available from the view-time-zones operation
- zip_
code str - The user's five-digit ZIP code
- auth
Grants StringJson - A user's per-group role assignments, in JSON form
- country String
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- email String
- The user's email address
- enable
Tfa Boolean - Indicates whether two-factor authentication is allowed
- first
Name String - The user's first name
- last
Name String - The user's surname
- address String
- The user's street address
- city String
- The user's city
- contact
Type String - To help characterize the user, the value can be any that are available from the view-contact-types operation
- job
Title String - The user's position at your company
- lock Boolean
- Flag to block a user account
- mobile
Phone String - The user's mobile phone number
- phone String
- The user's main phone number
- preferred
Language String - The value can be any that are available from the view-languages operation
- secondary
Email String - The user's secondary email address
- session
Timeout Number - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- state String
- The user's state
- time
Zone String - The user's time zone. The value can be any that are available from the view-time-zones operation
- zip
Code String - The user's five-digit ZIP code
Outputs
All input properties are implicitly available as output properties. Additionally, the IamUser resource produces the following output properties:
- Email
Update boolPending - Indicates whether email update is pending
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Login string - ISO 8601 timestamp indicating when the user last logged in
- Password
Expired stringAfter - The date a user's password expires
- Tfa
Configured bool - Indicates whether two-factor authentication is configured
- User
Name string - A user's
loginId
. Typically, a user's email address
- Email
Update boolPending - Indicates whether email update is pending
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Login string - ISO 8601 timestamp indicating when the user last logged in
- Password
Expired stringAfter - The date a user's password expires
- Tfa
Configured bool - Indicates whether two-factor authentication is configured
- User
Name string - A user's
loginId
. Typically, a user's email address
- email
Update BooleanPending - Indicates whether email update is pending
- id String
- The provider-assigned unique ID for this managed resource.
- last
Login String - ISO 8601 timestamp indicating when the user last logged in
- password
Expired StringAfter - The date a user's password expires
- tfa
Configured Boolean - Indicates whether two-factor authentication is configured
- user
Name String - A user's
loginId
. Typically, a user's email address
- email
Update booleanPending - Indicates whether email update is pending
- id string
- The provider-assigned unique ID for this managed resource.
- last
Login string - ISO 8601 timestamp indicating when the user last logged in
- password
Expired stringAfter - The date a user's password expires
- tfa
Configured boolean - Indicates whether two-factor authentication is configured
- user
Name string - A user's
loginId
. Typically, a user's email address
- email_
update_ boolpending - Indicates whether email update is pending
- id str
- The provider-assigned unique ID for this managed resource.
- last_
login str - ISO 8601 timestamp indicating when the user last logged in
- password_
expired_ strafter - The date a user's password expires
- tfa_
configured bool - Indicates whether two-factor authentication is configured
- user_
name str - A user's
loginId
. Typically, a user's email address
- email
Update BooleanPending - Indicates whether email update is pending
- id String
- The provider-assigned unique ID for this managed resource.
- last
Login String - ISO 8601 timestamp indicating when the user last logged in
- password
Expired StringAfter - The date a user's password expires
- tfa
Configured Boolean - Indicates whether two-factor authentication is configured
- user
Name String - A user's
loginId
. Typically, a user's email address
Look up Existing IamUser Resource
Get an existing IamUser 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?: IamUserState, opts?: CustomResourceOptions): IamUser
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address: Optional[str] = None,
auth_grants_json: Optional[str] = None,
city: Optional[str] = None,
contact_type: Optional[str] = None,
country: Optional[str] = None,
email: Optional[str] = None,
email_update_pending: Optional[bool] = None,
enable_tfa: Optional[bool] = None,
first_name: Optional[str] = None,
job_title: Optional[str] = None,
last_login: Optional[str] = None,
last_name: Optional[str] = None,
lock: Optional[bool] = None,
mobile_phone: Optional[str] = None,
password_expired_after: Optional[str] = None,
phone: Optional[str] = None,
preferred_language: Optional[str] = None,
secondary_email: Optional[str] = None,
session_timeout: Optional[int] = None,
state: Optional[str] = None,
tfa_configured: Optional[bool] = None,
time_zone: Optional[str] = None,
user_name: Optional[str] = None,
zip_code: Optional[str] = None) -> IamUser
func GetIamUser(ctx *Context, name string, id IDInput, state *IamUserState, opts ...ResourceOption) (*IamUser, error)
public static IamUser Get(string name, Input<string> id, IamUserState? state, CustomResourceOptions? opts = null)
public static IamUser get(String name, Output<String> id, IamUserState 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.
- Address string
- The user's street address
- Auth
Grants stringJson - A user's per-group role assignments, in JSON form
- City string
- The user's city
- Contact
Type string - To help characterize the user, the value can be any that are available from the view-contact-types operation
- Country string
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- Email string
- The user's email address
- Email
Update boolPending - Indicates whether email update is pending
- Enable
Tfa bool - Indicates whether two-factor authentication is allowed
- First
Name string - The user's first name
- Job
Title string - The user's position at your company
- Last
Login string - ISO 8601 timestamp indicating when the user last logged in
- Last
Name string - The user's surname
- Lock bool
- Flag to block a user account
- Mobile
Phone string - The user's mobile phone number
- Password
Expired stringAfter - The date a user's password expires
- Phone string
- The user's main phone number
- Preferred
Language string - The value can be any that are available from the view-languages operation
- Secondary
Email string - The user's secondary email address
- Session
Timeout int - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- State string
- The user's state
- Tfa
Configured bool - Indicates whether two-factor authentication is configured
- Time
Zone string - The user's time zone. The value can be any that are available from the view-time-zones operation
- User
Name string - A user's
loginId
. Typically, a user's email address - Zip
Code string - The user's five-digit ZIP code
- Address string
- The user's street address
- Auth
Grants stringJson - A user's per-group role assignments, in JSON form
- City string
- The user's city
- Contact
Type string - To help characterize the user, the value can be any that are available from the view-contact-types operation
- Country string
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- Email string
- The user's email address
- Email
Update boolPending - Indicates whether email update is pending
- Enable
Tfa bool - Indicates whether two-factor authentication is allowed
- First
Name string - The user's first name
- Job
Title string - The user's position at your company
- Last
Login string - ISO 8601 timestamp indicating when the user last logged in
- Last
Name string - The user's surname
- Lock bool
- Flag to block a user account
- Mobile
Phone string - The user's mobile phone number
- Password
Expired stringAfter - The date a user's password expires
- Phone string
- The user's main phone number
- Preferred
Language string - The value can be any that are available from the view-languages operation
- Secondary
Email string - The user's secondary email address
- Session
Timeout int - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- State string
- The user's state
- Tfa
Configured bool - Indicates whether two-factor authentication is configured
- Time
Zone string - The user's time zone. The value can be any that are available from the view-time-zones operation
- User
Name string - A user's
loginId
. Typically, a user's email address - Zip
Code string - The user's five-digit ZIP code
- address String
- The user's street address
- auth
Grants StringJson - A user's per-group role assignments, in JSON form
- city String
- The user's city
- contact
Type String - To help characterize the user, the value can be any that are available from the view-contact-types operation
- country String
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- email String
- The user's email address
- email
Update BooleanPending - Indicates whether email update is pending
- enable
Tfa Boolean - Indicates whether two-factor authentication is allowed
- first
Name String - The user's first name
- job
Title String - The user's position at your company
- last
Login String - ISO 8601 timestamp indicating when the user last logged in
- last
Name String - The user's surname
- lock Boolean
- Flag to block a user account
- mobile
Phone String - The user's mobile phone number
- password
Expired StringAfter - The date a user's password expires
- phone String
- The user's main phone number
- preferred
Language String - The value can be any that are available from the view-languages operation
- secondary
Email String - The user's secondary email address
- session
Timeout Integer - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- state String
- The user's state
- tfa
Configured Boolean - Indicates whether two-factor authentication is configured
- time
Zone String - The user's time zone. The value can be any that are available from the view-time-zones operation
- user
Name String - A user's
loginId
. Typically, a user's email address - zip
Code String - The user's five-digit ZIP code
- address string
- The user's street address
- auth
Grants stringJson - A user's per-group role assignments, in JSON form
- city string
- The user's city
- contact
Type string - To help characterize the user, the value can be any that are available from the view-contact-types operation
- country string
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- email string
- The user's email address
- email
Update booleanPending - Indicates whether email update is pending
- enable
Tfa boolean - Indicates whether two-factor authentication is allowed
- first
Name string - The user's first name
- job
Title string - The user's position at your company
- last
Login string - ISO 8601 timestamp indicating when the user last logged in
- last
Name string - The user's surname
- lock boolean
- Flag to block a user account
- mobile
Phone string - The user's mobile phone number
- password
Expired stringAfter - The date a user's password expires
- phone string
- The user's main phone number
- preferred
Language string - The value can be any that are available from the view-languages operation
- secondary
Email string - The user's secondary email address
- session
Timeout number - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- state string
- The user's state
- tfa
Configured boolean - Indicates whether two-factor authentication is configured
- time
Zone string - The user's time zone. The value can be any that are available from the view-time-zones operation
- user
Name string - A user's
loginId
. Typically, a user's email address - zip
Code string - The user's five-digit ZIP code
- address str
- The user's street address
- auth_
grants_ strjson - A user's per-group role assignments, in JSON form
- city str
- The user's city
- contact_
type str - To help characterize the user, the value can be any that are available from the view-contact-types operation
- country str
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- email str
- The user's email address
- email_
update_ boolpending - Indicates whether email update is pending
- enable_
tfa bool - Indicates whether two-factor authentication is allowed
- first_
name str - The user's first name
- job_
title str - The user's position at your company
- last_
login str - ISO 8601 timestamp indicating when the user last logged in
- last_
name str - The user's surname
- lock bool
- Flag to block a user account
- mobile_
phone str - The user's mobile phone number
- password_
expired_ strafter - The date a user's password expires
- phone str
- The user's main phone number
- preferred_
language str - The value can be any that are available from the view-languages operation
- secondary_
email str - The user's secondary email address
- session_
timeout int - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- state str
- The user's state
- tfa_
configured bool - Indicates whether two-factor authentication is configured
- time_
zone str - The user's time zone. The value can be any that are available from the view-time-zones operation
- user_
name str - A user's
loginId
. Typically, a user's email address - zip_
code str - The user's five-digit ZIP code
- address String
- The user's street address
- auth
Grants StringJson - A user's per-group role assignments, in JSON form
- city String
- The user's city
- contact
Type String - To help characterize the user, the value can be any that are available from the view-contact-types operation
- country String
- As part of the user's location, the value can be any that are available from the view-supported-countries operation
- email String
- The user's email address
- email
Update BooleanPending - Indicates whether email update is pending
- enable
Tfa Boolean - Indicates whether two-factor authentication is allowed
- first
Name String - The user's first name
- job
Title String - The user's position at your company
- last
Login String - ISO 8601 timestamp indicating when the user last logged in
- last
Name String - The user's surname
- lock Boolean
- Flag to block a user account
- mobile
Phone String - The user's mobile phone number
- password
Expired StringAfter - The date a user's password expires
- phone String
- The user's main phone number
- preferred
Language String - The value can be any that are available from the view-languages operation
- secondary
Email String - The user's secondary email address
- session
Timeout Number - The number of seconds it takes for the user's Control Center session to time out if there hasn't been any activity
- state String
- The user's state
- tfa
Configured Boolean - Indicates whether two-factor authentication is configured
- time
Zone String - The user's time zone. The value can be any that are available from the view-time-zones operation
- user
Name String - A user's
loginId
. Typically, a user's email address - zip
Code String - The user's five-digit ZIP code
Package Details
- Repository
- Akamai pulumi/pulumi-akamai
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
akamai
Terraform Provider.