Hello,
for the first two you can combine it in the rewrite module. You can setup there any redirect code you want for example 301
This is my quick working example
<rewrite>
<rules>
<rule name="CanonicalHostNameRule">
<match url="(.*)"/>
<conditions>
<add input="{HTTP_HOST}" pattern="^www\.yoursitedomain\.pl$" negate="true"/>
</conditions>
<action type="Redirect" url="https://www.yoursitedomainpl/{R:1}"/>
</rule>
<rule name="Redirect to HTTPS" stopProcessing="true">
<match url="(.*)"/>
<conditions>
<add input="{HTTPS}" pattern="^OFF$"/>
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther"/>
</rule>
</rules>
</rewrite>